Slug Generator
Convert text into URL-friendly slugs. Strips diacritics, collapses whitespace, removes special characters.
About Slug Generator
Slug Generator turns any text into a clean, URL-friendly slug: it strips accents and diacritics, collapses whitespace, and removes special characters, leaving lowercase words joined by hyphens. Reach for it when you're crafting a permalink, a file name, or an anchor ID from a title. It runs in your browser, so your draft titles never leave the page.
- Category
- create
- Input
- Accepts: text/plain.
- Output
- Outputs: text/plain.
- Cost
- Free, runs in your browser
- Memory
- low
Common uses
- Generate a blog-post permalink from an article headline
- Turn a product name with accents like 'Café Crème' into a safe 'cafe-creme' URL segment
- Create a stable anchor ID from a section heading for in-page links
- Produce a tidy file name from a document title with punctuation removed
- Make a consistent slug for a CMS entry before publishing
- Convert a tag or category label into a clean URL token
Frequently asked questions
What does it do to accented characters?
It strips diacritics, so 'é' becomes 'e' and 'ü' becomes 'u', producing ASCII-safe slugs.
How are spaces and symbols handled?
Whitespace is collapsed and converted to hyphens, and special characters are removed, leaving lowercase words separated by single hyphens.
Does it upload my text?
No. Slug generation happens entirely in your browser; nothing is sent to a server.
What input format does it accept?
Plain text (text/plain) — type or paste the title you want to slugify.
How is this different from kebab-case in the Case Converter?
Slug goes further: it also removes diacritics and strips punctuation that kebab-case would otherwise leave behind, so the result is URL-safe.
Will it produce duplicate hyphens?
No. Repeated separators are collapsed so you get single hyphens between words.
Keywords
- slug
- url
- permalink
- sanitize
- kebab
- friendly