camelCase Converter

Convert words, snake_case or kebab-case names to camelCase. Each line is converted separately.

How the camelCase converter works

Each line is split into words at spaces, punctuation, underscores, hyphens and existing capital letters. The first word is lowercase and every following word starts with a capital, with no separators. camelCase is the usual style for variables and functions in JavaScript, Java and Swift.

Everything runs in your browser. Your text is not uploaded or stored.

Example

Input
user first name
get_user_by_id
background-color
Result
userFirstName
getUserById
backgroundColor

Frequently asked questions

What is camelCase?

A naming style where words are joined without spaces and each word after the first starts with a capital letter, for example userFirstName.

What is the difference between camelCase and PascalCase?

In camelCase the first letter is lowercase (userName). In PascalCase it is uppercase (UserName).

More text tools

All of these are also available together on the Text Tools page.