Case Converter
Change text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case and more, in your browser, with the limits of each style.
About Case Converter
The Case Converter changes your text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case and more in one click. Fix text typed with Caps Lock on, or turn phrases into code names.
Title Case
Every word starts with a capital, small words included, so the result is It's A Dog's Life. Adjust small words by hand if your style guide wants them lower case.
For programmers
camelCase, snake_case and kebab-case split the text into words first, and even split names already in another style, like hello_world-fooBar.
Just for fun
aLtErNaTiNg and iNVERSE case.
Accents and other alphabets
Letters like Ü, é and ß are handled by your browser's language rules.
Switch freely
Each style converts your original text, so you can try styles one after another.
Private
Your text stays in your browser. Nothing is uploaded.
Examples
Title Case: The Quick Brown Fox. Sentence case: The quick brown fox. camelCase: theQuickBrownFox. snake_case: the_quick_brown_fox. kebab-case: the-quick-brown-fox.
How to use Case Converter
- Paste or type your text, or press Open .txt file to load a plain text file.
- Choose a style from the Convert to list; the result appears at once.
- Check names, acronyms and small words, which the tool does not treat specially.
- Press Copy, or Download .txt to save the converted text.
Related guide: Title Case vs Sentence Case: Which One Should Your Headings Use?
Help & FAQ
What is the difference between Title Case and Sentence case?
Title Case starts every word with a capital letter. Sentence case capitalises only the first letter of each sentence. On our test sentence the first gave The Quick Brown Fox. It's A Dog's Life! and the second gave The quick brown fox. It's a dog's life!
Does Title Case follow AP, APA or Chicago rules?
No. Every word is capitalised, including a, of and the. If your style guide wants small words in lower case, edit them after converting.
Why did our acronym change?
The tool lowercases the text before applying the style, so JS became Js in Title Case and js in Sentence case. Retype acronyms after converting.
Why is it's split into it and s in camelCase or snake_case?
An apostrophe counts as a word break in the programming styles, so it's became it and s. Delete apostrophes first if you want one word.
Can it convert snake_case to camelCase?
Yes. The tool recognises underscores, hyphens, spaces and capital letters as word boundaries. hello_world-fooBar became helloWorldFooBar in camelCase.
What are camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE used for?
camelCase and PascalCase are common for variables and class names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and CONSTANT_CASE for constants. Follow the convention of your own project.
Does it keep punctuation and double spaces?
UPPERCASE, lowercase, Title, Sentence, alternating and inverse keep punctuation and spacing. The programming styles remove punctuation and join the words.
What happens to the German letter ß?
UPPERCASE turned straße into STRASSE in our test, because that is how the JavaScript upper-case function works.
Does it work for Urdu, Arabic or Hindi?
Urdu, Arabic and Hindi have no letter case, so case styles do not change them and the text is kept. Case conversion applies to scripts that have case, such as Latin, Greek, Cyrillic and Armenian.
Can we convert a whole file?
You can open a .txt file with the Open .txt file button and download the result. Other formats such as Word need their text copied in first.
Is our text uploaded?
No. The conversion runs in your browser and nothing you type is sent for processing.
How do we fix text typed with Caps Lock on?
Paste it, choose Sentence case or lowercase, and then correct names and acronyms. Sentence case capitalises the start of each sentence for you.