Slug generator
Turn a title into a clean URL slug, one per line.
One per line. Each becomes its own slug.
Google reads a hyphen as a word break and an underscore as a joiner.
Drops a, the, of, to and similar. Shorter, but it can change the meaning.
Slug
Before you ship this
- Note: Enter a title to turn into a slug.
How to use it
- Paste one title per line.
- Keep the hyphen separator — Google reads an underscore as joining words, not separating them.
- Turn on filler-word removal for long titles, but check the result still makes sense.
- Copy the slugs.
What a slug is for
It names the page for humans. It appears in the search result, in the link someone pastes into a message, and in the breadcrumb. Its effect on ranking is small; its effect on whether a link looks trustworthy is not.
That argues for short, specific and permanent: a slug you will not want to change, because changing it means a redirect and a small loss every time.
Hyphens, always
Underscores join words as far as Google is concerned, so the two halves of an underscored compound are read as a single term. Hyphens separate them. This has been the documented recommendation for well over a decade.
Removing filler words is a judgement call
Dropping a, the and of shortens a slug without losing much. Dropping "how" and "to" loses a great deal — how-to-x and x are different pages answering different questions.
This tool keeps those two deliberately, and removes the rest only when you ask it to.
Never change a slug that is already live
A slug is a URL. Changing it on a page that has been indexed throws away every link and every ranking signal pointing at the old address unless you add a 301 redirect from old to new. Tidying slugs across a site without redirects is one of the fastest ways to lose traffic you already had.
Accented and non-Latin characters are legal in URLs but get percent-encoded into unreadable strings when copied, which is why transliterating to ASCII is usually the better default.
Slug generator FAQ
Should a URL slug use hyphens or underscores?
Hyphens. Google has said for years that it reads a hyphen as a word separator and an underscore as a joiner, so title_tag is read as one term and title-tag as two.
How long should a slug be?
Long enough to say what the page is, short enough to read in a search result. Everything past the first few meaningful words adds length without adding meaning.
Can a slug contain non-English characters?
Yes, and for a non-Latin language it usually should. Browsers handle them and they are readable to the people searching. A transliteration into Latin letters is often worse than the original script.
Should the date be in the URL?
Not for anything you intend to keep. A date in the path makes a page that is updated every year look permanently stale, and it is the main reason publishers end up either stranding good content or doing a large migration. Keep dates in the page, not the URL.
Should the category be in the slug?
Either way works, and Google has said flat and nested structures are treated the same. A category segment makes the breadcrumb and the URL readable, and it becomes a liability the day something moves category. If you nest, keep it to one level.
Does slug length affect rankings?
Barely, if at all. The measurable effect is on people: a short, readable URL is more likely to be clicked, linked and pasted correctly. Keyword-stuffed slugs with eleven hyphens do no good and look like the spam they imitate.
Should the main keyword be in the slug?
Where it reads naturally, yes — it is a small, cheap relevance signal and it makes the URL self-describing. It is not worth distorting the slug for, and it certainly is not worth repeating.
Can I use capital letters?
Avoid them. URLs are case-sensitive on most servers, so Page and page can be two different pages serving the same content, which is a duplicate-content problem created for no benefit. Lowercase everything and redirect the variants.
What if I have to change a live slug?
Redirect the old one with a 301 and leave the redirect in place permanently. Expect a short dip while the change is recrawled. Changing a slug for a small keyword improvement is almost never worth the disruption; changing one because the page is now about something else is.
Should I include numbers like the year?
Only if you are prepared to maintain them. A slug containing 2026 needs a decision every January: update it and redirect, or let it age. Keeping the year in the title and out of the URL gives you the search benefit without the annual migration.