camelCase
First word lowercase, every subsequent word capitalised, no separators. Supports up to 50,000 characters.
Programming Tools
Input Text
0 / 50,000
Converted Text
Result will appear here…
About
What is camelCase?
camelCase joins multiple words into a single identifier where the first word is entirely lowercase and each subsequent word starts with an uppercase letter. There are no spaces, hyphens, or underscores - the capital letters act as the word boundary markers, resembling the humps of a camel. It is one of the two dominant naming conventions in modern programming, alongside PascalCase.
Example
Input
get user profile data
Output
getUserProfileData
Usage
When to use camelCase?
JavaScript & TypeScript variables
The official convention for variable and function names in JS/TS - getUserProfile, fetchApiData, isLoggedIn.
React props & hooks
All React props and custom hook names use camelCase - onClick, onChange, useLocalStorage, isModalOpen.
JSON keys
REST APIs typically return JSON with camelCase keys - userId, createdAt, firstName - matching JavaScript conventions.
Object properties
Dot-notation access in JavaScript relies on valid identifier names, making camelCase the natural choice for all object keys.
Try More