Skip to content
PocketDesk
Your files are processed on your device, never uploaded

Slug generator

Make a tidy, lowercase URL slug from any title. Nothing leaves your device.

  • Runs in your browser
  • No sign-up
Result

How to make a slug

  1. Type or paste a title into the box. Use one line per title if you have several.
  2. Pick a Separator. A dash is the usual choice for web addresses.
  3. Optional: set a Maximum length to cut long titles.
  4. Copy the slug from the result.

What the tool does

A good slug is short, lowercase and easy to read. The tool starts by splitting accented letters into a base letter and a mark, then removes the marks. So “Crème brûlée” becomes “creme brulee”. A few special letters such as ß and ø are replaced with their usual spelling, “ss” and “o”. Apostrophes are dropped, so “Don’t” becomes “dont”.

Everything that is not a letter or a number is turned into one separator, and repeated separators are merged. Separators at the start and end are removed. If you set a maximum length, the slug is cut to that many characters and any separator left at the end is trimmed.

Search engines treat dashes as word breaks, which is why dashes are the default. Underscores and dots are there for file names and code.

Titles written in Hindi, Chinese or another script have no Latin letters. Turn on Keep letters from other scripts and they stay in the slug, while accents on Latin letters are still removed.

Tips

Privacy

Your text is processed on your device. It is not uploaded, saved on a server, or added to the page address.

Questions

What is a slug?

A slug is the readable part of a web address that names a page, such as how-to-bake-bread in example.com/how-to-bake-bread.

What happens to accents and symbols?

Accents are removed, so café becomes cafe. Symbols and punctuation turn into one separator, and separators at the ends are dropped.

What about Hindi, Chinese or Arabic titles?

By default only Latin letters and numbers are kept. Turn on Keep letters from other scripts to keep them in the slug.

Can I make several slugs at once?

Yes. Put one title on each line and each line gets its own slug.

Is my text uploaded?

No. Slugs are made in your browser, and your text never leaves your device.

More text tools