Quick Answer
Paste your text, choose a case, and copy the result. For example, the lord of the rings becomes The Lord of the Rings in Title Case, THE LORD OF THE RINGS in uppercase and theLordOfTheRings in camelCase. The table shows a preview of every case at once.
Embed this calculator
Adjust the size if needed, then copy the code below into your page or blog. The calculator will load in an iframe and stay updated automatically.
Table of Contents
- Case Converter
- Quick Answer
- Related Calculators
- How This Case Converter Works
- How to Use the Case Converter
- How Each Case Is Made
- Key Terms
- Worked Example
- Real-Life Examples
- Title Case vs Sentence Case
- Case Examples
- Tips for Using Text Cases
- Common Mistakes to Avoid
- Frequently Asked Questions
- References & Sources
How This Case Converter Works
Type or paste any text, pick the case you want, and the converted text appears ready to copy. You can fix text typed with Caps Lock on, tidy headings, or turn a phrase into a variable name for code. A table below shows the first part of your text in all 12 cases so you can compare them.
Cases included:
- Writing: UPPERCASE, lowercase, Title Case, Sentence case, Capitalize Each Word.
- Fun: aLtErNaTiNg cAsE and iNVERSE cASE.
- Code: camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
How to Use the Case Converter
- Type or paste your text.
- Choose the case you want.
- Read the converted text in the result box.
- Compare other cases in the preview table.
- Press Copy to copy the result.
How Each Case Is Made
- Title Case: capitalize the first letter of each word, except short words such as a, an, the, and, of and to, which stay lowercase unless they are first or last.
- Sentence case: lowercase everything, then capitalize the first letter after a full stop, question mark, exclamation mark or line break, and the word I.
- Capitalize Each Word: every word starts with a capital letter.
- camelCase and PascalCase: words are joined with no spaces; camelCase starts lowercase.
- snake_case and kebab-case: lowercase words joined by _ or -.
Key Terms
- Title Case: capitalizing the main words of a title.
- Sentence case: capitalizing only the first word of each sentence.
- camelCase: joining words with each new word capitalized, starting lowercase.
- snake_case: lowercase words joined by underscores.
Worked Example
Convert how to bake a cake.
- Title Case: How to Bake a Cake
- Capitalize Each Word: How To Bake A Cake
- Sentence case: How to bake a cake
- snake_case: how_to_bake_a_cake
- camelCase: howToBakeACake
Real-Life Examples
- Caps Lock mistakes: HELLO THERE becomes hello there in lowercase.
- Headings: a guide to saving money becomes A Guide to Saving Money.
- Code: total monthly payment becomes totalMonthlyPayment or total_monthly_payment.
- Web addresses: Best Pizza in Town becomes best-pizza-in-town.
Title Case vs Sentence Case
- Title Case: most words start with a capital. Common for book titles and many headlines.
- Sentence case: only the first word and proper nouns start with a capital. Common for websites and news headlines.
- Choose one style: mixing them on one page looks untidy.
Case Examples
| Case | Result |
|---|---|
| UPPERCASE | MY PAGE |
| lowercase | my page |
| Title Case | My Page |
| camelCase | myPage |
| PascalCase | MyPage |
| snake_case | my_page |
| kebab-case | my-page |
| CONSTANT_CASE | MY_PAGE |
Tips for Using Text Cases
- Headlines: Title Case or Sentence case; pick one and use it throughout.
- Proper nouns: Sentence case lowercases names such as Paris, so check them after converting.
- All caps: long text in capitals is harder to read; use it for short labels.
- Code: follow your language’s convention, such as snake_case in Python and camelCase in JavaScript.
- URLs: kebab-case makes readable web addresses.
Common Mistakes to Avoid
- Losing proper nouns. Sentence case and lowercase change names; fix them by hand.
- Expecting one Title Case rule. AP, Chicago and other guides differ on short words.
- Using programming cases for prose. They remove spaces and punctuation.
- Shouting in capitals. Long uppercase text reads as shouting online.
- Forgetting acronyms. NASA or USA may become Nasa or usa; check them.
Frequently Asked Questions
Paste the text and choose UPPERCASE.
Paste the text and choose lowercase.
Capitalizing the main words of a title, while short words like and, of and the stay lowercase unless first or last.
Capitalize Each Word capitalizes every word; Title Case leaves short words lowercase.
Words joined without spaces, each starting with a capital except the first, such as myFirstPage.
Yes, for the writing cases. Programming cases join everything into one name.
No. Conversion happens in your browser.
A simple rule that keeps common short words lowercase. Check your style guide for special cases.
Yes. Choose kebab-case to get lowercase words joined by hyphens.
Paste it and choose Sentence case. Each sentence then starts with a capital letter and the rest is lowercase. Check names and acronyms afterwards, since they become lowercase too.
It is common in programming languages such as Python and in database column names, where spaces are not allowed. Words are lowercase and joined by underscores, such as total_price.
Both join words with no spaces and capitalize each new word. camelCase starts with a lowercase letter (myValue), while PascalCase starts with a capital (MyValue).
Yes. Upper and lower case follow Unicode rules, so letters such as é, ß or Greek and Cyrillic letters change case correctly where the language has cases.
References & Sources
| Source | Used For | Link |
|---|---|---|
| MDN Web Docs, String.prototype.toUpperCase() | Uppercase conversion, including letters beyond English. | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/toUpperCase |
| Unicode Standard, Chapter 3.13 Default Case Algorithms | How case is changed for letters in all scripts. | https://www.unicode.org/versions/latest/core-spec/chapter-3/ |