Text & Regex
Slug Generator
Turn titles, headlines and phrases into clean URL-safe slugs. Tune the separator, case, accents, stop words and length, then copy or download the result. Everything runs in your browser — your text never leaves the page.
Title or text
one slug per linePaste a single title, or one per line to convert a whole batch at once.
Slug output
0 slugsHow it works
Each line is normalised in order: smart punctuation and apostrophes are tidied, accents are folded away, the text is lowercased, common symbols become words, and every run of characters that is not a letter or number becomes a single separator. The words are then joined, optional stop words are dropped, and the slug is trimmed to your maximum length on a word boundary. The optional share link encodes the text and settings in the URL fragment, which stays in your browser.
Practical uses
Turn titles and phrases into URL-safe slugs, one at a time or as a batch.
Common ways to use it
- Create clean post or page URLs from headlines.
- Generate consistent file names or anchor IDs from a list of titles.
A headline to a slug
Input
10 Tips & Tricks for Better CSS
Output
10-tips-and-tricks-for-better-css
Verified with the default options.
Things to keep in mind
- Symbol expansion and stop-word removal are optional, so the same title can produce different slugs depending on settings.