LocalFirstTools.com — data tools that never leave your device
No upload — everything runs on your device

Case Converter

camelCase, snake_case, kebab-case, PascalCase and more. Nothing is uploaded.

The Case Converter splits words at case humps, spaces, hyphens and underscores and renders five conventions at once — camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE — live as you type.

camelCase
formatJsonLocally
PascalCase
FormatJsonLocally
snake_case
format_json_locally
kebab-case
format-json-locally
CONSTANT_CASE
FORMAT_JSON_LOCALLY

What does the Case Converter do?

Case conversion rewrites identifiers between styles used in JavaScript, Python, CSS and constants. Useful when renaming a field across languages.

How does the Case Converter work?

The input is split on spaces, dashes, underscores and camel humps, then rejoined in the target convention. All of that is string processing in this tab.

Does this upload my text?

No. This page never sends your input to a server — formatting, decoding and hashing all run in this tab, on this device.How that works.

Frequently asked questions

Will it preserve acronyms?

Simple conversions treat letters uniformly. HTTPResponse may become http_response, which is usually what you want in snake_case.

Does it change meaning?

No. Only separators and capitalization change.

Can I convert a whole file?

Paste a phrase or identifier. This is not a source-code refactor tool.

Is text uploaded?

No.

Related tools

Browse alltext toolsor thefull tool directory.