Word and Text Tools
Word and Text Tools › Change text case › camelCase converter

camelCase converter

How do I use a camelcase converter? Turns words into one camelCase name, as used for variables in code.

What it doesTurns words into one camelCase name, as used for variables in code.
Exact ruleThe text is split into words at every character that is not a letter or digit, at a small letter followed by a capital, and between letters and digits; the words are joined with the first in lower-case and the others starting with a capital.
Example textconvert this phrase_to camelCase
Example resultconvertThisPhraseToCamelCase
LimitsNames with acronyms lose their capitals (HTTPServer becomes httpServer).
Where it runsIn your browser: your text is never uploaded, stored or logged.

All tools in Change text case

How to use the camelcase converter

  1. Type a phrase or an identifier.
  2. Copy the camelCase name.
  3. Use snake_case or kebab-case for other naming styles.

How it works

The text is split into words at every character that is not a letter or digit, at a small letter followed by a capital, and between letters and digits; the words are joined with the first in lower-case and the others starting with a capital.

Names with acronyms lose their capitals (HTTPServer becomes httpServer).