Polysh for agents is in early access. Your coding agent records the demo, and Polysh finishes it. Join the waitlist →

Slug Generator

Get short, lowercase URL slugs from any list of page titles.

Loading your browser tool…

What Slug Generator does

A slug is the readable part of a URL, like /record-your-screen-on-a-mac/. Good ones are lowercase, use hyphens, and leave out punctuation and accents that would turn into %C3%A9 in a link. Paste one title per line and you get a matching slug for each, ready for a blog post, a product page, a help-center article or a docs page.

When two titles produce the same slug, the second gets -2 so every URL stays unique. For help-center and documentation URLs, More options can remove English stop words like a, the and of, and Maximum length cuts long slugs at a word boundary.

Example

Input

How to Record Your Screen on a Mac
Crème brûlée & Café
How to Record Your Screen on a Mac

Result

how-to-record-your-screen-on-a-mac
creme-brulee-cafe
how-to-record-your-screen-on-a-mac-2

The accents and the & are dropped, and the repeated title gets -2 instead of a duplicate URL.

How to use Slug Generator

  1. Paste one title per line under Titles, or click Use example.
  2. Choose a Separator; More options has Maximum length, stop-word removal, Lowercase and Keep non-Latin words.
  3. Click Copy to take all the slugs, one per line.

Good to know

  • Only English stop words are recognized. Titles in other languages keep every word.
  • A leading "How to" loses only "to" when stop words are removed, so slugs start with how-. Edit that by hand for shorter help-article URLs.
  • Duplicates are checked only within the list you paste, not against pages already on your site.
  • Changing a published slug breaks old links. Set up a redirect from the old URL before you rename a page.

Questions about Slug Generator

What is a URL slug?

It is the part of a web address that identifies a page in readable words, after the domain and any folders. In example.com/help/reset-your-password, the slug is reset-your-password.

Should URL slugs use hyphens or underscores?

Hyphens. Google recommends them as word separators, and they are easier to read in a link than underscores. Use the underscore Separator only when a system requires it.

How long should a slug be?

Short enough to read at a glance, usually three to six words or under about 60 characters. Keep the words that describe the page and drop filler. Set Maximum length to cap it; the cut always falls between words.

Should a slug include the year?

Avoid it unless the page really belongs to that date. A slug like best-screen-recorders-2026 has to change, or look stale, next year. Versioned docs are the exception, when each version keeps its own page.