Skip to content
Documents·1 min read·

Case converter

Change text to upper case, lower case, title case, sentence case, camel case, snake case, or kebab case.

The answer

Upper and lower case change letters only. Title case capitalizes the first letter of each whitespace-separated word. Camel, snake, and kebab case split on spaces and punctuation.

Result

Converted text

Hello World

What do you want to do next?

How this works

Upper case and lower case keep the original spacing. Title case lowercases the rest of each word and capitalizes the first character, splitting only on whitespace, so “don't” stays one word.

Camel case, Pascal case, snake case, and kebab case first split the text into words on anything that is not a letter or number. snake_case joins with underscores. kebab-case joins with hyphens.

Practical steps

  1. 1

    Paste the text and choose the case.

  2. 2

    Use title case or sentence case when the result should stay readable as a sentence.

  3. 3

    Use camel, snake, or kebab case when you are naming a variable, a file, or a URL slug.

Examples

  • “hello world” as title case

    Hello World.

Common mistakes

  • ×

    Using title case when you needed a URL slug. A slug also removes punctuation and spaces.

Frequently asked questions

Will title case capitalize after an apostrophe?

No. It only starts a new word at whitespace, so “don't” becomes “Don't”.

Does camel case keep spaces?

No. Spaces and punctuation become word boundaries and are removed.