Kebab Case to Camel Case Converter

Turn 'kebab-case' identifiers into 'camelCase' instantly.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

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 inputcamelCase output
my-variable-namemyVariableName
data-user-iddataUserId
gera-tools-privacy-firstgeraToolsPrivacyFirst

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.

Ad placeholder (rectangle)