How to use the Case Converter
- Type or paste your text.
- Every case style is shown below, updated as you type.
- Press Copy next to the style you want.
How it works
Title case follows AP style: the first and last words are capitalised, and short articles, conjunctions, and prepositions (a, an, the, and, but, for, in, of, on, to, and similar) stay lowercase elsewhere.
Sentence case lowercases everything, then capitalises the first letter of each sentence. Programming styles remove punctuation and spaces and join the words: camelCase starts lowercase, PascalCase starts uppercase, snake_case joins with underscores, and kebab-case joins with hyphens.
Worked example: the same phrase in each style
Starting from "the quick brown fox jumps over the lazy dog":
| Style | Result |
|---|---|
| Title Case | The Quick Brown Fox Jumps Over the Lazy Dog |
| Sentence case | The quick brown fox jumps over the lazy dog |
| camelCase | theQuickBrownFoxJumpsOverTheLazyDog |
| snake_case | the_quick_brown_fox_jumps_over_the_lazy_dog |
| kebab-case | the-quick-brown-fox-jumps-over-the-lazy-dog |
Limitations
- Sentence and title case lowercase the text first, so proper nouns and acronyms such as London or NASA need fixing by hand.
- Title case style guides differ. Chicago style, for example, lowercases all prepositions regardless of length; adjust if your publication follows a different guide.
- Programming cases drop punctuation and non-Latin characters.
Frequently asked questions
What is the difference between Title Case and Sentence case?
Title case capitalises most words, as in headlines. Sentence case capitalises only the first word and proper nouns, as in normal sentences. Many style guides now prefer sentence case for headings.
When should I use camelCase or snake_case?
It depends on the language's conventions: camelCase for JavaScript and Java variables, PascalCase for class and component names, snake_case for Python and database columns, kebab-case for URLs and CSS class names.
How do I fix text typed with Caps Lock on?
Paste it and copy the Sentence case version, then capitalise any names.