Case converter
Paste your text and this case converter changes it to sentence case, lowercase, UPPERCASE or Title Case, or to camelCase and snake_case for code. Your own text stays as you typed it, so you can try each case.
- Free
- No sign-up
- Converts as you type
- Runs in your browser
How to use it
- 1Type or paste your text in the box.
- 2Pick a case. The converted text appears in the second box.
- 3Copy the result, or save it as a text file.
What each case does
The lowercase and UPPERCASE buttons change every letter, and UPPERCASE, the all caps converter, writes the German ß as SS. aLtErNaTiNg switches between small and capital letters, skipping spaces and punctuation.
Sentence case capitalizes the first word of each sentence and each line, and the word “I”. Title Case capitalizes every word except short ones such as “of”, “and” and “the” (AP style), including both parts of a hyphenated word. Each line is treated as its own title. Capitalized Case capitalizes every word.
The code cases turn each line into one name: “user first name” becomes userFirstName, UserFirstName, user_first_name, user-first-name, USER_FIRST_NAME or user.first.name. Apostrophes are dropped and other punctuation separates words.
How to change case in Word, Google Docs and Excel
- Word: select the text, then click Change Case on the Home tab and pick an option. Shift+F3 (fn+Shift+F3 on a Mac) cycles between lowercase, UPPERCASE and Capitalize Each Word. Word for the web can’t change case.
- Google Docs: select the text, then choose Format, Text, Capitalization, and pick lowercase, UPPERCASE or Title Case. Its Title Case capitalizes every word, including “of” and “the”.
- Excel has no Change Case button. In a spare column, use =UPPER(A2), =LOWER(A2) or =PROPER(A2), fill it down, then copy the results and paste them back as values.
Word has Sentence case, but none of the three does AP-style titles or code names. For those, use this capitalization converter and paste the result back.
When to use each case
Titles of articles, books and headlines often use title case, and a title case converter saves you checking each small word. Google’s and Microsoft’s writing style guides use sentence case for headings. A sentence case converter also fixes text that arrived in capitals; check the names afterward.
The code cases follow common naming conventions: camelCase for JavaScript variables, PascalCase for class names, snake_case in Python, kebab-case in web addresses and CSS, and CONSTANT_CASE for constants.