Text & Writing

Case Converter

Case converter that turns text into UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more at once.

Input Text
0 characters
Converted Text

This case converter shows your text in eight letter-case formats at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case. Writers use it to fix text typed with Caps Lock on or to change capital letters in a heading, and developers use it to rename variables and other identifiers. The conversion runs in your browser, so nothing you paste is sent anywhere.

How to use the case converter

  1. Type or paste your text into the Input Text box. A counter under it shows the number of characters.
  2. The eight converted versions appear below, each in its own box, and update as you type. Convert All refreshes them by hand.
  3. Find the format you need by its label, for example UPPERCASE, Title Case or snake_case.
  4. Press the Copy button beside that box and paste the result wherever you need it.
  5. Press Clear to empty the input and start again.

What each format does to the same sentence

All eight boxes for the input the lord of the rings (extended edition):

FormatResult
UPPERCASETHE LORD OF THE RINGS (EXTENDED EDITION)
lowercasethe lord of the rings (extended edition)
Title CaseThe Lord Of The Rings (extended Edition)
Sentence caseThe lord of the rings (extended edition)
camelCasetheLordOfTheRings(extendedEdition)
PascalCaseTheLordOfTheRings(extendedEdition)
snake_casethe_lord_of_the_rings_(extended_edition)
kebab-casethe-lord-of-the-rings-(extended-edition)

Two things show up here. Title Case capitalizes the first character of each word, and for "(extended" that character is the bracket, so the word stays lowercase. The code formats keep punctuation, so remove brackets and commas first if you need a clean identifier.

Uppercase converter and lowercase converter

UPPERCASE turns every letter into a capital, which suits short labels, acronyms and headings in designs that call for all caps. lowercase does the reverse and is the quickest fix for a paragraph typed with Caps Lock on: convert it to lowercase, then use Sentence case to bring back the capital letter at the start of each sentence. Both work on accented letters too, so "café" becomes "CAFÉ".

Title case converter rules

Title Case here capitalizes every word, short ones such as "of" and "the" included, and lowercases the rest of each word, so iPhone becomes Iphone. Most style guides keep small words lowercase unless they start the title, so you may need to lower a few by hand. For example, "a tale of two cities" comes out as "A Tale Of Two Cities", and a style guide would write "A Tale of Two Cities". The guide to title case vs sentence case covers those rules and which style suits headlines, and writing title tags explains how capitalization reads in search results.

Sentence case lowercases everything, then capitalizes the first letter of the text and the first letter after each full stop, question mark or exclamation mark. Names, places and the word "I" in the middle of a sentence stay lowercase and need fixing by hand.

Convert case for code

The camelCase, PascalCase, snake_case and kebab-case boxes treat spaces, hyphens and underscores as word breaks, and also break where a capital letter follows a lowercase one. That lets you convert case between naming styles in one paste:

user account id   -> userAccountId, UserAccountId, user_account_id, user-account-id
background-color  -> backgroundColor
getHTTPResponse   -> get_httpresponse

The last line shows a limit: a run of capitals such as HTTP is not split into its own word. kebab-case output is also the start of a URL slug, and the slug generator finishes the job by removing punctuation and accents. For counting the result, the word counter and other writing tools work on the same pasted text.

Limits

  • Sentence case only capitalizes the letters A to Z, so a sentence that starts with an accented letter, such as "élan", stays lowercase.
  • Abbreviations confuse it. "e.g. this" becomes "E.G. This", because every full stop counts as the end of a sentence.
  • Title Case and Sentence case also lowercase acronyms, so "visit NASA" becomes "Visit Nasa" in Title Case and "Visit nasa" in Sentence case.

Frequently Asked Questions

What case formats does the case converter support?
It supports UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case and kebab-case, and shows all eight at once. Each has its own Copy button, so you can take whichever version you need without converting again.
Is the case converter useful for programmers?
Yes. The camelCase, PascalCase, snake_case and kebab-case boxes turn a phrase such as user account id into userAccountId, UserAccountId, user_account_id or user-account-id. Spaces, hyphens and underscores count as word breaks, and so does a capital letter that follows a lowercase one, so an existing name such as userAccountId converts too.
Does it handle punctuation and numbers correctly?
Numbers and punctuation are kept as they are, and only the letters change. In the four code formats, spaces, hyphens and underscores become the separator, but other punctuation stays in the result, so Hello, world! becomes hello,World! in camelCase. Remove punctuation first if you need a clean identifier.
How do I change capital letters to lowercase without retyping?
Paste the text into the input box and copy the lowercase box. If the text should still have capitals at the start of each sentence, copy the Sentence case box instead, then fix names and the word I by hand, since the converter has no way to know which words are names.
Can I convert a large block of text at once?
Yes. Paste whole paragraphs or documents and all eight formats update together. In the code formats, line breaks also count as word breaks, so a paragraph becomes one long identifier.