Skip to content
GAMETROZ

Case Converter

Switch text between upper, lower, title and sentence case, or camelCase, snake_case and more.

Processed locally in your browser.

About Case Converter

Fixing the capitalization of a headline, a pasted all-caps paragraph or a list of variable names by hand is slow and easy to get wrong. Choose a style and the whole text is converted at once.

Title Case keeps short words such as of, the and to in lowercase unless they open or close the line. The code styles split words on spaces, punctuation and capital letters, so XMLHttpRequest becomes xml_http_request, and each line is converted separately.

How to use Case Converter

  1. 1Paste or type your text into the input box.
  2. 2Click the case you want; the result appears immediately.
  3. 3For code styles such as camelCase or snake_case, put each name on its own line to convert several at once.
  4. 4Copy the result, or clear both boxes and start again.

Examples

Input

the lord of the rings

Result

The Lord of the Rings
Title Case.

Input

XMLHttpRequest failed

Result

xml_http_request_failed
snake_case.

Input

hello world. it's a new day

Result

Hello world. It's a new day
Sentence case.

Frequently asked questions

Which words stay lowercase in Title Case?

Articles, short conjunctions and short prepositions such as a, the, and, of, in and to, unless they are the first or last word of a line. Style guides differ on the exact list, so review the result for proper nouns.

Can it convert many variable names at once?

Yes. Put one name per line and choose camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE; every line is converted on its own and line breaks are kept.

Guides

Tools guide

How to Count Words and Characters in Any Text

Know the difference between word and character counts, check limits such as 160-character texts and 280-character posts, and tidy text before you count.

· 3 min read