Input
Output

camelCase joins words with no separator and capitalises every word except the first — userName, parseHtmlInput. It is the conventional style for variables and functions in JavaScript, TypeScript and Java. This converter splits the input on spaces, hyphens and underscores, so snake_case, kebab-case and plain phrases all work as input.

How to use

  1. Paste the identifier or phrase — user name, user_name and user-name all work.
  2. The words are split, lower-cased, and rejoined with every word after the first capitalised.
  3. Copy the identifier straight into your code.

FAQ

What is the difference from PascalCase?

Only the first letter. PascalCase capitalises the first word too (UserName) and is normally used for class and type names, while camelCase (userName) is used for variables and functions.

How are acronyms handled?

They are treated as ordinary words and lower-cased, so “parse HTML input” becomes parseHtmlInput — the style most linters expect.

Can I convert several lines at once?

Yes. Each line is converted on its own, so you can paste a whole list of names and convert them in one go.