How to use the slug generator
- Type a title or phrase. The slug and a full URL preview update as you type.
- Choose a separator (hyphen or underscore), an optional maximum length, and whether to remove stop words such as “the” and “of” or strip numbers.
- Edit the base URL in the preview to match your site, then copy the slug or the whole link.
- 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.