Case converter

Change text to upper case, lower case, Title Case, Sentence case and other styles. The result updates as you type.

Your files stay on your device. Nothing is uploaded.

Case converter

Converts as you type

Step 1: Type or paste your text

Step 2: Choose a case

Case

camelCase, snake_case and kebab-case turn each line into one name.

Step 3: Copy or download

How to change text case

  1. Type or paste your text

    Click in the first box and type, or paste your text.

  2. Choose a case

    Pick UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg, camelCase, snake_case or kebab-case. The result appears in the second box.

  3. Copy or download

    Click Copy text to copy the result, or Download .txt to save it as a text file.

About this tool

Title Case rules

Every word starts with a capital letter, except these small words in the middle of a line: a, an, the; and, but, or, nor, for, so, yet; as, at, by, in, of, off, on, per, to, up, via, vs. They get a capital when they are the first or last word, or follow a colon, full stop, question mark or exclamation mark. Each part of a hyphenated word is treated the same way: Out-of-Date. Other letters become lower case, so NASA becomes Nasa; fix acronyms by hand.

Sentence case rules

Everything becomes lower case, then the first letter of each sentence and each line gets a capital. A sentence ends with . ! ? or the Urdu full stop (۔). Dotted abbreviations such as i.e. and e.g. do not end a sentence. The word "i" on its own becomes "I". Names stay lower case, so check them afterwards.

Names for code

CaseExampleOften used for
camelCaseuserIdNumberVariables in JavaScript and Java
snake_caseuser_id_numberPython, database columns
kebab-caseuser-id-numberWeb addresses, CSS classes

Each line becomes one name. Spaces and punctuation are removed, existing camelCase is split into words, and apostrophes are dropped, so "don't stop" becomes dont_stop.

Other languages

Accented letters are converted correctly, for example é to É. Scripts without capital letters, such as Urdu, Arabic, Hindi and Chinese, stay unchanged, although camelCase, snake_case and kebab-case still join their words.

Privacy

This tool runs in your browser, on your own device. Your files and text are not uploaded to our server and we cannot see them. When you close or reload this tab, they are cleared, along with the results.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case gives most words a capital letter, as in a book title: The Lord of the Rings. Sentence case gives a capital only to the first word of each sentence: The lord of the rings.

What does aLtErNaTiNg case do?

Letters switch between lower and upper case, starting with lower case. Spaces, numbers and punctuation are skipped. It is mostly used for jokes and memes.

Can I change case in Word or Excel instead?

In Microsoft Word on Windows, select the text and press Shift+F3 to switch between cases. In Excel, the UPPER, LOWER and PROPER functions change the case of a cell. PROPER capitalises every word, including small words such as "of".

Are line breaks kept?

Yes. Line breaks and spacing stay as they are. For camelCase, snake_case and kebab-case, each line becomes one name.

Is there a length limit?

No fixed limit. Very long texts, over 200,000 characters, update after a short pause.

Is my text saved?

No. The text stays in this page on your device and is not saved anywhere. Copy it somewhere before you close the tab.