Convert text to camelCase
Convert sentences, kebab-case or snake_case to camelCase, the standard naming convention for variables and functions in JavaScript, TypeScript and Java.
Processed on your device. Nothing is sent to any server.
Detects separators (spaces, hyphens, underscores and case changes) and rebuilds the text with the first word lowercase and the rest capitalized, with no spaces.
Use cases
- Naming JavaScript or TypeScript variables.
- Converting snake_case column names to camelCase for a JS object.
- Normalizing property names in a JSON payload.
How it works
- 1
Paste your text
Type a sentence, kebab-case or snake_case on the left.
- 2
Copy the result
The camelCase identifier appears automatically on the right.
Technical details
- Examples: "user first name" → userFirstName; "user_id" → userId; "sign-up-date" → signUpDate.
- Accented letters are kept as they are ("café menu" → caféMenu); if the identifier must be pure ASCII, remove accents first.
- Punctuation isn't removed: "hello, world!" keeps its comma and exclamation mark. Clean it up first if the result will be a variable or file name.
- Consecutive capitals are treated as one word: "XMLHttpRequest" splits into "XMLHttp" and "Request".
Frequently asked questions
Does it accept snake_case or kebab-case as input?
Yes, it detects underscores, hyphens and spaces as word separators.
Does it produce PascalCase (first letter capitalized)?
No: the first word is always lowercase (camelCase). For PascalCase, capitalize the first letter of the result.