About this tool
camelCase joins words together, starting with a lowercase letter and capitalising each following word, as in firstName. It is the usual style for variables and functions in JavaScript, Java and many JSON APIs. Paste plain phrases or names in any other style and each line is converted locally in your browser.
How to use camelCase Converter
- Paste names or phrases, one per line.
- Each line is converted to camelCase on the right.
- Copy the list back into your code.
Frequently asked questions
How are word boundaries detected?
Spaces, underscores, hyphens, dots and slashes all split words, and so do changes from lowercase to uppercase. That means "user first name", "user_first_name" and "userFirstName" all become userFirstName.
How are acronyms handled?
Acronyms are treated as one word and only their first letter keeps a capital, so "HTTP response" becomes httpResponse. This keeps names readable and predictable.
Can I convert many names at once?
Yes. Paste one name per line and every line is converted on its own, so a whole column of field names or variables converts in one go.