This camelCase converter joins your words with no spaces and capitalises each word after the first — turning user first name into userFirstName. It is the naming style used for variables, function names and JSON keys in most programming languages.
How to use the camelCase converter
- Type or paste a phrase, or an identifier in another case.
- The camelCase version appears instantly.
- Copy it straight into your code.
It accepts spaces, hyphens and underscores as word separators, so it also converts snake_case or kebab-case identifiers.
What is camelCase?
In camelCase the first word is lowercase and every following word starts with a capital, like firstName or totalItemCount. It removes spaces while keeping word boundaries readable. It is the default convention for variables and functions in JavaScript, Java, C# and Swift, and for keys in most JSON APIs.
Examples
| Input | camelCase |
|---|---|
| user first name | userFirstName |
| total_item_count | totalItemCount |
| Background Color | backgroundColor |