Camel Case Converter

Convert any phrase to camelCase for variable names.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert text to camelCase

Paste a phrase above to convert it to camelCase: the first word is lowercase, every following word is capitalized, and all spaces are removed. This is the naming convention used for variables, function names and object properties in languages such as JavaScript, Java and Swift. Copy the result with one click straight into your code.

camelCase vs PascalCase vs snake_case

camelCase lowercases the first word (myVariableName). PascalCase capitalizes it too (MyVariableName). snake_case uses lowercase words joined by underscores (my_variable_name). Pick the one your codebase or language prefers.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase keeps the first word lowercase, while PascalCase capitalizes the first word as well. Both remove spaces and capitalize later words.

Does it remove punctuation?

It removes spaces and joins the words. Stray punctuation is kept, so clean the input first for tidy variable names.