What makes a good URL slug
- Short and descriptive: 3–6 words that say what the page is about
- Lowercase: some servers treat
/Aboutand/aboutas different pages - Hyphens between words: Google reads hyphens as word separators, while underscores join words together
- No accents or special characters: “café” becomes “cafe”, so the link never turns into %C3%A9 when shared
- Stop words optional: removing “the”, “and” or “of” shortens a slug, but keep them if the slug reads oddly without them
How this generator works
Accented letters are converted to plain letters (é → e, ß → ss, ø → o), “&” becomes “and”, apostrophes are dropped, and every other symbol is treated as a word break. Set a maximum length to trim the slug at a whole word.
Once a page is live, avoid changing its slug. If you must, set up a 301 redirect from the old URL.
To convert text to kebab-case or snake_case for code, use the case converter. To check a page title length, try the word counter.
Frequently asked questions
Should I use hyphens or underscores in URLs?
Use hyphens. Google treats hyphens as spaces between words, while underscores can join words together.
Should I remove stop words from slugs?
Often, yes: it makes URLs shorter. Keep them when the slug becomes hard to read or changes meaning without them.
Is my text sent to a server?
No. The slug is generated in your browser.
Last updated November 2026