Slug Generator – Create Clean, SEO-Friendly URL Slugs
Turn any title or phrase into a clean URL slug, instantly.
Type or paste a title, choose your options and copy the slug. This free slug generator removes accents and special characters, works entirely in your browser and never uploads your text.
Your text never leaves your device
What is a URL slug, and why does it matter?
A slug is the readable part of a web address that names a page, like best-coffee-shops in example.com/blog/best-coffee-shops. A clean slug tells people and search engines what the page is about before it loads, is easy to read out or share, and doesn't break when pasted into a message. Titles are full of spaces, capitals, accents and punctuation that are unsafe or messy in a URL, so they need converting first.
How Slugification Works
Slugifying is a short chain of clean-up steps, all done instantly in your browser.
1. Clean the characters
Accents are removed (café becomes cafe), letters like ß and æ become ss and ae, apostrophes are dropped and & becomes and.
2. Find the words
Anything that isn't a letter or a number, such as spaces, punctuation and symbols, marks the end of a word. Repeated gaps collapse into one.
3. Apply your options
Optional stopwords are removed, the text is lowercased unless you preserve case, and the length is trimmed at a whole word if you set a limit.
4. Join with a separator
The words are joined with a hyphen, or the separator you chose. There are no leading or trailing separators and no doubles.
Your Text Stays on Your Device
Everything on this page runs in your browser. Your text is never uploaded, logged or stored, which makes it safe for unpublished titles, product names and anything else you'd rather keep to yourself. It's also instant, because there's no server to wait for. It's also fast, because there's no waiting on a server, and it keeps working even if your connection drops after the page has loaded.
Common Uses
Blogging
Turn a post title into a short, readable address before you publish.
SEO
Keep URLs short, lowercase and descriptive, with the words people search for and none of the clutter.
CMS pages
Fill in the slug field for pages, categories and tags in WordPress, Ghost, Webflow or any other CMS.
Ecommerce
Create clean product and collection URLs from names that contain sizes, brackets and symbols.
Static site generators
Make file names and permalinks for Astro, Hugo, Jekyll or Eleventy content. Turn on one slug per line to do a whole list.
File names and anchors
Get safe names for files, folders, IDs and heading anchors, using an underscore separator if you prefer.
Works on Mobile and Desktop
The tool works in any modern browser on phones, tablets and computers, with nothing to install. On a large screen your text and the slug sit side by side. On a phone they stack, and every button is sized for touch.