Skip to content

Text Tools

Generate a URL slug

Turn one title or a whole list of them into clean, lowercase, hyphenated slugs.

  • Free, no signup
  • No upload — runs on your device
  • No watermark
  • Unlimited use

URL Slug Generator

Processed locally

Hyphens, not underscores, and it is not a style preference

Google has stated plainly that it treats hyphens as word separators in URLs and underscores as word joiners. word-counter is read as two words. word_counter is read as one token, wordcounter, which matches nothing anyone searches for. This is one of the few SEO claims that comes directly from Google rather than from inference.

Length is the second decision. Slugs beyond roughly 60 characters get truncated with an ellipsis in search results, and a truncated URL is a slightly weaker signal of what the page is about. Removing stop words — a, the, of, in — buys you room without losing meaning, because nobody searches for them and they carry no ranking weight.

The third is permanence. A slug is a promise. Changing it breaks every inbound link and forfeits the accumulated authority unless you configure a 301 redirect. Get it right before you publish, and then leave it alone.

How it works

  1. Paste a title, or a list of titles one per line
  2. Choose a separator and whether to strip stop words
  3. Copy the slugs
Why nothing uploads. Every operation on this page happens inside your browser using JavaScript and WebAssembly. Your file is read into memory, processed, and offered back as a download. It is never transmitted. Disconnect from the internet after this page loads and the tool keeps working.

Frequently asked questions

Should I use hyphens or underscores in a URL?
Hyphens. Google treats them as word separators and underscores as word joiners, so my_page reads as one meaningless token while my-page reads as two words.
How long should a URL slug be?
Under about 60 characters. Longer slugs are truncated in search results. Removing stop words is the easiest way to shorten one without losing meaning.
Should I remove words like "the" and "of"?
Usually yes. They add length, carry no search weight, and nobody types them. Keep them only when removing them makes the slug ambiguous or unreadable.
What happens to accented characters?
They are converted to their unaccented equivalents — "café" becomes "cafe". Non-ASCII URLs work technically but are inconsistently displayed and awkward to share.
Can I change a slug after publishing?
You can, but every inbound link breaks unless you set up a 301 redirect from the old URL. Decide before you publish.