About camelCase Converter
camelCase joins words together, writes the first word in lowercase and capitalises the start of each word after it, as in firstName or orderIdNumber. It is the usual style for variables and functions in JavaScript, TypeScript and Java, and for many JSON API fields.
Paste plain phrases, column headings, snake_case or kebab-case names and each line becomes one camelCase identifier. Spaces, underscores, hyphens and existing capitals all count as word breaks. It runs in your browser, so internal field names stay private.
How to use it
- Paste names or phrases into the Input box, one per line, or press Sample.
- Each line is converted to camelCase on the right.
- Copy the identifiers, or pick PascalCase from the Case menu for class names.
Frequently asked questions
What is the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (userName); PascalCase capitalises the first word too (UserName). PascalCase is typical for classes, types and React components.
How are acronyms like ID or URL handled?
They are treated as normal words, so “Order ID number” becomes orderIdNumber. Most style guides, including Google’s for Java and JavaScript, recommend this.
Are symbols kept?
No. Anything other than letters and digits is treated as a separator and dropped, which gives you a valid identifier.