Slug Generator — Create SEO-Friendly URL Slugs Free
Paste a title and get a clean, lowercase, hyphenated URL slug in real time. Remove stop words, set a max length, transliterate accented characters, or convert a whole list of titles at once.
Lowercase is always on — slugs are lowercase by convention, and mixed case creates confusing duplicate URLs.
The redirect export writes one line per title in the form /old-slug → /new-slug. The /old-slug part is a placeholder — replace it with the actual old URL path of each page before you use it in your server or Blogger redirect settings.
What Is a URL Slug?
A URL slug is the readable part of a web address that comes after the domain name — for example, in example.com/how-to-brew-coffee, the slug is how-to-brew-coffee. It is usually a short, lowercase, hyphen-separated version of the page title. A good slug tells both readers and search engines what the page is about before they even open it.
Why Hyphens, Not Underscores?
Use hyphens (-), never underscores (_), between the words in a slug. Google's published guidance says it treats hyphens as word separators, so best-coffee-tips is read as three separate words. Underscores join words together instead, so best_coffee_tips is read as one long word — which makes the slug harder for search engines to understand and harder for people to read.
Worked Examples
These examples were produced by the generator on this page, using the default settings (stop words removed, max length 60):
| Title | Slug |
|---|---|
| The Best Ways to Brew Coffee at Home | best-ways-brew-coffee-home |
| Café Culture in Paris: A Beginner's Guide | cafe-culture-paris-beginner-s-guide |
| How to Grow Tomatoes in Small Spaces | how-grow-tomatoes-small-spaces |
Notice how the first example drops the stop words "the" and "to", and the second example turns "Café" into "cafe" — the accented é becomes a plain e, so the slug works in any browser and any link.
How to Create a Good Slug
- Start from the title. Use the page's main topic as the raw material — the slug should match what the page actually delivers.
- Make it lowercase. URLs can be case-sensitive on many servers, so a lowercase slug avoids broken links and duplicate pages.
- Replace spaces with hyphens. One hyphen between words, and never two hyphens in a row.
- Remove stop words. Short words like "the", "and", "of" and "to" add length without meaning — dropping them keeps the slug tight. (Use the toggle above if you want to keep them.)
- Transliterate accents. Turn é into e, ü into u, ñ into n and so on. Plain ASCII characters travel safely through every browser, email client and chat app.
- Keep it short. Aim for under 60 characters and cut the least important words first if you need to trim. A short slug is easier to share, remember and read in search results.
- Use words people would search for. The slug should contain the page's main keywords, in the same order a person would type them.
Frequently Asked Questions
What characters are allowed in a slug?
Stick to lowercase letters a–z, digits 0–9 and hyphens. Avoid spaces, underscores, capital letters, accents and symbols such as &, ?, # and % — they get encoded into ugly percent-sequences or break links entirely.
Should I change an old slug?
Only if you have a good reason, such as a misleading or badly broken slug. Changing a slug changes the page's URL, so every existing link and search result pointing at the old address will break unless you set up a 301 redirect from the old URL to the new one. If you do change one, add the redirect the same day and update your internal links too.
How long should a slug be?
There is no hard rule, but shorter is better. Slugs under 60 characters are easy to read, share and display in full. This tool warns you when a slug goes over 60 characters so you can trim it before publishing.
Is my text uploaded anywhere?
No. This tool runs entirely in your browser. Your titles never leave your device — there is no server, no account and no tracking of what you type.
Why remove stop words?
Stop words are common little words (a, an, the, and, or, of, to, in, on, for, with, at) that carry almost no meaning on their own. Removing them shortens the slug without changing what it says, which keeps URLs clean and readable.
Can I use this for bulk titles?
Yes — switch to Bulk Mode above, paste one title per line, and you get a slug for each, with its own copy button. You can also download a 301 redirect export file with one "old → new" line per title.