camelCase Text Converter
Convert any text to camelCase instantly. Paste your text below and click camelCase to transform it for use in code.
0 Characters0 Words0 Sentences0 Lines
What is camelCase?
camelCase is a naming convention where words are joined without spaces, and each word after the first starts with a capital letter. For example, "my variable name" becomes "myVariableName". The name comes from the humps that the capital letters create, resembling a camel's back.
When to Use camelCase
- • JavaScript variables and functions — const myVariable, function handleClick()
- • Java and C# identifiers — standard naming convention
- • TypeScript interfaces and properties — firstName, lastName
- • React component props — onClick, onChange, className
- • JSON keys — common in REST API responses
camelCase vs PascalCase
The key difference: camelCase starts with a lowercase letter (myVariable), while PascalCase starts with an uppercase letter (MyVariable). In JavaScript, camelCase is used for variables and functions, while PascalCase is used for class names and React components.