What is the camelCase Converter?
camelCase joins words without spaces, starting with a lowercase letter and capitalizing each following word: “user first name” becomes “userFirstName”. It is the standard naming style for variables and functions in JavaScript, TypeScript, Java and many other languages.
This converter understands almost any input: normal sentences, snake_case, kebab-case, dot.case and PascalCase. Accents and symbols are removed, so the result is always a valid identifier. Put one name per line to convert a whole list at once.
How to use the camelCase Converter
- Enter one phrase or name per line.
- Each line is converted to camelCase.
- Copy the result into your code.
Examples
user first name
userFirstName
get_user_by_id
getUserById
When to use it
- Naming JavaScript and Java variables
- Converting database columns to JSON keys
- Refactoring code
- Creating API field names
Frequently Asked Questions
What is camelCase?
A naming style where words are joined together, the first word is lowercase and each following word starts with a capital letter, e.g. myVariableName.
What is the difference between camelCase and PascalCase?
PascalCase capitalizes the first word too (MyVariableName). camelCase starts lowercase (myVariableName).
Can I convert snake_case to camelCase?
Yes. Paste snake_case, kebab-case or any other style and it will be converted.