Slug Generator
About this tool
Convert headings and phrases into lowercase, URL-safe slugs. Pick a separator (hyphen, underscore, dot), optionally keep Unicode characters for CJK titles, and copy a clean path segment for blogs, docs, or file names.
How to use
- Hyphen, underscore, or dot separators
- Optional Unicode character preservation
- Automatic removal of unsafe URL characters
- Live preview as you type
- Enter title: Type the blog post title or product name.
- Choose options: Select separator and whether to keep non-Latin characters.
- Copy slug: Copy the generated slug for your CMS or static site.
Examples
- Generate blog post URL segments in Hugo or Jekyll
- Create consistent file names from document titles
- Build SEO-friendly product page paths
- Slugify Chinese article titles while keeping characters
Limitations
- Non-Latin transliteration is basic when Unicode mode is off
- Does not check for slug collisions in your CMS
- The text entered in the tool is processed directly in your browser and is not sent to a server.
FAQ
- Should I keep Unicode for Chinese titles?
- Modern browsers support Unicode URLs. Enable preserve Unicode if your site and CDN allow percent-encoded CJK paths.
- What characters are removed?
- Punctuation, symbols, and spaces are converted or stripped according to the separator and Unicode settings.
- Is the output always lowercase?
- Yes. Slugs are lowercased for consistency unless Unicode mode preserves original script case rules.