Slug Generator
Convert any text into a clean, lowercased, hyphen-separated URL slug. Accented characters decompose to ASCII, punctuation disappears, repeated separators collapse — and you can process a list of lines at once.
From article title to clean slug
Accents disappear, punctuation drops, spaces become hyphens — but you can paste an entire list and slugify all rows at once.
10 Things About Café Culture in Paris!
10-things-about-cafe-culture-in-paris
What you'll use this for
Any place where text becomes part of a URL, filename, or identifier.
Blog permalinks
Generate a clean URL for every post title before publishing.
Filenames
Sanitize a list of filenames for cross-platform safe naming.
DB string IDs
Stable, human-readable identifiers for slugs columns in databases.
SEO-friendly URLs
Search engines and humans both prefer descriptive URLs over ?id=42.
How to slugify text
Paste text
One title, or a list of titles (one per line). The tool processes each line independently.
Pick a separator
Hyphen is the URL standard, underscore for filenames, dot for some CMSes.
Tune options
Lowercase, strip accents, collapse repeated separators, optional max length.
Copy or download
Use the action bar to copy or save as .txt.
Frequently asked questions
A slug is the human-readable part of a URL — usually a lowercased, hyphen-separated string that identifies a page. In /blog/hello-world, "hello-world" is the slug.
By default they're stripped using Unicode NFD decomposition — "café" becomes "cafe", "naïve" becomes "naive". Toggle Strip accents to keep them as-is.
Yes. The separator selector accepts hyphen, underscore, dot, or empty (concatenated). Hyphen is the SEO-recommended default.
Non-ASCII letters are removed after accent stripping — only a-z 0-9 survives in the output. For Cyrillic, Greek, or CJK slugs you'd want a transliteration library.
No — collisions are easy when titles only differ by punctuation. Append a number, date or short hash in your application layer to enforce uniqueness.
About URL slugs
The term "slug" comes from newspaper typesetting, where it referred to a short label identifying a story. On the web, the same word now means the readable bit of a URL — a substitute for a numeric ID that's friendlier to humans, search engines, and link sharing.
Slug best practices
- Lowercase — avoids case-sensitivity bugs.
- Hyphens, not underscores — search engines treat them as word boundaries.
- ASCII-only — no encoding ambiguity in routes and analytics.
- Short — keep slugs under ~70 characters where possible.