1. Home
  2. Text Tools
  3. Case Converter

Case Converter

Change the letter case of any text in one click: uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case and more.

Runs locally in your browser. Your files and data are never uploaded or stored.

About the Case Converter

Accidentally typed a whole paragraph with Caps Lock on? Need a heading in proper title case or a variable name in camelCase? The Case Converter rewrites the capitalization of your text instantly without retyping a single word.

It supports everyday writing styles like UPPER CASE, lower case, Title Case (which keeps short words like "and", "of" and "the" lowercase) and Sentence case. For developers it also creates programming naming conventions: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python and databases, kebab-case for URLs and CSS classes, and CONSTANT_CASE for environment variables.

For fun social posts you can also create aLtErNaTiNg text or invert the case of every letter.

Examples of every case style

The phrase the price of gold today in each style:

  • UPPER CASE: THE PRICE OF GOLD TODAY
  • Title Case: The Price of Gold Today
  • Sentence case: The price of gold today
  • camelCase: thePriceOfGoldToday
  • PascalCase: ThePriceOfGoldToday
  • snake_case: the_price_of_gold_today
  • kebab-case: the-price-of-gold-today
  • CONSTANT_CASE: THE_PRICE_OF_GOLD_TODAY

Which one to use

  • Title Case for headlines and book or song titles. Sentence case for buttons, menus and most headings on modern websites, because it reads more naturally.
  • lower case for email addresses and hashtags you want to keep consistent.
  • camelCase, snake_case, kebab-case for code: JavaScript variables, database columns and CSS classes or URLs.

Tip: after converting a text typed with Caps Lock on to Sentence case, check names of people and places. They need a capital letter that the converter cannot guess.

How to use the Case Converter

  1. Paste or type your text into the box.
  2. Click the case style you want, such as Title Case or snake_case.
  3. The text is converted in place; try another style any time.
  4. Click Copy result to copy the converted text to your clipboard.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of most words, like a book title. Sentence case only capitalizes the first letter of each sentence, like normal writing.

Does it work with non-English letters?

Yes. The converter uses Unicode-aware rules so accented letters and most alphabets with upper and lower case forms are handled correctly.

Can I convert code identifiers?

Yes. camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE split existing identifiers intelligently, so myVariableName becomes my_variable_name.