Skip to content
Copywriter Text Toolkit

Convert to kebab-case

Open the toolkit

Free, no sign-up, nothing leaves your browser.

Worked example

Lowercase words joined with hyphens.

Input
the quick brown fox jumps over the lazy dog
Output
the-quick-brown-fox-jumps-over-the-lazy-dog

Acronyms

The identifier formats stand or fall on acronyms. A converter that splits on every capital turns XMLHttpRequest into x_m_l_http_request. The rule is to break before a capital that begins a real word, which keeps XML whole — and to leave plurals like IDs alone.

Input
XMLHttpRequest
Output
xml-http-request

Words detected: XML + Http + Request

The rules

The identifier formats stand or fall on acronyms. A converter that splits on every capital turns XMLHttpRequest into x_m_l_http_request. The rule is to break before a capital that begins a real word, which keeps XML whole — and to leave plurals like IDs alone.

Every format

The same phrase in all twelve formats. The row marked with an asterisk is this page's format.

FormatResult
UPPERCASETHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lowercasethe quick brown fox jumps over the lazy dog
Sentence caseThe quick brown fox jumps over the lazy dog
Title CaseThe Quick Brown Fox Jumps Over the Lazy Dog
camelCasetheQuickBrownFoxJumpsOverTheLazyDog
PascalCaseTheQuickBrownFoxJumpsOverTheLazyDog
snake_casethe_quick_brown_fox_jumps_over_the_lazy_dog
kebab-case *the-quick-brown-fox-jumps-over-the-lazy-dog
CONSTANT_CASETHE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
dot.casethe.quick.brown.fox.jumps.over.the.lazy.dog
aLtErNaTiNgtHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg
iNVERSETHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG

Related tools