Slug Generator

Convert titles and headings into lowercase, hyphen-separated slugs — the kind you use in URLs and file names.

Your text is processed locally in your browser.

How to use Slug Generator

  1. Paste the title or text you want to turn into a slug.
  2. Choose a separator (hyphen or underscore) and whether to force lowercase.
  3. The slug appears instantly.
  4. Copy it for use in your URL or file name.

About this tool

Clean URLs are better for search engines and for people sharing links. A slug takes a headline like “10 Tips for Better Photos!” and turns it into `10-tips-for-better-photos`.

The generator removes punctuation, converts accented characters to their plain equivalents, and joins words with the separator you choose.

Frequently asked questions

How are accented characters handled?
Characters like é or ü are converted to their plain base forms (e, u), so the slug stays ASCII-safe and works in any URL.
Which separator should I use?
Hyphens are the convention for URLs and are treated as word separators by search engines. Underscores are more common in file names and code identifiers.

Related tools