Slug Generator: Turn Titles into SEO-Friendly URLs

Paste your title and get a clean URL slug instantly: no accents, all lowercase, hyphen-separated. With bulk mode and stop-word removal.

What is a slug and why does it matter for SEO?

The slug is the final part of a URL that identifies one specific page: in yoursite.com/slug-generator/, the slug is "slug-generator". A good slug describes the content in a few words, in lowercase, separated by hyphens.

For SEO it matters more than it looks. An SEO-friendly URL tells both the search engine and the user what the page is about before they open it: in search results, a readable slug earns more trust — and more clicks — than a string of numbers or encoded characters. And when someone links to your page using the raw URL as the link text, the words in the slug act as descriptive anchor text. To see how the URL looks next to the title and description in the results, use the SERP simulator. And if your URL already contains accents, the URL encoder shows you how it really looks once encoded.

This slug generator automates the clean-up: it lowercases everything, folds accented letters to their base form and replaces spaces and symbols with hyphens. It can also slugify in bulk — paste several titles, one per line — and strip the stop words that add no meaning.

How to generate a slug step by step

1

Paste the title of your page, article or product into the field above. If you need several, write one title per line and the generator converts them all at once.

2

Adjust the options: choose hyphen or underscore as separator, enable "Remove stop words" for a shorter slug and set a maximum length if your CMS requires one.

3

The result appears instantly. Click "Copy" and paste the slug into the URL field of WordPress, Astro, Shopify or whatever system you use.

URL slug best practices

Short and descriptive

A slug is not the full title: it is its essence. "how-to-bake-bread" works better than "how-to-bake-easy-and-quick-homemade-bread-in-your-own-kitchen-2026". Three to five keywords are usually enough to describe the page without noise.

Hyphens, not underscores

Google's documentation is explicit: hyphens are read as word separators, underscores are not. With "bread_recipe" the search engine sees one long word; with "bread-recipe" it sees two words it can match against what people search for.

No accents or special letters

URLs only allow a subset of ASCII characters; everything else gets percent-encoded. A URL containing "España" turns into "Espa%C3%B1a" when shared: ugly, long and prone to breaking in emails and chats. The generator automatically folds á→a, é→e, ñ→n and also ç→c for Portuguese or French text.

Strip the stop words

Articles, prepositions and conjunctions ("the", "of", "for", "and") lengthen the slug without adding meaning. The "Remove stop words" option filters them out with an English stop-word list: "how-to-write-a-resume-of-500-words" becomes "write-resume-500-words".

Slugs in WordPress, Astro and other CMSs

In WordPress, you edit the slug in the editor panel under "Permalink"; the CMS auto-generates one from the title but usually keeps the stop words, so pasting your own is worth it. In Astro and other static site generators, the slug is simply the file or folder name of the page. In Shopify it is called the "URL handle" and in Blogger, the "custom permalink".

The rule is the same everywhere: settle on the slug before publishing. Changing it afterwards means setting up 301 redirects so you keep your rankings and don't break the links already pointing at your page.

Frequently asked questions

Is the slug generator free?
Yes, it is completely free with no limits. Everything runs in your browser: your text is never sent to a server and no sign-up is needed. You can also generate slugs in bulk by pasting several titles, one per line.
Why hyphens instead of underscores?
Google treats a hyphen (-) as a word separator but an underscore (_) as a joiner: "url-slug" reads as two words, while "url_slug" reads as one. That is why the official recommendation is hyphens. The generator still offers underscores in case your system requires them.
What happens to accents and special letters in a URL?
Browsers percent-encode them: "señal" becomes "se%C3%B1al", which is unreadable and breaks easily when shared. The slug generator folds them first (ñ→n, á→a, ç→c) so the URL stays clean. If you only need that step, try the remove accents tool.
What is the ideal slug length?
Three to five words is usually enough: describe the content without filler. Very long slugs get truncated in search results and are hard to remember. Use the max-length option to trim the slug at a word boundary.
Can I use uppercase letters in a slug?
Technically yes, but you should not: many servers treat /My-Page/ and /my-page/ as different URLs, which can create duplicate content and broken links. The universal convention is all lowercase, and this generator applies it automatically.
What if I want to change a slug that is already published?
Only change it if the new slug is a real improvement, and always set up a 301 redirect from the old URL to the new one. That preserves your accumulated rankings and keeps external links working. Without the redirect, the old URL will return a 404 error.