Skip to content
Categories
Slug Generator
Generate a URL-friendly slug from text.
Overview
- Generates a URL-friendly slug (e.g. hello-world) from text such as a blog title.
- Letters are all converted to lowercase, and whitespace and symbols are converted to the chosen separator (- or _).
- Hiragana, katakana, and kanji are kept as-is, so slugs can also be generated from Japanese titles.
Usage
- Enter the title or text you want to convert into a slug.
- Choose a separator (- or _).
- Click "Generate Slug" to see the result below.
Example
Input
Hello, World!
Output
hello-world
Use Cases
- Creating a URL slug from a blog post or page title
- Mechanically generating a filename or path string for use in a CMS or SSG, from a title
- Converting varied title formats into unified slugs to keep URLs consistent
FAQ
Can Japanese text be converted too?
Yes. Hiragana, katakana, and kanji are kept as-is; only whitespace and symbols are converted to the separator.
Are letters converted to lowercase?
Yes, all letters are converted to lowercase.
What happens if I enter only symbols?
Since the result would be empty after conversion, an error message is shown instead.
Notes
- All letters are converted to lowercase. Case-sensitive slugs are not supported.
- Non-ASCII characters such as hiragana, katakana, and kanji are kept as-is. No conversion to romaji is performed.
- Input that becomes an empty string after conversion, such as a symbols-only string, results in an error.
Related Tools
Convert text to camelCase, snake_case, and other naming conventions.
Generate multiple passwords by specifying character types and length.
Generate multiple random strings by specifying character types and length.