Global · Tier-1 optimized
Free kebab case converter and hyphenated text generator FREE

kebab-case Converter: Convert Words to Kebab Case A hyphenated text generator for URLs, CSS class names and file names.

A kebab case converter that turns a phrase, a camelCase name or a snake_case identifier into kebab-case in one click. It splits the input into words, then joins them with hyphens and lowercases the result — the convention for URLs, CSS class names and HTML attributes. Free, client-side, and under 50 ms.

Your text never leaves the browser Works offline after load No ads, no signup, no uploads
kebab-case Converter — live, in your browser
0 Characters
0 Words
0 Sentences
0 Lines
0 min Read time
Instant answer

How do you convert words to kebab-case?

To convert words to kebab-case, paste them above and click kebab-case. The converter splits the text into words on spaces, capitals, underscores and dots, lowercases each word and joins them with hyphens, giving a hyphenated string such as convert-words-to-kebab-case that is safe in a URL and a CSS class name.

How to

How to convert words to kebab-case in 3 seconds

From a plain phrase to a clean, hyphenated kebab-case string.

  1. STEP 01

    Paste your words

    Drop in a title, a sentence, a camelCase variable or a snake_case name. The converter reads the words it contains.

  2. STEP 02

    Click kebab-case

    The words are lowercased and joined with hyphens instantly, giving a kebab-case string.

  3. STEP 03

    Copy the kebab-case result

    One click copies the result, ready to paste into a URL, a CSS file or an HTML attribute.

Why it matters

When to use kebab-case

kebab-case is the convention for URLs, CSS class names and HTML attributes. Hyphens are safe in a slug and read clearly, which is why search engines and browsers handle them without trouble.

URL slugs

kebab-case is the standard for a readable, SEO-friendly URL slug such as my-page-name.

CSS class names

Most CSS conventions use kebab-case for class names, which also matches HTML attribute style.

File names

Hyphenated lowercase file names are safe across Linux, macOS and servers, with no case-sensitivity surprises.

Handles any input

camelCase, PascalCase, snake_case and dot.case input are all split into words before re-joining.

Pairs with a slug tool

Convert to kebab-case here, then paste into the URL Slug Generator to strip accents and punctuation.

Nothing uploaded

The conversion runs in your browser, so your text never leaves the device.

Format & benchmark reference

Every case format, with an exact example

These are the exact strings the engine returns for one sentence. Copy the row that matches the casing you need, or paste your own text and pick the same format above.

FormatExample output
Sentence caseConvert text and code in your browser.
Title CaseConvert Text and Code in Your Browser.
UPPERCASECONVERT TEXT AND CODE IN YOUR BROWSER.
lowercaseconvert text and code in your browser.
camelCaseconvertTextAndCodeInYourBrowser
PascalCaseConvertTextAndCodeInYourBrowser
snake_caseconvert_text_and_code_in_your_browser
kebab-caseconvert-text-and-code-in-your-browser
CONSTANT_CASECONVERT_TEXT_AND_CODE_IN_YOUR_BROWSER
  • <50 ms execution — a single pass over the text, in the browser tab.
  • 100% client-side — no upload, no server round-trip, no logging.
  • 0 ads, 0 signups — nothing between you and the converted text.
  • Works offline after the page loads, because no conversion step calls the network.
Worked examples

Before and after: real conversions

Each row is a conversion this engine performs. The left column is the input, the right column is exactly what you get when you click the matching case button above.

UseInput Output
Page titleBest Case Converter Tools 2026best-case-converter-tools-2026
camelCasegetUserAccountNameget-user-account-name
snake_casemax_retry_countmax-retry-count
CSS classPrimary Button Largeprimary-button-large
Common mistakes

What people get wrong, and how to avoid it

Three mistakes account for almost every casing problem. Recognising them saves a round of editing later.

Leaving capitals in the slug

A URL slug with capitals works, but it creates two addresses for one page if a server is case-sensitive. kebab-case keeps the slug lowercase and unambiguous.

Keeping punctuation

Question marks, apostrophes and ampersands do not belong in a slug. The converter strips them as it splits words, which is why it pairs well with a dedicated slug tool.

Using underscores instead of hyphens

Google treats hyphens as word separators and underscores as joiners, so my_page_name reads as one word while my-page-name reads as three. Use hyphens for URLs.

In depth

How kebab-case conversion works

How the converter splits words

The input is split on spaces, capitals, underscores and dots, then rejoined with hyphens in lowercase. That makes it equally useful for a headline, a camelCase variable and an existing slug that needs cleaning.

kebab-case versus snake_case

The words are the same; only the joiner differs. kebab-case uses hyphens and suits URLs, CSS and file names; snake_case uses underscores and suits Python and SQL.

kebab-case in the browser

CSS class names and HTML attributes are the natural home of kebab-case, because HTML attribute values are case-insensitive and hyphens are unambiguous there.

Punctuation, symbols and URL safety

Kebab case keeps letters and digits and turns every separator into a hyphen, so punctuation cannot survive: C++ & C# becomes c-c, and a/b test becomes a-b-test because the slash is a word boundary. Runs of spaces collapse to a single hyphen and leading or trailing spaces are dropped, which is exactly what you want before a string goes into a URL path. Accented letters are preserved rather than transliterated, so café stays café — pair this converter with the URL slug generator if you need ASCII-only output.

Head to head

ToolGuest vs. legacy kebab case converters

A hyphenated text generator is only useful if it understands identifiers. The table shows the difference.

CapabilityToolGuest Legacy converters
Supported casing formats13 — writing and developer casesBasic text case only
Developer identifiers (camelCase, PascalCase, snake_case, kebab-case)Built inNot supported
Ads & popups0, everHeavy display ads
Execution speed<50 ms, instant localPage reloads and clutter
Privacy & data uploads100% client-side, nothing uploadedAd trackers and uploads
Offline capabilityWorks offline after loadNeeds a connection
Signup, cookies or accountNoneConsent walls and trackers
FAQ

kebab-case questions, answered

How do I convert words to kebab-case?

Paste the words and click kebab-case. The converter splits them into separate words, lowercases each one and joins them with hyphens, giving a string such as my-page-name.

What is the difference between kebab-case and snake_case?

Both join lowercase words, but kebab-case uses hyphens, as in my-page-name, while snake_case uses underscores, as in my_page_name. Kebab-case is the convention for URLs and CSS; snake_case is the convention for Python and SQL.

Can I use kebab-case in a URL?

Yes, and you should. kebab-case is the standard for URL slugs because hyphens are safe and readable, and search engines treat them as word separators.

Does the converter handle camelCase input?

Yes. It splits existing camelCase and PascalCase into separate words, so getUserName becomes get-user-name.

Is my text uploaded when I convert it?

No. The conversion is plain string manipulation in your browser tab, so your text is never transmitted, stored or logged.

Is this kebab case converter free?

Yes. It is completely free, needs no account, and carries no ads or tracking.

Specialized Text & Code Case Converters

Every page below runs the same 13-format engine in your browser, so a conversion behaves identically wherever you land. Pick the page that matches your writing or developer task.