Skip to content
DayUtils

Slug Generator – Create SEO-Friendly URL Slugs

Turn page titles and headlines into clean URL slugs. Accents are converted to plain letters, symbols are removed, spaces become hyphens or underscores, and you can drop short filler words or limit the length. Paste many titles at once — one slug per line.

Loading tool…

How to use the slug generator

  1. Paste one or more titles, one per line, or press Try an example.
  2. Choose the separator: hyphen or underscore.
  3. Choose whether to make slugs lowercase, remove short words and set a maximum length.
  4. Copy the slugs — one per line, in the same order as your titles.

Examples

TitleSlug
Crème Brûlée & Café: The 10 Best Recipes!creme-brulee-and-cafe-the-10-best-recipes
How to Start a Business in Nigeria (2026 Guide)how-to-start-a-business-in-nigeria-2026-guide
Straße, Köln und Münchenstrasse-koln-und-munchen

With Remove short words on, “The Best Way to Learn a Language” becomes best-way-learn-language.

How the slug is built

  1. Accents are separated from letters and removed (Unicode normalisation).
  2. Special letters like ß, æ, ø and ł are spelled out, and & becomes “and”.
  3. Everything that isn’t a letter or number becomes a separator.
  4. Optional: words are lowercased and filler words removed.
  5. Optional: the slug is shortened at the last separator before the limit.

Slug best practice for SEO

  • Use your main keyword near the start.
  • Keep it short and readable — people see slugs in search results and when sharing links.
  • Use lowercase and hyphens; mixed case can create duplicate URLs on some servers.
  • Avoid dates in evergreen content so the URL doesn’t look outdated.
  • Don’t stuff keywords — one clear phrase is enough.
  • Keep slugs stable — changing them later needs redirects.

Slugs for products and categories

Online shops often use slugs for product and category pages. Include the product type and a key feature (“mens-waterproof-hiking-boots”) rather than internal codes, and avoid changing slugs when stock or prices change. For variants such as colours and sizes, many shops keep one slug and use options on the page instead of separate URLs.

Slugs and translations

On multilingual sites, give each language version its own slug in that language, so readers and search engines see relevant words in the address. Keep the same structure across languages, such as /en/ and /fr/ folders, to make the site easy to maintain.

Non-Latin languages

For pages in Hindi, Arabic, Chinese or other scripts, the generator keeps the original letters, because modern browsers display them properly and search engines understand them. Some content systems prefer Latin-only slugs; in that case, write a short English or transliterated title for the slug.

For encoding text that goes into a URL’s query string, use the URL encoder. Check title length with the character counter and fix capitalisation with the case converter.

Frequently asked questions

What is a URL slug?

The part of a web address that identifies a page in readable words, such as best-running-shoes in example.com/blog/best-running-shoes. Good slugs are short, lowercase and descriptive.

Should I use hyphens or underscores?

Hyphens. Google treats hyphens as word separators but has said underscores join words together. Use underscores only if your system requires them.

What happens to accented letters?

They are converted to their plain equivalents: é becomes e, ü becomes u, ß becomes ss and æ becomes ae. Letters in non-Latin scripts are kept as they are.

Should I remove stop words?

Removing words like a, the, and, of and to makes slugs shorter. It is optional — keep them if the slug reads better with them.

How long should a slug be?

Short enough to read at a glance — three to six words is typical. The maximum length option cuts at a word boundary so slugs don’t end mid-word.

Can I change a slug after publishing?

You can, but set up a permanent (301) redirect from the old URL so links and search rankings aren’t lost.

Last updated: