Kebab Case Converter
Convert text to kebab-case format for URLs and CSS classes
About Kebab Case Converter
Overview
The Kebab Case Converter turns text into kebab case, which is often used for URLs and CSS class names. It replaces spaces and underscores with hyphens and makes all the text lowercase. For example, "my page title" becomes "my-page-title". This is a popular style in web development because it helps with SEO and makes code easier to read.
Features
- Changes text to kebab case.
- Replaces spaces and underscores with hyphens.
- Works with camelCase input.
- Makes all output lowercase.
- Takes out special characters.
- Removes extra hyphens.
- Supports over 40 character encodings.
- Live mode for real-time conversion.
- Can process text line by line.
- Lets you upload files up to 100MB.
- One-click copy to clipboard.
- Lets you download the result as a text file.
- All work is done in your browser to keep your data private.
- Has a dark mode for easier viewing.
- Works well on mobile devices.
How to Use
- Put your text in the input box.
- Choose a character encoding. UTF-8 is the default and usually the best choice.
- Turn on "Line by line" to convert many names at once.
- Use "Live Mode" for instant conversion as you type. This only works with UTF-8.
- Click "CONVERT TO KEBAB CASE" to change your text.
- Use "Copy to Clipboard" to save the result, or "Download" to get it as a file.
FAQ
What is kebab case?
Kebab case is a way of writing where words are in all lowercase and separated by hyphens. It is often used in web development for things like URL slugs and CSS class names because it is easy to read and good for SEO.
Why is it called kebab case?
It is called kebab case because the hyphens look like a skewer going through the words. It is also sometimes called "spinal case".
Is kebab case the same as snake case?
No, they are not the same. Kebab case uses hyphens (-), while snake case uses underscores (_). For example, `my-variable-name` is kebab case, and `my_variable_name` is snake case.