kebab-case Converter
Change spaces and casing into kebab-case (hyphen-separated words). This is the standard format for web URLs, CSS styling, and command-line arguments.
Last reviewed: 2026-07-23
Processed locally in your browser. Nothing is sent to a server.
Character count: 0 · Word count: 0 · Line count: 0
How to use
- Paste your article title, phrase, or variable name.
- Copy the kebab-cased string from the output panel.
Examples
Generate a URL slug
Input
How to use kebab case
Output
how-to-use-kebab-case
The standard for the web
kebab-case is sometimes called dash-case or lisp-case. Search engines like Google prefer URLs in kebab-case because hyphens are treated as word separators, improving SEO readability. It is also the universal standard for CSS class names and HTML data attributes.
Frequently asked questions
Is my data uploaded?+
No. Code and data tools run locally in your browser whenever possible.
Related guides
Learn more about this topic in our blog.
SEO
SEO URL Slugs: Why kebab-case Wins Over snake_case
Google treats hyphens and underscores differently. Learn the SEO best practices for formatting URL slugs and naming files.
Developer
The Complete Guide to Developer Naming Conventions
camelCase, PascalCase, snake_case, kebab-case, and dot.case — when to use each style, with examples for JavaScript, Python, URLs, databases, and APIs.
Developer
What Is camelCase? A Developer's Guide
camelCase joins words without spaces or underscores. See how it works in JavaScript, JSON, and API fields — and how it differs from PascalCase and snake_case.