What it does
Converts text between the most common casing styles used in programming and writing: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPERCASE, and lowercase.
Try it
How it works
- The input is first split into individual "words" by detecting word boundaries: spaces, hyphens, underscores, and camelCase/PascalCase transitions (lowercase-to-uppercase boundaries).
- Each target case then re-joins those words with its own rule:
- camelCase: first word lowercase, rest capitalized, no separator.
- PascalCase: every word capitalized, no separator.
- snake_case: words lowercased, joined with
_. - kebab-case: words lowercased, joined with
-. - CONSTANT_CASE: words uppercased, joined with
_. - Title Case: every word capitalized, joined with a space.
- Sentence case: only the first word capitalized, joined with a space.
- UPPERCASE / lowercase: the whole original text, case-flattened.
Everything runs locally in your browser, updating live as you type.