How to create a slug
- Type or paste a title. For several pages at once, put one title per line.
- The slug appears instantly: letters and digits are kept, accents are removed (é → e), “&” becomes “and”, and everything else turns into a single separator.
- Set a maximum length if your CMS or SEO guidelines require one; the slug is cut at a word boundary, never mid-word. Use 0 for no limit.
- Copy the result into your CMS's URL or permalink field.
What makes a good URL slug
- Short and descriptive. Google's own guidelines recommend simple, readable URLs with words relevant to the content. Three to six words is usually enough.
- Hyphens, not underscores. Google treats hyphens as word separators; underscores join words together, so
cold_brewmay be read as one word. - Lowercase. URLs are case-sensitive on most servers, so
/Cold-Brewand/cold-brewcan be two different pages. Lowercase avoids duplicates and broken links. - No dates or numbers that will go stale —
/best-laptopscan be updated every year;/best-laptops-2026has to be redirected. - Don't change slugs after publishing unless you add a 301 redirect from the old address.
Stop words and special characters
Removing stop words (a, an, the, of, for, how, to…) shortens long titles: “How to Make the Best Coffee” becomes make-best-coffee. It's optional — modern search engines handle stop words fine, and sometimes they matter for meaning (“to-do-list”), so check the result.
Accented Latin letters are converted to plain ASCII (ü → u, ß → ss, æ → ae, ł → l), which keeps URLs readable when shared. Letters from non-Latin scripts such as Chinese, Arabic or Cyrillic are removed, because they can't be represented in ASCII without a language-specific transliteration; for those languages, consider writing the slug by hand or using percent-encoded native words.
Frequently asked questions
What is a URL slug?
The slug is the part of a URL that identifies a specific page in human-readable words, such as “cold-brew-coffee” in example.com/blog/cold-brew-coffee.
How long should a slug be?
There’s no hard limit, but shorter is better for readability and sharing. Aim for roughly 3–6 words or under about 60 characters.
Should I include keywords in the slug?
Yes, include the main topic words a reader would expect, but don’t stuff extra keywords in. A slug that describes the page clearly is what both visitors and search engines want.
Is my text sent to a server?
No. Slugs are generated in your browser.