camelCase Converter

Convert space, snake, or kebab text to camelCase identifier format

Ad placeholder (leaderboard)

camelCase is the most common way to name variables and functions in languages like JavaScript and Java. This converter takes any phrase or differently-cased identifier and rewrites it in clean camelCase, handling spaces, underscores, hyphens, and existing case boundaries automatically.

How it works

The converter normalises your input into a list of lowercase word tokens, then rejoins them with the camelCase rule. Word boundaries are detected several ways:

"user profile id"   -> [user, profile, id]
"user_profile_id"   -> [user, profile, id]
"UserProfileID"     -> [user, profile, id]
"oauth2Token"       -> [oauth, 2, token]

Each token after the first has its initial letter uppercased, the first stays lowercase, and they are concatenated with no separators. So all of the examples above collapse to a single camelCase string such as userProfileId.

Tips and notes

Acronyms are lowercased on the way in, so parseHTMLString becomes parseHtmlString. If you need to preserve an acronym exactly, adjust it after copying. The splitter also separates letters from digits, which keeps results predictable but means you may want to manually rejoin tokens like a version number if you prefer v2 to stay glued to its word.

Ad placeholder (rectangle)