Skip to content

URL Slug Generator

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

This tool runs entirely in your browser. Your data never leaves your device.

About the URL Slug Generator

A slug is the readable part of a web address that identifies a page, such as “best-coffee-shops-in-paris” in example.com/blog/best-coffee-shops-in-paris. Good slugs are short, lowercase, use hyphens between words and contain no spaces or special characters, which makes them easier to share and helps search engines understand the page. This generator converts any title into a clean slug as you type, turning accented letters into their plain equivalents (é → e, ß → ss). You can also keep non-Latin scripts such as Arabic or Chinese, which modern browsers and search engines support.

How to use it

  1. Type or paste a title or phrase.
  2. Choose a hyphen or underscore as the word separator.
  3. Optionally set a maximum length and choose whether to keep non-Latin letters.
  4. Copy the generated slug into your CMS, blog or code.

Frequently asked questions

Should I use hyphens or underscores in URLs?

Use hyphens. Google treats hyphens as word separators but treats underscores as joining words, so “coffee-shops” is read as two words and “coffee_shops” as one.

How long should a slug be?

Keep it short and descriptive, ideally three to five words or under about 60 characters. Remove words that add no meaning, such as “a”, “the” or “and”.

Can a URL contain Arabic or Chinese characters?

Yes. Browsers display them normally and encode them behind the scenes. They can be helpful for local audiences, but they become long percent-encoded strings when copied into some apps.