Case Converter
Convert text between camelCase, snake_case, kebab-case and more.
Words are detected from spaces, camelCase, snake_case, kebab-case and dots.
About Case Converter
The Case Converter transforms any text between the naming conventions that show up constantly in testing and development: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and more — all at once, from a single input.
It is a small tool that saves a surprising amount of tedium: converting API field names between backend and frontend conventions, generating test identifiers, or normalizing a spreadsheet of labels into code-friendly keys. Type once, copy the variant you need.
How to use
- Type or paste your text into the "Text" box.
- All case variants are generated instantly — no button to press.
- Copy whichever variant you need; "Load sample" shows how a mixed-style phrase is split into words.
Frequently asked questions
How does it decide where words begin?
It splits on spaces, underscores, hyphens and lowercase-to-uppercase transitions, so "helper_function name" and "helperFunctionName" both break into the same three words before re-casing.
Which case should I use for JSON API fields?
Convention varies by stack: JavaScript APIs typically use camelCase, Python and Ruby lean toward snake_case, and URLs prefer kebab-case. The converter gives you all of them so you can match the contract you are testing.
Does it handle acronyms like "API" or "URL"?
Acronyms are treated as words and re-cased with the rest of the text (for example api_url in snake_case). Check the output if your team has special acronym rules.
