Transform multi-word phrases into camelCase identifiers — perfect for JavaScript variables, JSON keys and method names.
Convert text or phrases into camelCase for JavaScript, Java and other languages. Free online developer tool.
camelCase Converter examples
Input
Output
user first name
userFirstName
Café Münster ID
caféMünsterId
HTTP response code
httpResponseCode
How the camelcase converter works
Your text is split into words at spaces, hyphens, underscores and existing camel boundaries.
The first word is lowercased and every following word is capitalised.
Unicode letters are preserved — accented characters are not deleted.
Rules and edge cases
Word boundaries are detected at spaces, hyphens, underscores, dots and existing camelCase transitions, so user-first_name and UserFirstName both split into three words.
The first word is fully lowercased; every following word keeps only its first letter capitalised.
Unicode letters survive: Café Münster ID becomes caféMünsterId instead of losing the accented characters.
Digits stay attached to the word they follow — order 2 total becomes order2Total.
PascalCase is identical except that the first word is also capitalised.
Frequently asked questions
How are acronyms like HTTP or ID handled?
A run of capitals is treated as one word, so HTTP response code becomes httpResponseCode and user ID becomes userId — the conventional form in JavaScript and Java.
Can I use accented characters in camelCase identifiers?
The converter keeps them, and JavaScript, Java, C# and Python all allow Unicode letters in identifiers. Many style guides still recommend ASCII for shared codebases.