Skip to content

Slug Generator

Turn any title into a clean URL slug. Accented and special letters are converted to plain ASCII, punctuation becomes hyphens or underscores, and you can cap the length, drop stop words and numbers, and preview the final link. Paste many titles to get one slug per line.

Runs in your browserFreeNo sign-up

Processed on your device. Files and text stay in your browser and are not uploaded to our servers. How privacy works

How to use the slug generator

  1. Type a title or phrase. The slug and a full URL preview update as you type.
  2. Choose a separator (hyphen or underscore), an optional maximum length, and whether to remove stop words such as “the” and “of” or strip numbers.
  3. Edit the base URL in the preview to match your site, then copy the slug or the whole link.
  4. Switch on Multi-line mode to convert a whole list of titles at once and download them.

Features

  • Transliteration of accented and special letters: Crème Brûlée → creme-brulee, Straße → strasse, Łódź → lodz
  • Hyphen or underscore separators with no doubles or trailing separators
  • Maximum length that cuts at a word boundary rather than mid-word
  • Optional stop-word removal for shorter, keyword-focused slugs
  • Live URL preview and bulk mode for lists of titles

What makes a good slug

A slug is the human-readable part of a URL that identifies a page, such as /blog/how-to-make-coffee. Good slugs are lowercase, use hyphens between words (search engines treat hyphens as word separators but not underscores), contain only ASCII letters and digits so they never need percent-encoding, and are short enough to read in a search result. Three to six meaningful words is a common target; dropping stop words like “the”, “a” and “of” helps you get there without losing meaning.

Once a page is published, keep its slug stable. Changing it breaks links and requires redirects, so it is worth getting right the first time.

How characters are converted

Letters are decomposed with Unicode NFKD normalisation and their accent marks removed, which handles é, ü, ñ, ç and hundreds of others. Letters that don't decompose, such as ß, æ, ø, ł, đ and þ, are mapped with a small table. Ampersands become “and”, currency symbols get spelled out, and everything else that isn't a letter or digit becomes a separator. Non-Latin scripts such as Devanagari or Cyrillic are kept as letters rather than dropped, so the slug is never empty; browsers display them correctly even though they are percent-encoded on the wire.

Frequently asked questions

Should I use hyphens or underscores?

Hyphens. Google and other search engines treat a hyphen as a word separator, so “blue-widgets” is read as two words, while “blue_widgets” may be read as one. Underscores are still offered for file names and identifiers.

How long should a slug be?

There is no hard limit, but shorter slugs are easier to read and share. Many sites cap them at 50 to 75 characters. The max length option trims at a word boundary so you never end with a half word.

Why does removing stop words sometimes keep them?

If every word in the title is a stop word, removing them would leave nothing, so the tool keeps the original words in that case.

Can I generate slugs for many titles at once?

Yes. Turn on Multi-line mode, paste one title per line, and the output lists one slug per line ready to copy or download.

Other tools people use alongside Slug Generator.

You might also like

Something useful from another corner of VoltKit.