kebab-case

Convert text to kebab-case

Input Text

Paste or type your text here

Output Text

Processed text will appear here

How It Works

Convert text to kebab-case

Convert any text to kebab-case format where words are lowercased and separated by hyphens. The standard format for URL slugs, CSS class names, HTML attributes, and file names in web development.

Key Features

  • Converts any text to kebab-case
  • All lowercase with hyphen separators
  • Handles camelCase, PascalCase, and snake_case input
  • Strips special characters

How to Convert Text to kebab-case

  1. 1

    Enter text

    Type or paste text to convert.

  2. 2

    kebab-case is generated

    The formatted string appears instantly.

  3. 3

    Copy result

    Copy the kebab-case string.

Common Use Cases

  • Creating URL slugs from page titles
  • Formatting CSS class names (BEM methodology)
  • Generating HTML data attributes
  • Creating web-friendly file names

Frequently Asked Questions

Why is it called kebab-case?
The hyphens between words resemble a skewer through pieces of meat, like a kebab. Also known as "spinal-case" or "lisp-case".

Related Text Tools