Text to Slug

Convert titles into clean, SEO-friendly URL slugs

Turn titles into clean URL slugs: accents removed, spaces and symbols replaced, optional stop-word removal and a maximum length cut at a word boundary. One slug per line, with lengths shown.
Try an example:

Output will appear here...

About Text to Slug

How it works

  1. Accents are removed (é → e, ß → ss), & becomes "and", and every other symbol or space becomes the separator.
  2. Optionally, small words like "the" and "of" are dropped, and the slug is cut to a maximum length at a word boundary.
  3. Each line becomes its own slug; with several lines a table shows each slug and its length.

What you need

  • A title or a list of titles, one per line.

Tips

  • Google recommends hyphens rather than underscores between words in URLs.
  • Short, descriptive slugs (3-5 words, under ~60 characters) are easiest to read and share.
  • Avoid changing a published slug - if you must, add a 301 redirect from the old URL.

Limitations

  • Non-Latin scripts (Chinese, Arabic, Cyrillic...) are not transliterated and are removed.

Runs in your browser. Your text never leaves your browser.

Frequently asked questions

What is a slug?+

The readable part of a URL that identifies a page, like "ten-tips-for-cafe-owners" in example.com/blog/ten-tips-for-cafe-owners.

Hyphens or underscores?+

Hyphens. Google treats hyphens as word separators but joins words linked by underscores, so hyphens are better for SEO and readability.

Should I remove stop words?+

Often yes - "best-hiking-trails-swiss-alps" is shorter and just as clear. Keep them when the meaning would change, e.g. "to-be-or-not-to-be".

Do slugs have to be lowercase?+

URLs can be case-sensitive on many servers, so lowercase avoids duplicate pages and broken links. Keep capitals only if your system needs them.