Home / Text / Case Converter

Case Converter

Ten case styles, from Title Case and Sentence case to camelCase, snake_case and alternating capitals.

Case Converter — Runs locally

Input

Copied!

Output

How to use

Using this tool

Case Converter converts text to ten case styles, including upper case, title case and programming cases. All of the work on Case Converter happens in this tab, so the values you enter or the files you open never travel to a server.


Controls on this page

Case Converter gives you UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, aLtErNaTiNg and iNVERT. The options listed below the input on Case Converter are the ones that change how the output is produced, and every one of them applies to a single run.


  • Ten case actions.
  • One click per conversion.

How to use Case Converter

  1. Type or paste your content into the input box at the top of Case Converter.
  2. Pick the action on Case Converter that matches the job, for example UPPERCASE.
  3. Press Copy Result on Case Converter and read the answer in the separate output box.
  4. Copy the finished text from Case Converter, then clear the boxes before starting the next one.

A worked example

Type user profile settings and the buttons return userProfileSettings for camelCase and user_profile_settings for snake_case, so a variable name matches the house style.


A closer look at Case Converter

Ten styles cover headings, labels and the naming conventions used in code. Programming cases treat spaces as separators, so a phrase becomes a single identifier. Sentence case lower-cases everything except the first letter of each sentence.

iNVERT flips every letter, while aLtErNaTiNg alternates from the first character. The result is placed in its own box, so a second style can be tried without retyping. Title Case capitalises the significant words of a heading, which is what most editorial styles ask for. PascalCase and camelCase differ only in the first letter, which is why the two buttons sit next to each other.


Putting Case Converter to work

Case Converter carries ten case actions on one screen, from UPPERCASE and lowercase through to aLtErNaTiNg and iNVERT. The programming cases - camelCase, PascalCase, snake_case and kebab-case - split the input on spaces and punctuation before rebuilding it.

Title Case capitalises the first letter of each word, while Sentence case only touches the start of each sentence. iNVERT swaps the case of every character, which is a quick way to spot text that was typed with the wrong shift key.


Where Case Converter helps

  • Naming a variable consistently.
  • Shouting a heading in upper case.
  • Tidying a title with inconsistent capitals.

Precision and limits

  • Programming cases treat spaces as word separators, so user profile becomes userProfile rather than userprofile.
  • Sentence case lower-cases everything except the first letter of each sentence.
  • iNVERT swaps the case of every letter, while aLtErNaTiNg alternates from the first character.

Frequently asked questions

What is the difference between title case and sentence case?

Title case capitalises each significant word; sentence case capitalises only the start of each sentence.

Does camelCase remove spaces?

Yes, spaces are dropped and the following word is capitalised.

Which style suits CSS class names?

kebab-case is the usual choice, and snake_case suits many database fields.

Can I convert back?

Yes, paste the result into the input area and choose another style.