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
Drop your text file to load it
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
Before
Convert This TextAfter
convert-this-textWhen to use it
- URL slugs for blog posts and pages
- CSS class names
- File and folder names
- Command-line options and package names
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
- UPPERCASE
- lowercase
- Title Case
- Sentence case
- camelCase
- PascalCase
- snake_case
- CONSTANT_CASE
- tOGGLE cASE
- aLtErNaTiNg