Case Converter

Paste or type your text, then click a button to convert it to upper case, lower case, title case, sentence case, camelCase, PascalCase, snake_case or kebab-case. Everything runs in your browser.

How to use it

Type or paste text into the first box and click the case you want. The converted text appears in the result box, ready to copy. The original text is never changed, so you can try several styles in a row.

How it is calculated

Upper and lower case use standard letter mapping. Title case lowers the text and capitalizes the first letter of each space-separated word. Sentence case capitalizes the first letter of the text and of each sentence that follows a period, question mark or exclamation mark. For camelCase, PascalCase, snake_case and kebab-case the text is split into words at spaces, punctuation and lower-to-upper letter changes, then rejoined in the chosen style.

Title case here does not skip small words such as "of" or "the". Edit those by hand if your style guide requires it.

Examples

"hello world example" becomes HELLO WORLD EXAMPLE in upper case, Hello World Example in title case and helloWorldExample in camelCase.

"User Profile Page" becomes user_profile_page in snake_case and user-profile-page in kebab-case.

FAQ

What is the difference between title case and sentence case?

Title case capitalizes each main word. Sentence case capitalizes only the first word of each sentence and proper nouns you add yourself.

Which style is used for variable names?

Many languages use camelCase or snake_case for variables, PascalCase for classes and kebab-case for CSS classes and URLs.

Does the tool send my text anywhere?

No. The conversion happens in your browser and nothing is uploaded.

Does it handle accented letters?

Yes. Letters from many alphabets are converted using the browser Unicode rules.

See also

Also handy: BMI Calculator.

Try also Age Calculator.

Another utility: Days Between Dates.

Related calculator: Tip Calculator.

You may also find useful Percentage Calculator.

More free tools