Phrases or other cases to PascalCase for classes, types and components
camelCase Converter
Turn a list of labels, database columns or API fields into camelCase names for JavaScript, Java or JSON in one paste.
Loading tool…
How to use camelcase converter
Paste names or phrases, one per line.
Turn on ASCII only if accented letters must become plain letters.
Check the words found in the first line to confirm the split.
Copy the camelCase list or download it.
What this tool does
- Reads any input style: spaces, snake_case, kebab-case, dot.case and existing camel or PascalCase.
- Splits acronyms at the right place: parseURLFast becomes parseUrlFast and XMLHttpRequest becomes xmlHttpRequest.
- Keeps digits with their word (html5Parser) or splits them off when you ask.
- Converts each line separately, so a column list stays a list.
How the result is verified
The result is split into words again and compared with the words found in your input; they must match on every line. Lines whose result starts with a digit are flagged, because JavaScript, Java and most languages reject such names.
Frequently asked questions
Where is camelCase the convention?
Variables and functions in JavaScript, TypeScript, Java, Kotlin and Swift, and the keys of many JSON APIs, including Google's JSON style guide. Classes in the same languages use PascalCase instead.
What happens to a name that starts with a number, like 2fa code?
It becomes 2faCode and the check warns you, since an identifier cannot start with a digit in most languages. Rename it (twoFactorCode) or put a word in front.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
camelCase, headers or phrases to snake_case for Python and SQL
camelCase or phrases to kebab-case for CSS, files and URLs
Every case at once: upper, lower, title, sentence, camel, snake, kebab and more
Phrases or camelCase to CONSTANT_CASE for constants and env vars