Kebab-case to camelCase
Paste any kebab-case identifier — lowercase words joined by hyphens like
my-variable-name — and get the equivalent camelCase string such as
myVariableName instantly. This is a common need when moving CSS class names or
URL slugs into JavaScript or TypeScript variable and property names.
How it works
The converter splits your input on every run of non-alphanumeric characters (hyphens, spaces and other symbols), lowercases each resulting word, then joins them: the first word stays lowercase and every following word has its first letter capitalised. Because any separator counts as a boundary, even messy input converts cleanly. A Copy button puts the result on your clipboard.
Example
| kebab-case input | camelCase output |
|---|---|
my-variable-name | myVariableName |
data-user-id | dataUserId |
gera-tools-privacy-first | geraToolsPrivacyFirst |
For data-user-id, the words are data, user, id; the first stays
lowercase and the rest are capitalised, giving dataUserId.
Everything runs in your browser, so your code never leaves your machine.