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. Word boundaries are detected at spaces.
| Input | Output |
|---|---|
| user first name | userFirstName |
| Café Münster ID | caféMünsterId |
| HTTP response code | httpResponseCode |
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.
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.