CamelCase Converter

Convert any text to camelCase format. Used for JavaScript variables, JSON keys, and programming identifiers.

Try:

Options

What Is CamelCase?

CamelCase is a naming convention where each word begins with a capital letter and no spaces or separators are used. There are two variants: lowerCamelCase (first word lowercase, e.g. myVariableName) and UpperCamelCase or PascalCase (all words capitalized, e.g. MyClassName).

CamelCase vs Other Naming Conventions

  • camelCase: myVariableName — JavaScript, Java, TypeScript variables
  • PascalCase: MyClassName — C# classes, React components
  • snake_case: my_variable_name — Python, Ruby, databases
  • kebab-case: my-variable-name — URLs, CSS classes, HTML attributes

Where to Use CamelCase

  • JavaScript and TypeScript variable and function names
  • Java method and variable names
  • JSON object keys in many APIs
  • Swift and Kotlin identifiers
  • Go exported identifiers (PascalCase)
  • React state variables and event handlers

Related Tools