Case Converter Switch text between UPPER, lower, Title, camelCase and more — free, instant, private.

camelCase Converter

Turn any phrase into a camelCase identifier — free, instant, runs in your browser.

0 words, 0 characters

What is camelCase?

camelCase joins words together with no spaces or separators. The first word is written entirely in lowercase and every following word starts with a single capital letter — the capitals form "humps" like the back of a camel, which is where the name comes from.

camelCase examples

Where is camelCase used?

camelCase is the standard naming convention for variables and functions in JavaScript, TypeScript, Java, C# and many other languages. It is also the most common style for JSON object keys and API field names. Because most programming languages treat spaces and hyphens as operators, joined-word styles like camelCase are essential for identifiers.

The camelCase family

camelCase belongs to a family of naming conventions: PascalCase capitalizes the first word too, while snake_case, kebab-case and CONSTANT_CASE keep words separate with underscores or hyphens. Use the sibling converters linked below to switch between them.

Common mistakes when converting case

Pro tips

Frequently asked questions

What is the difference between camelCase and PascalCase?

Both join words without separators and capitalize each word, but camelCase starts with a lowercase letter (userName) while PascalCase capitalizes the first word too (UserName). camelCase is typical for variables and functions; PascalCase for classes and components.

How are acronyms converted to camelCase?

Acronyms are treated as ordinary words: 'XML HTTP request' becomes 'xmlHttpRequest'. The capitalize rule lowercases the rest of each word, so adjust manually if you need a fully capitalized acronym in the result.

Can camelCase contain numbers?

Yes. Digits are preserved and treated as word boundaries: 'sha 256 hash' becomes 'sha256Hash' and 'version 2 update' becomes 'version2Update'.

Other case converters

Or switch between every style in one place on the Case Converter homepage.