Case Converter

Convert text between uppercase, lowercase, sentence case, title case, camelCase, snake_case, kebab-case and several others.

43Characters
9Words

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Case Converter does

The case converter on this page will convert text between uppercase, lowercase, sentence case, title case, camelCase, snake_case, kebab-case and several others. Paste your text in, pick the options you need, and copy the result straight back out. It is most often used for fixing a headline that was typed with caps lock on. More utilities in this area are collected on FreeToolsWorld.org.

How to use it

  1. Paste your text into the input box.
  2. Choose the case you want from the dropdown.
  3. The converted text appears immediately below.
  4. Copy it, or download it as a text file.

How it works

Title Case here follows standard editorial convention rather than simply capitalising everything: short joining words — a, an, and, the, of, to, in, for and similar — stay lowercase unless they are the first or last word. "The lord of the rings" becomes "The Lord of the Rings", not "The Lord Of The Rings".

The programming cases (camel, Pascal, snake, kebab, constant, dot) tokenise the input first, splitting on spaces, punctuation and existing camelCase humps. That means "getUserID" and "get user id" both convert correctly, rather than the first being treated as one word.

Sentence case lowercases everything and then capitalises after each sentence-ending punctuation mark. It will not restore capitals on proper nouns, because no case converter can know which words are names.

When to use it

  • Fixing a headline that was typed with caps lock on.
  • Converting a label into a variable or file name in the right convention for your codebase.
  • Normalising inconsistent capitalisation across a pasted list.

Common mistakes to avoid

  • Using sentence case on text containing names and brands — you will have to restore those capitals by hand.
  • Applying title case to a language other than English, where the conventions are different and usually simpler.

Frequently asked questions

Does title case know about proper nouns?

No. It applies the capitalisation rule for small joining words but cannot tell that "apple" is a fruit in one sentence and a company in another. Check names after converting.

What is the difference between camelCase and PascalCase?

Only the first letter. camelCase starts lowercase (getUserName) and is conventional for variables and functions in JavaScript and Java. PascalCase capitalises it (GetUserName) and is conventional for class and type names.

Which case should I use for URLs?

kebab-case. Hyphens are treated as word separators by search engines, while underscores historically were not, and lowercase avoids case-sensitivity problems on Unix servers.

Related tools

See all text & writing tools →