Skip to content
TabKiwiTabKiwi

kebab-case Converter

Convert text into lowercase words joined by hyphens, ready for CSS classes, file names and URLs.

TextRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

kebab-case writes words in lowercase separated by hyphens, as in main-nav-link. You'll see it in CSS class names, HTML attributes, file names and URL paths. Paste phrases or identifiers in other styles and each line is converted on your device.

How to use kebab-case Converter

  1. Paste one phrase or name per line.
  2. Read the kebab-case result on the right.
  3. Copy or download the list.

Frequently asked questions

How are word boundaries detected?

Spaces, underscores, hyphens, dots and slashes all split words, and so do changes from lowercase to uppercase. That means "user first name", "user_first_name" and "userFirstName" all become user-first-name.

Is this the same as a URL slug?

It's close. For web addresses, the Slug Generator also removes accents and can drop filler words and limit length, which is usually what you want for URLs.

Can I convert many names at once?

Yes. Paste one name per line and every line is converted on its own, so a whole column of field names or variables converts in one go.

More Text tools

View all 60 →