Kebab Case Converter

Convert text to kebab-case for URLs, CSS classes and file names.

Keep or share the finished result Copy or share after running the tool. Saved tools and settings stay in this browser.
More

Convert text to kebab-case

Paste a phrase above to convert it to kebab-case: every word is lowercased and the words are joined with hyphens. This is the style used for URL paths, CSS class names, HTML data attributes and many file names, because hyphens are safe and readable in those places. Copy the result with one click.

kebab-case vs a URL slug

kebab-case simply lowercases and hyphenates the words you give it. A URL slug goes further by stripping accents and punctuation as well — for that, use the slugify tool.

Frequently asked questions

Where is kebab-case used?

In URL paths, CSS class names, HTML attributes and file names, where hyphens are readable and URL-safe.

Is kebab-case the same as a slug?

It is close, but a slug also removes accents and punctuation. Use the slugify tool for full URL slugs.