Skip to main content
CaseSwitch

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

  1. Paste your article title, phrase, or variable name.
  2. 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.

Related tools