Every case, explained
- UPPERCASE / lowercase – all capitals or all small letters.
- Title Case – the first letter of every word capitalised; common for headings and titles.
- Sentence case – only the first letter of each sentence capitalised, like normal prose.
- camelCase – words joined, first word lowercase, the rest capitalised (
myVariableName). Common for JavaScript variables. - PascalCase – like camelCase but every word capitalised (
MyClassName). Common for classes and components. - snake_case – lowercase words joined by underscores (
my_variable). Common in Python and databases. - kebab-case – lowercase words joined by hyphens (
my-file-name). Common for URLs, CSS classes and file names. - CONSTANT_CASE – uppercase words joined by underscores (
MAX_COUNT). Common for constants. - aLtErNaTiNg – alternating upper/lower letters, mostly for fun.
When to use which
Programmers reach for a case converter constantly: renaming variables between languages, turning a heading into a URL slug, or normalising imported data. Writers use Title Case and Sentence case for headlines and copy. Instead of retyping, paste the text, pick a case, and copy the result.
How it works
For programming cases the tool first splits your text into words – even across existing camelCase boundaries, hyphens and underscores – then re-joins them in the chosen style. Everything runs locally in your browser; your text is never uploaded. Need placeholder text to experiment with? Generate some with the Lorem Ipsum generator.
FAQ
camelCase vs PascalCase vs snake_case?
camelCase: myVariableName. PascalCase: MyVariableName. snake_case: my_variable_name. All join words without spaces; they differ in capitalisation and separator.
Title Case or Sentence case?
Title Case capitalises every word (for headings). Sentence case capitalises only the first letter of each sentence (for normal text).
Is my text private?
Yes – conversion happens entirely in your browser. Nothing is sent to a server.