Skip to content
hateitall

camelCase Converter

Turn a list of labels, database columns or API fields into camelCase names for JavaScript, Java or JSON in one paste.

Processed locallyIn: TextOut: Text

Loading tool…

How to use camelcase converter

  1. Paste names or phrases, one per line.

  2. Turn on ASCII only if accented letters must become plain letters.

  3. Check the words found in the first line to confirm the split.

  4. 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.

Phrases or other cases to PascalCase for classes, types and components

Text→ TextLight on device

camelCase, headers or phrases to snake_case for Python and SQL

Text→ TextLight on device

camelCase or phrases to kebab-case for CSS, files and URLs

Text→ TextLight on device

Every case at once: upper, lower, title, sentence, camel, snake, kebab and more

Text→ TextLight on device

Phrases or camelCase to CONSTANT_CASE for constants and env vars

Text→ TextLight on device