Convert text case
Change a block of text to uppercase, lowercase, title case, sentence case or one of the programming styles, without retyping it.
- Free, unlimited
- 100% on-device
- No sign-up
Convert text case
Result
| # | Word | Count | Share | Bar |
|---|
Three steps — nothing to install
Paste the text
Put in a heading, a list of names or a variable name; line breaks and punctuation stay where they are.
Pick a style
Eleven styles, from UPPERCASE to camelCase, each applied to the whole block at once.
Copy the result
Copy it or download it as a text file. The original text stays in the box until you clear it.
What title case actually does
There is no single title case. The Chicago Manual of Style, the AP Stylebook and most word processors disagree about small words, hyphenated compounds and prepositions. This page uses the simplest rule people expect: lowercase everything, then capitalise the first letter of every word.
That rule has a cost you should know about. Acronyms lose their capitals — NASA becomes Nasa — and words with intentional internal capitals, such as iPhone, become Iphone. For a headline that contains either, convert first and fix those two or three words by hand. Sentence case is safer for body text: it lowercases the block and capitalises only the start of sentences.
The programming styles, and how words are split
camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case all need to know where one word ends and the next begins. Existing camelCase is split before its capitals, so getUserName becomes get_user_name rather than one long token. Hyphens, underscores, spaces and punctuation all count as separators.
Accented letters survive. The split is on ASCII word characters plus Latin, Greek and Cyrillic letters, so Café Menu becomes cafe-menu only if you remove the accent first; by default it keeps the é. For a URL slug specifically, the slug generator folds accents and limits the length as well.
Case and languages
Uppercasing is done with JavaScript's Unicode-aware toUpperCase, which is the same mapping the page's own text uses. It is not locale-sensitive: the Turkish dotted and dotless i are handled by Unicode's default rules, not Turkish ones, so i becomes I rather than İ. If you are preparing Turkish text for print, check those letters after converting.
German ß becomes SS in uppercase, as the language requires. Greek final sigma is handled by the browser's Unicode tables. Nothing is transliterated: Cyrillic stays Cyrillic in uppercase.