Text to Slug
Turn any title, heading, or arbitrary text into a clean URL slug. Drop in one line for a single conversion or a whole list for a batch job — the converter handles accents, punctuation, and Unicode for you.
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
It converts text into a URL slug — lowercased, hyphen-separated, accents stripped, punctuation removed. Useful for blog permalinks, filenames, slugs columns, or anywhere a piece of text needs to live inside a URL.
Yes — Slug Generator and Text to Slug are the same converter under two common search names. Whichever you bookmark works.
Yes. Paste one title per line in the left editor. The tool returns one slug per line, in the same order.
Non-ASCII letters are removed after accent stripping — only a-z 0-9 survives. For Cyrillic, Greek, or CJK slugs you'd want a transliteration library.
No. Collisions are common when titles only differ by punctuation, so append a number or short hash in your application 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.