kebab-case Converter

code

Transform text into kebab-case format where words are lowercase and separated by hyphens. Commonly used for URLs, CSS class names, HTML attributes, and file names. Also known as dash-case or lisp-case.

kebab-case Converter
Convert text to kebab-case format for URLs and CSS
Characters: 0Words: 0Sentences: 0Lines: 0
Characters: 0Words: 0Sentences: 0Lines: 0

kebab-case Converter - Hyphenate Text

What is a kebab-case converter?

A kebab-case converter turns phrases into lowercase words separated by hyphens. It removes spaces and special characters so the result is URL- and CSS-friendly. Use it to name CSS classes, file paths, or readable URLs. Processing stays in your browser.

How to use the kebab-case converter

  1. Enter text: Paste a phrase, class name, or title.
  2. Convert: Click Convert to see kebab-case output.
  3. Copy or download: Copy the result or save it for your project.

Why use this tool?

  • Web-ready: Perfect for semantic URLs and CSS class names.
  • Consistent: Standardize naming across repos and CMSs.
  • Fast: Avoid manual hyphen insertion and casing mistakes.

Use case 1: URL paths

Turn blog titles into clean slugs like optimize-images-for-web.

Use case 2: CSS class names

Create class names that read well and match BEM-style modifiers.

Use case 3: Asset filenames

Save graphics or downloads with hyphenated names for easy sharing.

Examples

Basic example

Input: Hero Banner Title
Output: hero-banner-title

Advanced example

Input: Product CTA - New!
Output: product-cta-new

Common errors

Extra hyphens

Multiple punctuation marks can create double hyphens. Enable collapse delimiters or edit after conversion.

Accented letters

If accents remain, toggle transliteration to convert them to ASCII.

Tips and proven approaches

Related tools

Privacy and security

Conversion runs locally in your browser. No text is uploaded or stored.

Frequently Asked Questions
kebab-case is a naming convention where words are lowercase and separated by hyphens. Example: "my-variable-name". It's also called dash-case or lisp-case.
kebab-case is commonly used for URLs, CSS class names, HTML attributes, file names, and in languages like Lisp. It's the standard for web URLs and is SEO-friendly.
The name comes from the visual similarity to words on a skewer, like a kebab. The hyphens look like the skewer going through the words.