What makes a good URL slug
The slug is the part of the URL that identifies a page, like /what-is-llms-txt/. A good slug is short, readable and describes the content, so users and search engines understand the page before they open it.
- Use lowercase letters, numbers and hyphens only.
- Separate words with hyphens, not underscores: Google treats hyphens as word separators.
- Remove accents and special characters, which get encoded into hard-to-read sequences.
- Keep the main keyword and drop words that add nothing, such as a, the or of.
- Keep it short: three to five words is usually enough.
Should you change existing slugs?
Only if the current one is really bad. Changing a URL means setting up a 301 redirect and waiting for search engines to update. Check that the redirect works with our Redirect Checker.
Frequently asked questions
Should I include the year in a slug?
Avoid it for content you plan to update. A slug without a date can stay the same when you refresh the article next year.
Can I use non-English characters?
You can, but they are encoded in the URL. Converting them to plain letters is usually safer and easier to share.
Can I generate several slugs at once?
Yes. Paste one title per line.

