SEO · URL Optimization

URL slug generator.

Turn titles and phrases into clean, lowercase, hyphenated URL slugs. Optional stop-word stripping and length capping for tighter SEO.

Advertisement

Input

Options

Generated slug

Enter a title and press Generate.

What makes a good URL slug?

What a slug is and why it matters

MDN defines a slug as the unique identifying part of a web address, typically at the end of the URL. In https://example.com/blog/trail-shoe-guide/ the slug is trail-shoe-guide. People read it in the address bar, in shared links and in search results, and Google's URL structure guidance asks for readable words rather than long ID numbers where possible. A slug is not a ranking switch; its job is to describe the page plainly, stay stable, and avoid creating duplicate addresses for the same content.

Exactly what this generator does

The steps are the same every time, in this order:

  1. Lowercase the text if "Force lowercase" is ticked.
  2. Normalize accented letters to their base letters, so café becomes cafe and crème brûlée becomes creme brulee.
  3. Delete every character that is not a letter, digit, space or hyphen. That includes apostrophes, ampersands, underscores, slashes and punctuation, so Don't becomes dont and snake_case becomes snakecase.
  4. Turn runs of spaces into single hyphens and split into words.
  5. If "Remove common stop words" is ticked, drop the stop words of three letters or fewer from its list: a, an, and, are, as, at, be, by, for, has, he, in, is, it, its, of, on, the, to, was. Four-letter entries on the list (from, that, will, with) are kept by this version.
  6. If "Limit word count" is ticked, keep only the first N words that remain.

Letters outside the basic Latin alphabet that do not decompose into a base letter, such as Chinese characters, Arabic script or the German sharp s, are removed. If your titles are in such a language, a transliterated slug is still possible but you need to write it by hand, or keep native characters and percent-encode them, which is what Google's documentation recommends for non-ASCII characters in links.

Worked examples

Input and output with default options (lowercase and stop-word removal on)
TitleSlug
The 10 Best Trail Shoes for Wide Feet (2026 Guide)10-best-trail-shoes-wide-feet-2026-guide
Crème Brûlée: Recipe & Tipscreme-brulee-recipe-tips
Don't Panic: What's Next?dont-panic-whats-next

With "Limit word count" ticked and the default of 5 words, the first title shortens to 10-best-trail-shoes-wide. Notice what that cap does: it keeps the first five words after stop words are removed, so the year and the word "guide" drop off. A length limit is a blunt tool, so read the result and re-order your wording if the cut removes the keyword you wanted.

Best-practice rules, and where they come from

Common mistakes

Who this is for and what it does not cover

Use it when you are naming a page, a blog post, a category or a campaign value and want consistent, lowercase, hyphenated text. It does not check whether the slug is already taken on your site, create redirects, translate text, or follow any particular CMS's own slug rules; some systems apply extra normalization of their own. For the page title that goes with the slug, use the Title Tag Checker, and for making consistent campaign values see the UTM Link Builder.

Frequently asked questions

What is a URL slug?

A slug is the unique, human-readable part of a web address that identifies a page, usually the last segment. In example.com/blog/trail-shoe-guide/ it is trail-shoe-guide. This generator builds one from a title by lowercasing, removing accents and punctuation, and joining words with hyphens.

How long should a URL slug be?

Google's documentation does not set a length limit. The common advice of three to five words is a rule of thumb for keeping addresses readable, so aim for the shortest slug that still describes the page. The Limit word count option keeps only the first N words that remain after stop words are removed.

Should I use hyphens or underscores in a slug?

Hyphens. Google's URL structure guidance recommends hyphens to separate words instead of underscores. This tool removes underscores entirely, so snake_case turns into snakecase, and joins every other word break with a hyphen.

Does the slug need to be lowercase?

It is strongly advisable. Google's documentation says URL handling is case sensitive and treats /APPLE and /apple as distinct URLs, so mixed case can create duplicate addresses. The Force lowercase option is on by default for that reason.

Which stop words does it remove?

When the option is on it removes a, an, and, are, as, at, be, by, for, has, he, in, is, it, its, of, on, the, to and was. Four-letter entries on the internal list (from, that, will, with) are kept by this version, so check the result if you expected them to go.

What happens to accented or non-English characters?

Accented Latin letters are reduced to their base letters, so cafe replaces the accented spelling. Characters that have no base-letter form, such as Chinese or Arabic script, are dropped entirely, so write a transliterated slug by hand for those titles.

Can I change a slug after the page is published?

You can, but treat it as a move: the old URL must permanently redirect to the new one or links and bookmarks will break. For new content it is better to settle the slug before publishing.

Sources

Each source was opened and checked against the statements above in October 2026. Standards and vendor documentation change; follow the links for the current text.

Copied to clipboard
Advertisement
Advertisement