Case Converter
Paste your text and choose a case. Copy the result with one tap.
What each case does
| Case | Example | Common use |
|---|---|---|
| Sentence case | The quick brown fox. | Normal writing, captions, headings in many style guides |
| Title Case | The Quick Brown Fox | Book, article and video titles |
| UPPER CASE | THE QUICK BROWN FOX | Emphasis, acronyms, labels |
| lower case | the quick brown fox | Usernames, tags, cleaning up text |
| camelCase | theQuickBrownFox | JavaScript and Java variable names |
| PascalCase | TheQuickBrownFox | Class and component names |
| snake_case | the_quick_brown_fox | Python variables, database columns |
| kebab-case | the-quick-brown-fox | URLs, CSS classes, file names |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Constants and environment variables |
How title case works here
Title case capitalizes the first and last word and every major word in between. Short words such as “a,” “the,” “of” and “and” stay lowercase unless they open or close the title. Style guides (AP, Chicago, APA, MLA) disagree on small details, such as whether to capitalize prepositions of four or more letters, so proofread titles that matter.
Your text stays in your browser. Nothing is uploaded or stored.
Which case should you use?
The right case depends on where the text is going. For everyday writing, use sentence case for most headings and body text, and title case for the names of books, articles and videos. Programming languages each have their own naming convention, and following it makes your code easier for other people to read. For web addresses and file names, lowercase words joined by hyphens is the safest choice, because it avoids spaces and behaves the same on every system.
One phrase in five naming styles
Here is the phrase “user profile page” written the way different tools expect it:
| Style | Result |
|---|---|
| camelCase | userProfilePage |
| PascalCase | UserProfilePage |
| snake_case | user_profile_page |
| kebab-case | user-profile-page |
| CONSTANT_CASE | USER_PROFILE_PAGE |
Fixing text typed with Caps Lock on
If you typed a paragraph with Caps Lock on, there is no need to retype it. Paste it into the box, choose lower case, and then choose sentence case. You get normal capitalization at the start of each sentence, and you only need to restore the capital letters on names.
What to check after converting
- Names and acronyms. Lower case and sentence case do not know that “London” or “NASA” should keep their capitals, so look these over.
- Small words in titles. Style guides differ on words like “with” and “from,” so follow the guide your publisher or school uses.
- Code names. Read the result back to make sure it still says what you meant and does not clash with a name you already use.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both join words with no spaces and capitalize each new word. In camelCase the first letter is lowercase (userProfilePage), and in PascalCase it is uppercase (UserProfilePage). PascalCase is common for class and component names.
Why avoid all capitals in long text?
Words in capitals are slower to read because every word has the same outline, and online they tend to read as shouting. Save them for short labels and acronyms.
Which case is best for a URL?
Lowercase with hyphens. Search engines treat hyphens as word separators, and lowercase avoids the problem of the same address working in one form and failing in another.