Case converter
Transform the case of a string and choose between different formats
About Case converter
Shows a piece of text in every common naming convention at once: lowercase, UPPERCASE, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case (param case), dot.case, path/case, Header-Case, Sentence case, Capital Case, no case and mOcKiNg cAsE.
When you would use it
- Renaming an identifier when moving between languages or layers, for example a JSON field (snake_case) to a JavaScript property (camelCase) to a CSS class (kebab-case).
- Producing a constant name (CONSTANT_CASE) or a file path (path/case) from a human-readable label.
- Normalising inconsistent titles or labels to one style.
How to use it
- Type or paste the text in the input field.
- Every conversion appears below, each with its own copy button.
- Copy the variant you need.
Things worth knowing
- Words are detected from spaces, punctuation and case changes, so helloWorld, hello_world and Hello World all split into the same two words. Digits are treated as separators and dropped (v2 becomes v).
- Lowercase and uppercase keep the text as is and only change the letters; all other variants rebuild the text from the detected words, removing punctuation.
- Accented Latin letters (é, ö, ñ) are kept as word characters; other scripts such as Chinese or Japanese are not split into words and may be removed by the word-based variants.
- Mocking case alternates upper and lower case letter by letter, including spaces in the count, so the pattern restarts after each space.
Frequently asked questions
- What is the difference between camelCase and PascalCase?
- Both join words without separators and capitalise each word; camelCase keeps the first letter lowercase (userName), PascalCase capitalises it too (UserName). JavaScript uses camelCase for variables and PascalCase for classes.
- Why did the numbers disappear from my text?
- The word splitter treats digits as separators, so item2name becomes item name. Add the numbers back by hand when they are part of the identifier.