Skip to content

URL Slug Generator

Turn any title into a clean, SEO-friendly URL slug.

URL slug

About the URL Slug Generator

A good slug is short, lowercase, free of punctuation and readable by both people and search engines. This generator strips accents, converts punctuation and whitespace to a single separator and trims the ends.

It is useful for blog permalinks, CMS entries, product URLs, file names and anchor IDs.

How to use the URL Slug Generator

  1. Paste the title or headline you want to convert.
  2. Choose hyphens or underscores as the separator.
  3. Toggle lowercase on or off to match your CMS conventions.
  4. Copy the generated slug.

Examples

InputResult
10 Best Free Online Tools (2026 Edition)10-best-free-online-tools-2026-edition
Café & Bar — Opening Hourscafe-bar-opening-hours
How to Convert PNG to JPG?how-to-convert-png-to-jpg

Frequently asked questions

Should slugs be short?

Yes — three to six meaningful words is ideal. Keep the main keyword and drop filler words such as 'the' and 'and' where it still reads naturally.

Are accented characters supported?

Accents are transliterated to their base ASCII letters, so 'é' becomes 'e'. Non-Latin scripts are removed rather than transliterated.

Is my data sent to a server?

No. This tool runs entirely in your browser using JavaScript. Nothing you enter is uploaded, logged or stored by AHRATOOLS.