Case Converter

Type an identifier or phrase to see camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE at once, live as you type. The converter splits on spaces, hyphens, underscores and camelCase humps. All-caps acronym runs such as APIKey are not split without a separator. Use it when renaming a field across JavaScript, Python, CSS or SQL. Everything runs in this tab.

camelCase

formatJsonLocally

PascalCase

FormatJsonLocally

snake_case

format_json_locally

kebab-case

format-json-locally

CONSTANT_CASE

FORMAT_JSON_LOCALLY

Converted as you typeNothing leaves this tab

Runs in this tab · nothing is uploaded · Verify in 10 seconds →

What the Case Converter does

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

How the Case Converter works

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.

~/faq

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.