# camelCase Converter

Convert text to camelCase format. Ideal for JavaScript variable names.

Live page: [https://freetoolsfr.com/camelcase](https://freetoolsfr.com/camelcase)

camelCase joins words with no spaces and capitalizes the start of each word after the first, so 'user profile image' becomes 'userProfileImage.' The lowercase first letter and the bumpy capitals in the middle are where the camel gets its name. It's the dominant naming style for variables, function names, and object properties in JavaScript, Java, Swift, and many other languages, where identifiers can't contain spaces and readability matters. Converting by hand is fiddly — you delete the spaces, then remember to capitalize every word except the first — so pasting a plain phrase and getting clean camelCase back saves real time, especially when you're translating a column header, a label, or a spec written in plain English into code. This converter strips the spaces, applies the capital-each-word-but-the-first rule, and returns a ready-to-paste identifier. It runs in your browser as you type and copies in one click, so you can drop the result straight into your editor.

## How it works

1. **Paste Text** — Enter or paste the text you want to convert
2. **Choose Case** — Select from lowercase, UPPERCASE, Title Case, and more
3. **Copy Result** — Copy the converted text with one click

## Use cases

- **Variable Naming**: Turn plain phrases into camelCase identifiers for JavaScript and Java
- **API Field Mapping**: Convert human-readable labels into camelCase JSON property names
- **Spreadsheet to Schema**: Transform column headers into code-ready field names
- **Function Names**: Generate consistent camelCase names from descriptions of what a function does

## Tips

- **First Word Stays Lowercase**: camelCase begins lowercase — 'getUserName', not 'GetUserName'. That capitalized-first variant is PascalCase, used for classes.
- **From Spec to Identifier**: Paste a plain-English label like 'total order count' to get 'totalOrderCount' ready for a variable name.
- **Convert Column Headers**: Turn spreadsheet headers such as 'first name' and 'date of birth' into 'firstName' and 'dateOfBirth' for your data model.
- **Mind Acronyms**: Conventions differ on initialisms — some teams write 'userId', others 'userID'. Convert first, then match your project's style.

## FAQ

### What is camelCase?

A naming style with no spaces where the first word is lowercase and each following word is capitalized, like 'firstName' or 'calculateTotalPrice'. It's standard for variables and functions in many languages.

### How is camelCase different from PascalCase?

camelCase starts with a lowercase letter ('userProfile'); PascalCase capitalizes the first letter too ('UserProfile'). PascalCase is typically used for class and type names.

### What does it do with the spaces?

Spaces are removed and used as the cue for where to capitalize the next word, so 'order line item' becomes 'orderLineItem'.

### Will it lowercase my acronyms?

It applies the standard camelCase pattern, which may not match every team's acronym convention. Check identifiers like 'userId' or 'htmlContent' against your project's style.

## Problems solved

- Translating plain phrases into code names
- Converting column headers to fields
- Deleting spaces and fixing capitals by hand
- Consistent variable and function naming

## Stats

- **no spaces** joined identifiers
- **lowercase first** camelCase rule
- **copy ready** paste into code

## Tool

This page is powered by the [case-converter](https://freetoolsfr.com/text/case) tool.

## Related

- [sentence-case](https://freetoolsfr.com/sentence-case)
- [lower-case](https://freetoolsfr.com/lower-case)
- [upper-case](https://freetoolsfr.com/upper-case)
- [capitalized-case](https://freetoolsfr.com/capitalized-case)
- [title-case](https://freetoolsfr.com/title-case)
- [alternating-case](https://freetoolsfr.com/alternating-case)

---

Source: https://freetoolsfr.com/camelcase
Site: https://freetoolsfr.com
