🍢
kebab-case Converter
Convert text to kebab-case format
0 characters 0 characters (no spaces) 0 words 0 sentences 0 lines
About kebab-case Converter
The kebab-case Converter transforms your text into kebab-case format, where all letters are lowercase and words are separated by hyphens. This naming convention is widely used for URLs, CSS class names, and HTML attributes. It is also known as "hyphen-case" or "spinal-case".
Examples
Before
Hello World
After
hello-world
Before
userProfilePage
After
user-profile-page
Before
My Component Name
After
my-component-name
Common Use Cases
URL Slugs
Create SEO-friendly URLs
CSS Classes
Name CSS classes (BEM style)
HTML Attributes
Custom data attributes
How to Use kebab-case Converter
- 1
Enter Your Text
Type or paste your text into the input box above. You can also click "Load Sample" for example text.
- 2
See Instant Results
Your text is automatically converted as you type. The result appears in the output box in real-time.
- 3
Copy or Download
Click "Copy" to copy to clipboard, or "Download" to save as a .txt file. Use "Swap" to convert again.
Frequently Asked Questions
kebab-case is a naming convention where all letters are lowercase and words are separated by hyphens (-).
The words separated by hyphens look like pieces of food on a kebab skewer, hence the name.
Use kebab-case for URLs, CSS class names, HTML attributes, and npm package names.