Case Converter

Paste your text and choose a case. Copy the result with one tap.

0 characters, 0 words

What each case does

CaseExampleCommon use
Sentence caseThe quick brown fox.Normal writing, captions, headings in many style guides
Title CaseThe Quick Brown FoxBook, article and video titles
UPPER CASETHE QUICK BROWN FOXEmphasis, acronyms, labels
lower casethe quick brown foxUsernames, tags, cleaning up text
camelCasetheQuickBrownFoxJavaScript and Java variable names
PascalCaseTheQuickBrownFoxClass and component names
snake_casethe_quick_brown_foxPython variables, database columns
kebab-casethe-quick-brown-foxURLs, CSS classes, file names
CONSTANT_CASETHE_QUICK_BROWN_FOXConstants 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:

StyleResult
camelCaseuserProfilePage
PascalCaseUserProfilePage
snake_caseuser_profile_page
kebab-caseuser-profile-page
CONSTANT_CASEUSER_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

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.