Text Tools
Case Converter
Convert text between eleven case styles — from simply fixing a sentence typed in caps lock to reformatting a phrase as camelCase or snake_case for code. Existing camelCase is split apart correctly before reformatting.
Note
How to use this tool
- Paste the text you want to reformat.
- Choose the case style from the dropdown.
- The result updates immediately. Copy it with the copy button.
Worked examples
Fixing text typed with caps lock on
- Paste 'THIS WAS AN ACCIDENT. SO WAS THIS.'
- Choose Sentence case
This was an accident. So was this.
Turning a label into a variable name
- Paste 'User Email Address'
- Choose camelCase
userEmailAddress
Notes and limitations
- Title case here follows Chicago style: short joining words such as 'of', 'the' and 'with' stay lowercase unless they are the first or last word. AP style would capitalise four-letter prepositions, so results differ from some other tools by design.
- Sentence case lowercases everything first, so proper nouns lose their capitals and need restoring by hand. There is no reliable way to identify names without a dictionary.
- Case conversion respects the rules of your language. Turkish dotted and dotless i, for example, are handled by the browser rather than by a naive letter swap.
- The programming cases split existing camelCase and PascalCase apart first, so converting camelCase to snake_case works as expected.
- Everything runs in your browser. Your text is never uploaded to a server, which matters when what you are working on is a draft, a client list or anything else you would rather not send anywhere.
Frequently asked questions
What is title case?
A style where most words start with a capital but short joining words do not. This tool follows Chicago style, which keeps prepositions lowercase regardless of length — 'A Room with a View' rather than 'With'.
Why did sentence case remove my capitals from names?
Because it lowercases everything before capitalising each sentence opening, and it has no way to know 'paris' is a place rather than a word. Restore proper nouns by hand afterwards.
What is the difference between camelCase and PascalCase?
Only the first letter. camelCase starts lowercase (userName), PascalCase starts uppercase (UserName). The first is common for variables, the second for class names.
What is kebab-case used for?
URLs, CSS class names and file names. Hyphens are safe in URLs and readable, which is why slugs use them.
Related tools
- Slug GeneratorTurn a title into a clean, readable URL slug.
- Word CounterCount words and characters with reading time, as you type.
- Text ReverserReverse text by character, word order or line order.
- Character CounterCount characters against common field and post limits.
- Sentence CounterCount sentences and see the average words per sentence.
- Paragraph CounterCount paragraphs and lines, with average paragraph length.