How to use the Slug Generator
- 1
Paste titles
One per line for many slugs at once.
- 2
Choose options
Lowercase, remove stop words, dash or underscore.
- 3
Set a maximum length
0 means no limit.
- 4
Copy the slugs
Paste them into WordPress, Shopify or your code.
Features
Clean URLs
Lowercase words joined by hyphens.
Accent removal
Cafés → cafes, São → sao.
Stop words
Drops a, the, of, in, to and similar words.
Length limit
Cut at a word boundary, never mid-word.
Bulk
Convert a whole list of blog titles.
Private
Your text stays in your browser — nothing is uploaded or stored online.
Who uses it — and for what
Bloggers
SEO-friendly post URLs.
Online shops
Product and category URLs.
Developers
Route names and file names.
Files
Safe names without spaces.
What makes a good URL slug
The slug is the readable part of a URL after the domain, such as /how-to-make-a-website. Google recommends simple, descriptive URLs that use words people understand and hyphens to separate them. A good slug is lowercase, short (3–6 words is ideal), contains the main keyword, and has no spaces, accents or symbols that turn into ugly codes like %20.
This generator converts accented letters to plain ones (é → e, ü → u, ß → ss), drops punctuation and emoji, collapses repeated separators, and trims dashes from the ends. Turn on “Remove stop words” to drop filler words like a, an, the, of, and, to for shorter slugs.
Dashes or underscores?
Use dashes for web pages: search engines treat a hyphen as a word separator, while an underscore can join words together. Underscores are common for file names, database keys and programming identifiers. Set a maximum length to keep slugs tidy — the cut happens at a word boundary so words aren’t chopped in half. Paste a whole list of blog titles to convert them all at once.
Your text is processed entirely in your browser — nothing is uploaded, logged or stored on a server, so it is safe for drafts, client documents and private notes.
Should the year be in the slug?
Avoid years for content you will update — “best-cafes-sao-paulo” can be refreshed every year without changing the URL, keeping its links and rankings. Keep years only for one-time events or reports. If you ever change a slug, add a 301 redirect from the old URL.
How the generator handles letters beyond A–Z
Accented letters are split into a base letter and an accent, and the accent is dropped, so é becomes e and ã becomes a. A handful of special letters have their own rules, in both capital and small forms: ß becomes ss, æ becomes ae, œ becomes oe, ø becomes o, and đ and ł become d and l. That gives clean results for most European titles — “Straße, Smørrebrød” becomes strasse-smorrebrod, “Łódź Travel Tips” becomes lodz-travel-tips, “Æsir Myths” becomes aesir-myths and “Œuvre” becomes oeuvre.
Other alphabets are not converted: Greek, Cyrillic, Devanagari and other scripts are removed entirely, so check slugs for such titles by eye.
When removing stop words goes wrong
The stop-word list is short and generic — words like a, the, to, is, be, it and of. It works well on long, descriptive titles, but can wreck short ones whose meaning lives in those words: “How to Be or Not to Be” becomes how-not, and the TV title “The It Crowd” becomes just crowd. If every word in a line is a stop word, the generator keeps them all rather than return nothing. Always read the slug back as a person would before publishing.
Worked examples
Two titles
“10 Best Cafés in São Paulo — 2026 Guide!” → 10-best-cafes-in-sao-paulo-2026-guide
“How to Make a Website: A Beginner’s Guide” → how-to-make-a-website-a-beginners-guide
With stop words removed
10-best-cafes-sao-paulo-2026-guide and how-make-website-beginners-guide
Max length 25
10-best-cafes-in-sao and how-to-make-a-website-a — cut at a word boundary. Removing stop words first gives more meaningful short slugs.
Symbols that carry meaning
“C++ vs C# Guide” → c-vs-c-guide, “Node.js & Express Tutorial” → node-js-and-express-tutorial, “100% Pure Cotton T-Shirts” → 100-pure-cotton-t-shirts. The ampersand becomes “and” and dots become separators, but + and # vanish, so the two languages in the first title end up identical. Spell such terms out — “cpp-vs-csharp-guide” — by editing the result.
Max length with and without stop words
“Ultimate Guide to Buying a Second-Hand Royal Enfield Bike in Bengaluru” with a 50-character limit → ultimate-guide-to-buying-a-second-hand-royal; the model name is cut. Tick Remove stop words as well and the same limit gives ultimate-guide-buying-second-hand-royal-enfield — the small words made room for the meaningful ones.
Pro tips
- Keep slugs to 3–6 meaningful words with the main keyword.
- Use dashes, not underscores, for web pages.
- Remove stop words, then check the slug still reads naturally.
- Set the slug when you first publish. Changing it later means a 301 redirect, and some links and shares will still point at the old address.
- Untick Lowercase and choose the underscore when you need file names such as iPhone_17_Pro_Max_Review rather than web addresses.
Glossary
- Slug
- The readable part of a URL after the domain.
- Stop words
- Common short words like “the” and “of”.
- 301 redirect
- A permanent redirect from an old URL to a new one.
- Transliteration
- Writing a word in another alphabet, such as Hindi भारत as “bharat”; the generator does not do this.
- Percent-encoding
- The %XX codes browsers use for characters not allowed in URLs, such as %20 for a space.
Frequently asked questions
What is a slug in a URL?
The human-readable part that identifies a page, e.g. “best-running-shoes” in example.com/best-running-shoes.
Should slugs include dates or numbers?
Avoid dates if you plan to update the page; keep numbers only when they matter, like “10-best-cafes”.
Can I change a slug later?
Yes, but set up a 301 redirect from the old URL so you don’t lose links and rankings.
Does it handle Hindi titles?
No — letters outside A–Z are dropped, so type an English (or Hinglish) version of a Hindi title.
How are letters like Ł, Æ and Œ handled?
They are converted to plain letters in both capital and small forms, so “Łódź” becomes lodz, “Æsir” becomes aesir and “Œuvre” becomes oeuvre.
What happens to a single very long word with a max length?
If there is no separator to cut at, the word itself is cut at the limit — Supercalifragilisticexpialidocious with a limit of 10 becomes supercalif.
Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Text & Writing (36 tools)