What Is the Text Case Converter?
Convert text between uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and more.
Why Use This Tool?
Switching between text cases is a constant need for developers (variable naming conventions) and content creators (headline formatting). This tool converts between all common cases instantly.
How to Use This Text Case Converter
- Paste your text — Enter the text you want to convert to a different case format.
- Select the target case — Choose from UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or dot.case.
- View the converted text — The tool transforms your text instantly, showing the result in the selected format.
- Copy the result — Click Copy to grab the converted text for your code, content, or database.
Worked example: seven tricky inputs through each conversion
We ran the converter's own functions on seven inputs on October 12, 2026. The code-style cases did well. The prose cases (Title Case and Sentence case) are mechanical, and that's worth knowing before you paste headlines into a CMS.
| Input | Title Case | Sentence case | camelCase / snake_case |
|---|---|---|---|
| the lord of the rings: return of the king | The Lord Of The Rings: Return Of The King | The lord of the rings: return of the king | theLordOfTheRingsReturnOfTheKing |
| iPhone sales rose in the U.S. and the EU | Iphone Sales Rose In The U.s. And The Eu | Iphone sales rose in the u.s. And the eu | iPhoneSalesRoseInTheUSAndTheEu |
| mcdonald's o'brien e-mail | Mcdonald's O'brien E-mail | Mcdonald's o'brien e-mail | mcdonalds_obrien_e_mail |
| URLParser loads XMLHttpRequest | Urlparser Loads Xmlhttprequest | Urlparser loads xmlhttprequest | urlParserLoadsXmlHttpRequest |
| JavaScript is fun. it really is! e.g. this one. | Javascript Is Fun. It Really Is! E.g. This One. | Javascript is fun. It really is! E.g. This one. | javaScriptIsFunItReallyIsEGThisOne |
- Title Case capitalises every word, including "of", "the", "in" and "and". If your house style keeps short articles, conjunctions and prepositions lowercase, fix those by hand. It also lowercases the rest of each word, which flattens brand names and acronyms (iPhone becomes Iphone, U.S. becomes U.s., EU becomes Eu).
- Sentence case lowercases everything first. Proper nouns and acronyms lose their capitals (u.s., eu), and any word after a period gets a capital, even after "e.g." or "U.S." Read the result against the original.
- The code cases split words well. They find boundaries at spaces, punctuation and case changes, so URLParser becomes url + Parser and XMLHttpRequest becomes Xml + Http + Request, matching how lodash splits words. Apostrophes are dropped (mcdonalds), and hyphens become word breaks.
Language-specific letters
UPPERCASE uses JavaScript's toUpperCase(), which applies Unicode's default, language-neutral case mapping. German ß becomes SS (straße → STRASSE), as Unicode's SpecialCasing data specifies. Turkish and Azerbaijani text needs a different rule: "istanbul" should become İSTANBUL with a dotted capital İ. The language-neutral mapping gives ISTANBUL, and only toLocaleUpperCase('tr') produces İSTANBUL, which we checked in Node 22. For Turkish text, fix the dotted İ by hand.
Sources
Checked on .
Common Use Cases
Renaming a folder of files from Title Case With Spaces.jpg to kebab-case.jpg before publishing them on a static site. Converting an Excel column of customer names from ALL CAPS (an artifact of an old CRM) into proper Title Case for use in personalized email greetings. Renaming a batch of variables from snake_case to camelCase when porting code from a Python project to a JavaScript one, where the conventions differ.
Producing consistent metadata: blog-post slugs in kebab-case, environment-variable names in CONSTANT_CASE, database column names in snake_case, React component names in PascalCase — each convention has a natural home and switching between them by hand is error-prone with anything more than a sentence. Cleaning up scraped data where the source mixed cases and the consumer needs uniform shape.
Frequently Asked Questions
📖 Learn More
Related Article How to Convert Text Case Online →Built by Derek Giordano · Part of Ultimate Design Tools