kebab-case converter

Write lowercase words joined by hyphens, perfect for URLs, slugs and CSS class names.

Advertisement

0 characters, 0 words
0 characters, 0 words

Advertisement

About this tool

kebab-case writes every word in lowercase and joins them with hyphens, like words on a skewer. Search engines read hyphens as word separators, which makes it the preferred style for web addresses.

It is also the usual style for CSS classes and for many command-line tools and file names.

Example

BeforeConvert This Text
Afterconvert-this-text

When to use it

Advertisement

Questions

Why do URLs use hyphens instead of underscores?

Search engines treat hyphens as spaces between words, but may read underscores as part of one word.

Are accents removed?

Accented letters are kept as they are. Remove them yourself if you need a plain ASCII slug.

Is it the same as a slug?

Almost. A slug is a kebab-case string, usually with symbols removed, which is what this tool produces.

Other case converters

More text tools