Modern Niche World MNW

URL Slug Generator

Type or paste a title to get a clean slug for its web address. Paste a list, one title per line, to get one slug for each.

Up to 10,000 lines. Nothing you type is sent anywhere.

Options

Separator

The words left out: a, an, and, as, at, by, for, from, in, is, of, on, or, the, to, with.

In characters. Long slugs are cut at a separator, so no word is split.

Everything happens on this page, on your device: nothing you type is sent or saved.

Clean, readable web addresses

A slug is the last part of a web address, the words after the final slash, as in /blog/how-to-fix-a-slow-laptop. A good slug is short, lowercase and readable, with no spaces, punctuation or accents that turn into strings of percent signs when the link is copied. This tool makes one from any title, or one for every line of a list.

How to use it

  1. Type a title, or paste a list with one title per line.
  2. Choose hyphens or underscores, and whether to leave out short words.
  3. Set a maximum length if your site has one, or leave it empty.
  4. Copy the slugs, or download them as a text file with one per line.

The rules it follows

  • Lowercase, so the same page never ends up with two addresses that differ only in capitals.
  • Accents removed from Latin letters through Unicode decomposition (NFKD): é becomes e, ü becomes u. Letters with nothing to remove are spelled out: ß → ss, æ → ae, œ → oe, ø → o, ł → l, đ and ð → d, þ → th.
  • Letters and digits kept; everything else, from spaces to dashes and emoji, becomes one separator, with none at either end. Apostrophes are dropped, so don’t becomes dont.
  • Other alphabets kept, such as Greek or Cyrillic. Browsers percent-encode them in the address, so the page shows both lengths.
  • Maximum length cuts at a separator. Only a first word longer than the limit is cut inside the word.

Good to know

  • Lists keep their lines: a blank line stays blank, so the slugs line up with your titles in a spreadsheet. Lines that give the same slug are pointed out, since two pages can’t share an address.
  • The short-word list is English only. Leave the option off for other languages.
  • Numbers stay, so a year or a count in a title stays in its slug: The 10 Best Day Trips becomes the-10-best-day-trips.
  • German style ae, oe and ue for ä, ö and ü isn’t used; edit those slugs by hand if you prefer it.
  • Already published? Changing a slug changes the address, so add a redirect from the old one.
  • Encoding a whole link? The URL Encoder percent-encodes any text; this page makes the slug itself. To tidy a long list first, use Remove Duplicate Lines.

Frequently asked questions

Hyphens or underscores?
Hyphens, in most cases. Google’s guidance on URL structure recommends hyphens to separate words, because they read as spaces. Choose underscores only when your site already uses them and you want new addresses to match.
What happens to accents and other alphabets?
Accents come off Latin letters, so é becomes e and ñ becomes n, and a few letters that have no accent to remove are spelled out, such as ß as ss. Letters from other alphabets, such as Greek or Cyrillic, are kept. Browsers percent-encode those in the address, which makes it longer when copied as text.
Should I leave out short words?
It’s a matter of taste. Shorter slugs are easier to read and share, but a slug without its small words can lose meaning. The option drops only the words in the list shown, and never all of them. Changing a published page’s slug changes its address, so set up a redirect if you do.
Is my text sent anywhere?
No. The slugs are made by this page, on your device, as you type. Nothing is sent, saved or put in the page address.