About this slug generator
A slug is the readable part at the end of a URL, such as brew-perfect-coffee in example.com/blog/brew-perfect-coffee. Short, descriptive slugs help readers and search engines understand a page before they open it. This generator turns a title into a slug the way most content systems do: accented letters become plain ones (é to e, ß to ss), & becomes "and", apostrophes disappear, every other symbol or space becomes a single hyphen, and hyphens at the ends are removed. Paste several titles, one per line, to get one slug per line.
How to generate a URL slug
- Paste your title. Paste one title, or several titles on separate lines, or press an example. An example only fills the box.
- Choose the options. Pick a hyphen or an underscore, and whether to lowercase the slug and remove special characters.
- Press Generate slug. One slug per title appears below; copy them into your CMS or code.
Frequently asked questions
Should I use hyphens or underscores?
Hyphens. Google treats a hyphen as a word separator, so brew-perfect-coffee reads as three words, while underscores may join them into one. Use underscores only where a system requires them, such as some file names.
What happens to accented and special letters?
Accents are removed (é to e, ñ to n, ü to u), ß becomes ss, æ becomes ae, ø becomes o, and & becomes "and". Letters from other scripts, such as Chinese or Cyrillic, are kept.
Are numbers kept?
Yes. Digits stay in the slug, so "10 Best Trails in 2026" becomes 10-best-trails-in-2026. Remove a year yourself if you plan to update the page later.
How long should a slug be?
Short enough to read at a glance, usually three to six words. Removing filler words such as "a", "the", and "how to" by hand often gives a cleaner slug than the full title.
What does turning off Remove special characters do?
Only spaces are replaced by the separator, and symbols such as +, #, and parentheses stay. That is useful for internal IDs, but such characters must be percent-encoded in real URLs.