HandyBench

URL Slug Generator

SEO-friendly slugs with stop-word removal.

How to use the URL Slug Generator

  1. 1 Enter your page or post title.
  2. 2 Tick or untick "Remove common stop words".
  3. 3 Copy the clean slug.

How a title becomes a slug

A slug is the readable last part of a URL, such as ultimate-guide-online-marketing in /blog/ultimate-guide-online-marketing. This generator applies its steps in a fixed order:

  1. Stop words (optional). With the checkbox ticked, the text is split on spaces and any word matching one of 16 stop words is dropped, ignoring case and any punctuation stuck to its edges: a, an, and, the, or, but, of, to, in, on, at, for, with, is, are, was. If that would leave nothing, the full title is used instead.
  2. Accents. Accented Latin letters lose their marks ("é" becomes "e", "ü" becomes "u"), and a few letters are spelled out: "ß" becomes "ss", "æ" becomes "ae", "ø" becomes "o".
  3. Lowercase everything.
  4. Strip punctuation and symbols. Letters and digits from any script are kept, and spaces, hyphens, underscores and dashes all count as word breaks.
  5. Join the remaining words with single hyphens, so there are never hyphens at the start or end, or two in a row.

Worked examples

InputStop words removedStop words kept
The Ultimate Guide to Online Marketingultimate-guide-online-marketingthe-ultimate-guide-to-online-marketing
10 Best Café Spots in Zürich!10-best-cafe-spots-zurich10-best-cafe-spots-in-zurich
Cats & Dogs: A Love Storycats-dogs-love-storycats-dogs-a-love-story
Guide to the Top-10 Toolsguide-top-10-toolsguide-to-the-top-10-tools

Edge cases that surprise people

  • Only listed words are stop words. "(And Why It Matters)" becomes why-it-matters, because "(And" counts as "and" once its bracket is ignored. "Is It Worth It?" becomes it-worth-it, because "Is" is removed but "It" is not on the list.
  • Apostrophes join, underscores split. "Don't" becomes dont, while "snake_case" becomes snake-case. Google's URL guidance recommends hyphens to separate words, which is what the underscore turns into.
  • Other scripts are kept. "Привет мир" becomes привет-мир, and Japanese, Arabic or Greek titles work the same way. Browsers show such slugs as typed, but they are percent-encoded when copied or shared, so a Cyrillic word turns into a long run of %D0%BF-style codes. For an ASCII-only URL, transliterate the title first.
  • Stray dashes are cleaned up. "- Intro" gives intro, with no leading hyphen.
  • No length limit. The slug is never truncated, so shorten long titles yourself. Three to six meaningful words is a common target.

Slug choices that matter later

Keep the slug stable once the page is live, because changing it breaks inbound links and splits ranking signals unless you add a 301 redirect; the redirect generator writes those rules. Leave dates out of slugs for evergreen pages, since a year in the URL ages badly. If you want underscores as the separator, or no stop-word logic at all, the text to slug converter offers a separator choice. Related reading: meta description best practices covers the other on-page text that appears next to the URL in results.

Examples

  • ▸ "The Ultimate Guide to Online Marketing" becomes ultimate-guide-online-marketing with stop words removed, or the-ultimate-guide-to-online-marketing with them kept.
  • ▸ "10 Best Café Spots in Zürich!" becomes 10-best-cafe-spots-zurich: accents are stripped, punctuation is removed and everything is lowercased.

Frequently asked questions

Should I remove stop words from slugs?

Removing words like "the", "a" and "of" makes slugs shorter and keyword-focused, though keeping them can read more naturally. Both are fine.

What makes a good URL slug?

Keep it short, lowercase and hyphen-separated, with your main keyword and no special characters or spaces. Concise, descriptive slugs are easier to read and share.

Should I change a slug after publishing?

Avoid it where possible — changing a live URL breaks existing links. If you must, set up a 301 redirect from the old slug to the new one to preserve traffic and ranking.

Which words does the stop-word option remove?

Sixteen: a, an, and, the, or, but, of, to, in, on, at, for, with, is, are and was. Punctuation attached to a word is ignored when matching, so "(And" is removed too. If a title is made only of stop words, the full title is used rather than returning an empty slug.

What happens to non-English characters?

Accented Latin letters are converted to plain ones (é becomes e, ß becomes ss). Letters from other scripts such as Cyrillic, Japanese or Arabic are kept and lowercased where that applies, so "Привет мир" becomes привет-мир. Those characters are percent-encoded when the URL is copied, so transliterate first if you need a plain ASCII URL.

Should I use hyphens or underscores in a slug?

Use hyphens. Google recommends them for separating words in URLs, and this tool treats underscores as word breaks, so "snake_case" becomes "snake-case".

Related guides