Camel Case Converter
Convert text to camelCase format for programming variable names.
Convert words to camelCase, where the first word is lowercase and each following word starts with a capital: "user account id" becomes userAccountId. Paste one name or a list, one per line, written in any style: spaces, snake_case, kebab-case, SCREAMING_CASE or PascalCase. Acronyms are handled sensibly, so HTTP_STATUS_CODE becomes httpStatusCode. camelCase is the usual style for variables and functions in JavaScript, Java and JSON keys.
Common use cases
- Rename variables or JSON keys to JavaScript style
- Convert database column names (snake_case) for an API
- Convert a list of field labels into code names
How to use
- Paste names, one per line.
- Copy the camelCase versions.
FAQ
What's the difference between camelCase and PascalCase?
camelCase starts with a lowercase letter (userName); PascalCase starts with a capital (UserName) and is used for classes and types. The PascalCase converter does that style.
Which languages use camelCase?
JavaScript, TypeScript, Java and Swift use it for variables and functions. Python and Ruby prefer snake_case.
Related tools
- Pascal Case ConverterConvert text to PascalCase format for class and type names.
- Snake Case ConverterConvert text to snake_case format with underscores between words.
- Kebab Case ConverterConvert text to kebab-case format with hyphens between words.
- Uppercase ConverterConvert all text characters to uppercase letters instantly.
- Lowercase ConverterConvert all text characters to lowercase letters instantly.
- Title Case ConverterCapitalize the first letter of each word for proper title formatting.