Case Converter
Convert text between camelCase, snake_case, Title Case and more.
This tool needs JavaScript enabled to run in your browser.
What this tool does
This tool rewrites text in a different case: upper, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE. Pick a target and the result updates as you type.
How it splits words
For the programming cases it breaks the input into words on spaces, punctuation and camelCase boundaries, so helloWorld, hello world and hello-world all convert to the same snake or kebab form. Title and Sentence case keep your spacing and only change which letters are capitalised.
Common use cases
- Turning a label into a variable, constant or CSS class name.
- Renaming identifiers to match a project's convention.
- Tidying a heading into Title or Sentence case.
Frequently asked questions
- Which cases are supported?
- UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
- Does it understand camelCase input?
- Yes. It splits on camelCase boundaries as well as spaces and punctuation, so helloWorld converts cleanly to hello_world and back.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.