Case Converter
Switch text between any case in one click.
Which case should you use?
- UPPERCASE / lowercase — for emphasis, or to normalise messy text.
- Title Case — headlines and titles: capitalise each word.
- Sentence case — normal prose: capitalise the first letter of each sentence.
- camelCase and snake_case and kebab-case — naming variables, files and URLs in code.
Everything runs in your browser. Need to measure the result? Try the word counter.
The cases, and where each belongs
| Case | Example | Used for |
|---|---|---|
| Sentence case | The quick brown fox | Body text, most modern UI headings |
| Title Case | The Quick Brown Fox | Headlines, book and article titles |
| UPPERCASE | THE QUICK BROWN FOX | Short labels only; slows reading in bulk |
| lowercase | the quick brown fox | Tags, slugs, some brand styling |
| camelCase | theQuickBrownFox | JavaScript and Java variables |
| PascalCase | TheQuickBrownFox | Class and component names |
| snake_case | the_quick_brown_fox | Python, Ruby, SQL columns |
| kebab-case | the-quick-brown-fox | URLs, CSS classes, file names |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Constants and environment variables |
Title case is not just capitalising everything
Every style guide agrees on the principle — capitalise the important words — and disagrees on the details. The common core: capitalise the first and last word, all nouns, pronouns, verbs, adjectives and adverbs; leave articles (a, an, the), coordinating conjunctions (and, but, or) and short prepositions in lower case. AP style lowercases prepositions of three letters or fewer; Chicago lowercases prepositions of any length unless they are used adverbially. Both capitalise the word after a colon.
AP: A Guide to the Art of Letting Go
Chicago: A Guide to the Art of Letting Go
Both: What to Look For — but never “What To Look For”
Why programming has so many conventions
Identifiers cannot contain spaces, so each language community settled on a way to mark word boundaries. The choice is arbitrary, but consistency within a codebase is not: mixed conventions break auto-complete habits, make search unreliable and produce bugs in languages where userID and userId are different names. Follow the host language’s convention rather than your personal preference.
Accessibility note on all caps
Long runs of capitals remove the ascenders and descenders that let readers recognise word shapes, measurably slowing reading and hitting dyslexic readers hardest. Screen readers may also spell out longer capitalised strings letter by letter. If you want the visual weight of capitals, write in sentence case and apply text-transform: uppercase in CSS — the underlying text stays readable to assistive technology.
Case converter FAQ
What is Title Case?
What is camelCase and snake_case?
Which case should I use for URLs?
Is all caps harder to read?
Do AP and Chicago style disagree on title case?
Is my text sent anywhere when I convert it?
Recently used