camelCase Converter — Convert Text to camelCase Online

Transform any phrase or sentence into camelCase format for use in variable names, function names, and JavaScript identifiers. Removes spaces, punctuation, and normalises capitalisation.

Key Features

How to Use

  1. Enter the phrase, database column, or variable name into the field.
  2. Choose lowerCamelCase (default) or PascalCase if preferred.
  3. Click "Convert to camelCase" to reformat the string.
  4. Inspect the resulting identifier in the output box.
  5. Copy the code identifier to your clipboard.

Example

Sample input

user profile id

Sample output

userProfileId

Edge Cases

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

In camelCase (or lowerCamelCase), the first letter is lowercase (e.g. myVariableName). In PascalCase (UpperCamelCase), the first letter is capitalized (e.g. MyVariableName).

How does the converter handle punctuation and hyphens?

Hyphens, underscores, dots, and spaces are removed, and the following letter is converted to uppercase to delineate words.

Can I convert snake_case or kebab-case strings to camelCase?

Yes. Strings formatted in snake_case (user_profile_id) or kebab-case (user-profile-id) convert directly to camelCase (userProfileId).

Related Tools

Privacy notice: when you run this tool, your input is sent over HTTPS to our server, processed in memory and returned. It is not stored or logged. Avoid pasting live secrets such as private keys or passwords.