Case Converter
UPPER, lower, Title and more.
Input
0 characters, 0 words
Result
Title Case: Headline style, small words stay lowercase.
Case converter online
Change text between uppercase, lowercase, title case, sentence case and the cases programmers use. Paste your text, choose a case and copy the result.
- 15 cases in one list. UPPER CASE, lower case, Title Case, Sentence case and Capitalize Each Word, plus camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, path/case and Train-Case.
- Smart Title Case. Small words such as a, the, of and to stay lowercase unless they start or end the title or follow a colon, the way headlines are usually written.
- Proper sentence case. Capitals go at the start of each sentence and line, and a standalone "i" becomes "I". Numbers such as 3.5 are left alone.
- Made for code. Identifier cases split words at spaces, underscores, hyphens and capitals, so myVariableName, my_variable_name and My Variable Name all convert cleanly. Each line is converted on its own.
- Works with any language. Accented letters and other alphabets are handled, so Ünïcödé text converts correctly.
- Copy, download or keep going. Copy the result, save it as a .txt file, or use it as the new input to chain two conversions.
- Private by design. Your text is converted in your browser. It is never sent to a server or stored.
Uses of a case converter
- Headlines and titles. Turn a draft into a properly capitalized blog title, email subject or product name.
- Fixing text typed in capitals. Rescue a paragraph written with Caps Lock on by switching it to sentence case.
- Naming variables and files. Change a phrase into camelCase for JavaScript, snake_case for Python or kebab-case for file names and CSS classes.
- URLs and slugs. Make lowercase, hyphenated text that is ready to use in a web address.
- Constants and settings. Write environment variables and constants in CONSTANT_CASE.
- Spreadsheets and data. Clean up names, cities and product lists so every entry follows the same style.
Case converter questions
How do I change the case of my text?
Type or paste your text into the Input box, then pick a case from the menu above the result. The converted text appears straight away and you can copy it with one tap.
What is the difference between Title Case and Capitalize Each Word?
Capitalize Each Word makes the first letter of every word a capital. Title Case follows headline style: small words such as a, an, the, of, in and to stay lowercase, except at the start or end of the title or after a colon.
What is sentence case?
Sentence case capitalizes only the first word of each sentence and keeps the rest lowercase, like normal writing. It is useful for fixing text typed in all capitals. Proper names are not detected, so check them afterwards.
What is camelCase, snake_case and kebab-case?
They are ways to write several words as one name. camelCase joins words and capitalizes each after the first. snake_case joins lowercase words with underscores. kebab-case joins lowercase words with hyphens. They are common for variables, database columns and file names.
Can it convert camelCase back into normal words?
Yes. Capitals inside a name mark where a new word starts, so myVariableName is read as my, variable, name. Convert it to Sentence case or snake_case and you get readable words.
What happens to numbers and punctuation?
In the writing cases they stay exactly as typed. In the code cases, punctuation becomes the separator, apostrophes are removed, and numbers stay with their word.
Does it work with accented letters and other languages?
Yes. Letters such as é, ñ and ü and alphabets such as Greek and Cyrillic are converted correctly. Title Case and the small-word rules are written for English.
Can I convert a whole file?
You can open plain text files such as .txt, .md, .csv and .json with Open file, up to 5 MB. For Word or PDF files, copy the text and paste it in.
Does it work on a phone or tablet?
Yes. The layout adapts to any screen and works with touch.
Is my text saved or uploaded?
No. Everything happens in your browser on your own device. Your text is never sent to a server, and it is gone when you close or refresh the page.