Skip to the content

kebab-case Converter

Lowercase words joined by hyphens.

Writing

Code

For fun

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

Example

Before
Main Navigation Menu
After
main-navigation-menu

Good to know

  • The usual style for CSS class names, HTML attributes, file names and the readable part of a URL.
  • For a URL slug you probably also want accents removed. The slug generator does that.
  • Each line is converted separately.

All 15 cases are compared side by side on the case converter page.

See all 9