Skip to content
utilnook

Case Converter

Convert text to camelCase, snake_case, kebab-case, Title Case, Sentence case, UPPER or lower case. Keeps acronyms and accents. Runs in your browser.

Convert to

Runs in your browser. Nothing you enter is uploaded.

How to use

This tool changes the case of text, from everyday styles like Title Case to programming styles like camelCase and snake_case.

  1. Pick a style under Convert to.
  2. Type or paste your text into Your text, or open a text file. The result updates as you type.
  3. Press Copy to put the result on your clipboard.

Programming styles split your text into words and join them again. They understand the usual separators, such as spaces, hyphens, underscores and dots, and also words that are already joined, like getHTTPResponseCode. Acronyms stay together, so XMLHttpRequest becomes xml_http_request in snake_case, not x_m_l_http_request. Numbers stay with the word before them.

Text styles only change letters and keep your punctuation and spacing:

In text that isn't all capitals, Title Case and Sentence case leave acronyms like NASA and brand spellings like iPhone as they are.

With One per line on, each line is converted on its own, which is handy for a list of names or variables. Turn it off to treat the whole text as one piece.

Accented and non-Latin letters work too. Very long texts are converted in the background so typing stays smooth.

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words without spaces and start each new word with a capital. camelCase starts with a lowercase letter, like userName. PascalCase starts with a capital, like UserName, and is common for class names.

Which words stay lowercase in Title Case?

Short articles, conjunctions and prepositions: a, an, and, as, at, but, by, for, in, nor, of, on, or, the, to, vs and via. They are still capitalised when they are the first or last word, or follow a colon.

Is my text sent anywhere?

No. The conversion runs in your browser with JavaScript, so your text never leaves your device. That makes it safe for code, private notes or unpublished writing.

More text tools

All text tools