Case converter

Paste your text once and get it in every case at the same time: for headings, for sentences, and for variable and file names in code.

FreeNo sign-upRuns on your device

Loading the tool…

How to use it

  1. Type or paste your text into the box.
  2. Scroll through the results. Every case updates as you type.
  3. Press Copy next to the one you need.

Title Case rules

Title Case capitalises the main words and keeps short minor words in lower case: articles (a, an, the), short joining words (and, but, or, nor) and short prepositions (at, by, for, in, of, on, to, with and a few more). This follows the common ground between the AP and Chicago style guides.

The first and last words are always capitalised, and so is the first word after a colon. Words you have already cased on purpose, like iPhone, NASA or YouTube, are left as you typed them, unless the whole line is in capitals, in which case everything is converted.

Sentence case

Sentence case makes everything lower case, then capitalises the first letter of each sentence and the word "I". It can't know which words are names, so check names of people, places and brands afterwards.

Sentence case is the quickest way to fix text typed with Caps Lock on, or a heading pasted from a document that used capitals for emphasis. Many websites, including GOV.UK and most app interfaces, use sentence case for headings and buttons because it is easier to read.

Cases for code

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE first split your text into words. The splitter understands spaces, punctuation and existing camelCase, so "userIDNumber" becomes user_id_number. Accents are removed, so "café" becomes cafe. Each line converts on its own, which lets you paste a list of names and convert them all at once.

Use camelCase for JavaScript variables, PascalCase for classes and React components, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and CONSTANT_CASE for fixed settings.

Privacy

The conversion runs in your browser. Your text isn't sent or stored.

Questions

What is the difference between Title Case and Sentence case?

Title Case capitalises most words, like a book title. Sentence case capitalises only the first word and names, like a normal sentence. Many style guides now prefer Sentence case for headings on websites.

Which words stay lower case in Title Case?

Articles (a, an, the), short conjunctions (and, but, or, nor, for, so, yet) and short prepositions (at, by, in, of, on, to, with, from, into and similar), unless they are the first or last word.

How do I change text to capitals without retyping it?

Paste it in the box and copy the UPPER CASE result. It works for any length of text.

What is alternating case?

It switches between lower and upper case on every letter, like "aLtErNaTiNg". People use it for jokes and memes.