Case converter
Convert text to UPPER, lower, Title, Sentence, camelCase, snake_case and more.
How to use the case converter
Paste text
Any length.
Pick a case
Eight case styles.
Copy
One click to copy.
What does each case style do?
| Style | Example | Typical use |
|---|---|---|
| UPPER CASE | HELLO WORLD | Headings, acronyms, emphasis |
| lower case | hello world | Normalising text, email addresses |
| Title Case | Hello World | Titles and headlines |
| Sentence case | Hello world. | Normal writing |
| camelCase | helloWorld | JavaScript variables |
| snake_case | hello_world | Python variables, database columns |
| kebab-case | hello-world | URLs and CSS class names |
| aLtErNaTiNg | hElLo WoRlD | Jokes and memes |
A note on title case
This tool capitalises the first letter of every word. Style guides such as AP and Chicago keep short words like “a”, “the” and “of” in lowercase, so you may want to tidy those by hand for a formal headline.
When is case conversion useful?
- Fixing text that was typed with caps lock on
- Turning a title into a URL slug with kebab-case
- Converting column names between snake_case and camelCase
- Cleaning up lists copied from spreadsheets
Examples
| Input | Style | Result |
|---|---|---|
| the quick brown fox | Title Case | The Quick Brown Fox |
| the quick brown fox | camelCase | theQuickBrownFox |
| the quick brown fox | snake_case | the_quick_brown_fox |
| the quick brown fox | kebab-case | the-quick-brown-fox |
| don't stop | Title Case | Don't Stop |
Which case should I use where?
- Headlines: Title Case or Sentence case, depending on your style guide
- Buttons and interface text: Sentence case reads most naturally
- JavaScript variables: camelCase
- Python variables and database columns: snake_case
- File names, URLs and CSS classes: kebab-case, because it avoids spaces
Case Converter FAQ
Free, private and browser-based. Your data never leaves your device.
What is title case?
Every major word starts with a capital letter, like a book title.
What is camelCase?
Words joined without spaces, each after the first starting with a capital: myVariableName.
Does the converter keep my line breaks?
UPPER, lower, Title and Sentence case keep your line breaks. camelCase, snake_case and kebab-case treat the whole text as one phrase and join the words, so line breaks are removed.
Does it work with accented letters?
Yes. Accented and non-English letters are handled correctly in every case style, so “café au lait” becomes “caféAuLait” in camelCase.
Can I undo a conversion?
Edit the text or click a different case button. Converting to lower case first, then to the style you want, is the cleanest way to reset messy capitalisation.
Which case is best for URLs?
Use lowercase kebab-case, such as /free-invoice-generator/. Search engines treat hyphens as word separators, while underscores are treated as part of a word.
Can I convert a whole document at once?
Yes. Paste text of any length. Very long documents may take a moment because the conversion runs in your browser.