converttexttools.com

camelCase Converter

Turn text or variable names into camelCase for code.

Words
0
Characters
0
No spaces
0
Sentences
0
Paragraphs
0
Reading time
0 sec

Private: this tool runs in your browser. No data is stored on this website. Learn more

What is the camelCase Converter?

camelCase joins words without spaces, starting with a lowercase letter and capitalizing each following word: “user first name” becomes “userFirstName”. It is the standard naming style for variables and functions in JavaScript, TypeScript, Java and many other languages.

This converter understands almost any input: normal sentences, snake_case, kebab-case, dot.case and PascalCase. Accents and symbols are removed, so the result is always a valid identifier. Put one name per line to convert a whole list at once.

How to use the camelCase Converter

  1. Enter one phrase or name per line.
  2. Each line is converted to camelCase.
  3. Copy the result into your code.

Examples

Input
user first name
Output
userFirstName
Input
get_user_by_id
Output
getUserById

When to use it

  • Naming JavaScript and Java variables
  • Converting database columns to JSON keys
  • Refactoring code
  • Creating API field names

Frequently Asked Questions

What is camelCase?

A naming style where words are joined together, the first word is lowercase and each following word starts with a capital letter, e.g. myVariableName.

What is the difference between camelCase and PascalCase?

PascalCase capitalizes the first word too (MyVariableName). camelCase starts lowercase (myVariableName).

Can I convert snake_case to camelCase?

Yes. Paste snake_case, kebab-case or any other style and it will be converted.