Text

Case converter

Paste a phrase and pick a case. Identifier styles split words on spaces, punctuation, and existing camelCase.

The text stays in this browser. Nothing is uploaded.

How it works

UPPER and lower use the usual case mapping, so accented letters follow your browser’s rules. Title Case capitalizes each word and lowers the rest. Sentence case lowers everything, then capitalizes the start and the letter after . ! or ?.

camelCase, snake_case, and kebab-case first split the text into words. A boundary is any run of characters that are not letters or digits, plus the jump inside HelloWorld. The first camel word stays lower. Nothing is uploaded. A count of the same text is on the character counter.

Formula

  • camelCase
    hello world → helloWorld
  • snake_case
    HelloWorld → hello_world
  • kebab-case
    HelloWorld → hello-world

Worked examples

A heading

“hello WORLD” becomes HELLO WORLD, hello world, or Hello World, depending on the button.

An identifier

“Hello-World_test” becomes helloWorld, hello_world_test, or hello-world-test. The hyphen and underscore are word breaks, not characters to keep.

The same phrase, seven ways
Stylehello WORLDNotes
UPPERHELLO WORLDEvery letter
lowerhello worldEvery letter
TitleHello WorldEach word
SentenceHello worldAfter . ! ? as well
camelCasehelloWorldFirst word stays lower
snake_casehello_worldLower, joined by _
kebab-casehello-worldLower, joined by -

Common questions

Is the text uploaded?

No. The new casing is produced in your browser.

Does Title Case keep small words lower?

No. Every word is capitalized. This is not a newspaper headline style that leaves “of” and “the” alone.

What happens to punctuation in camelCase?

It is a word break and then it is dropped. “well-known” becomes wellKnown. UPPER and lower keep the hyphen.

Can it fix a whole document?

Yes. Paste the document. Sentence case only looks for . ! ? plus a space, so “Mr. Smith” becomes “Mr. smith”.