kebab-case Converter

kebab-case Converter

Convert phrases and identifiers into kebab-case — common in URLs and CSS.

Free
No signup
Instant
Private
Input
0 words • 0 characters • 0 without spaces • 0 lines
Output
0 words • 0 characters • 0 without spaces • 0 lines

Private by design

This conversion runs entirely in your browser. Your text is not sent to a server.

Tip

Passwords, API keys, and some identifiers are case-sensitive. Convert them only when you intend to change the value.

How to convert with kebab-case Converter

  1. Paste or type your text in the input box.

  2. Watch the output update instantly — nothing is uploaded.

  3. Pick another case style to open that converter with the same text.

  4. Copy the result, or use it as the next input.

When should you use it?

  • Writing

    Soften headlines, notes, and chat so the copy reads as normal sentences.

  • Programming

    Match identifier conventions in code, configs, and APIs.

  • URLs

    Prepare hostnames, paths, slugs, and CSS class names.

  • Data

    Normalize names, tags, and imported rows to a single case.

About kebab-case conversion

kebab-case lowercases words and joins them with hyphens. It is common in URLs, CSS class names, and command-line flags. Slugify also folds accents and can cap length; kebab-case is the simpler join.

Worked example: “The Quick BROWN Fox” becomes “the-quick-brown-fox.” CONSTANT_CASE is THE_QUICK_BROWN_FOX. Do not put kebab-case in a JavaScript identifier (use camelCase).

Nothing is uploaded. Convert to keeps input. Slugify is the sibling when the source is a headline with punctuation and accents.

The URL is /tools/kebab-case. We do not percent-encode; URL Encode is the sibling for that. Consecutive hyphens can appear from punctuation — Slugify is stricter about tidy slugs. npm package names often look like this; Java fields usually do not.

Routing tables still need unique paths. This converter does not check a sitemap.

kebab-case Converter examples

Headline

Input
The Quick BROWN Fox
Output
the-quick-brown-fox

Sentence

Input
hello world. this is a TEST.
Output
hello-world-this-is-a-test

Identifier

Input
User Profile Settings
Output
user-profile-settings

Case style comparison

StyleExampleTypical use
lowercasehello world exampleSoft copy, tags, and normalizing user input
UPPERCASEHELLO WORLD EXAMPLEHeadings, acronyms, and short labels
Sentence caseHello world exampleProse, captions, and readable paragraphs
Title CaseHello World ExampleTitles, headlines, and proper names
camelCasehelloWorldExampleJavaScript variables and object keys
PascalCaseHelloWorldExampleTypes, classes, and React components
snake_casehello_world_examplePython, APIs, and database columns
kebab-casehello-world-exampleURLs, CSS classes, and file names
CONSTANT_CASEHELLO_WORLD_EXAMPLEEnv vars, constants, and enum names

kebab-case Converter FAQ

kebab-case only lowercases and joins with hyphens: “The Quick BROWN Fox” becomes “the-quick-brown-fox.” Slugify also folds accents (Café → cafe), can strip symbols, and can cap length for CMS fields. Use kebab-case for identifiers; use Slugify for headlines.

No. Hyphens are minus signs in JS. Use camelCase for identifiers. CONSTANT_CASE is THE_QUICK_BROWN_FOX.

No. Conversion stays in this tab. Convert to keeps input. Related: Slugify, snake_case, Title Case.

No. URL Encode is the sibling for percent-encoding. Consecutive hyphens can appear from punctuation — Slugify is stricter about tidy slugs. npm package names often look like kebab-case; Java fields usually do not. Close the tab to drop the draft. Nothing is uploaded.