Slug Generator
Turn titles into clean, lowercase URL slugs. Handles accents, symbols and punctuation properly, one per line for a whole list.
Related tools
All Text tools →This tool runs entirely in your browser. Nothing you enter is sent to our servers, so there is nothing for us to store or see.
About the Slug Generator
Turn a title into the part of a URL that goes after the last slash: lowercase, hyphen-separated, with punctuation and symbols removed and no surprises for a web server.
Accented characters are transliterated rather than deleted. Café Münster becomes cafe-munster, not caf-nster — which is what you get from tools that simply strip anything outside ASCII. Letters that have no accented form to strip get an explicit mapping too, so ß becomes ss, ø becomes o and ł becomes l instead of disappearing and silently shortening the slug.
Symbols that carry meaning are spelled out: & becomes and, % becomes percent, and currency signs become their three-letter codes. Paste a whole list of titles and you get one slug per line, which is how you migrate a blog rather than how you name a single page. Optional length truncation always cuts on a word boundary.
How to use the Slug Generator
-
Paste your titles
One per line in the left box. A single title works just as well as a list of several hundred.
-
Choose a separator
Hyphens are the convention for URLs and what search engines expect. Underscores are there for file names and database keys, where hyphens can be awkward.
-
Set a length limit if you need one
Leave it at zero for no limit. If you set one, the slug is cut on a word boundary rather than mid-word, so it never ends in half a word.
-
Copy or download the result
Slugs appear on the right, one per input line. Copy them to your clipboard or download the list as a text file.
Frequently asked questions
Should a URL slug use hyphens or underscores?
Hyphens. Google has stated for years that it treats a hyphen as a word separator and an underscore as a word joiner, so my_great_post reads as one long token while my-great-post reads as three words. Underscores are fine for file names and database columns, but not for a public URL.
What happens to accented and non-Latin characters?
Accented Latin letters are transliterated to their base letter, so é becomes e and ü becomes u. Letters with no base form, such as ß, ø and ł, have explicit mappings. Scripts with no Latin equivalent at all — Chinese, Arabic, Cyrillic — cannot be transliterated meaningfully and are removed, so those titles need a slug written by hand.
Should I remove stop words like "the" and "of"?
Usually not, which is why the option is off by default. Removing them shortens a slug but can change its meaning: "the-who" becomes "who" and "how-to-be" becomes "how". The SEO benefit is marginal at best, and an unreadable slug costs more in click-through than it gains in keyword density.
How long should a slug be?
Short enough to read in a search result and long enough to say what the page is about — three to six words is the usual advice, roughly 50 to 60 characters. There is no hard limit, but very long slugs get truncated in search listings and are awkward to share.
Can I convert a whole list at once?
Yes. Every line is converted independently and the output keeps the same line order, so a list of 500 article titles comes back as 500 slugs you can paste straight into a spreadsheet column next to the originals.