Text tools

Slug Generator — clean URL slugs in your browser

Convert any text into a tidy, SEO-friendly URL slug as you type.

This tool runs entirely in your browser. Your files are never uploaded — they stay on your device.

Separator
Result

A slug is the readable part of a URL — the bit after the last slash, like "my-first-post". A good slug is lowercase, free of accents and special characters, and uses hyphens instead of spaces, which keeps your links clean and search-friendly.

This generator builds the slug live as you type, so there is nothing to upload and nothing to wait for. Everything happens locally in your browser, which means it works instantly and keeps your text private.

How to use Slug Generator

  1. Type or paste your title or phrase into the input box.
  2. Watch the URL slug update live underneath as you type.
  3. Adjust the separator if you prefer underscores over hyphens.
  4. Click "Copy slug" to copy the result to your clipboard.

Frequently asked questions

What exactly does this slug generator do?

It converts your text to lowercase, strips out accents and diacritics (so "café" becomes "cafe"), replaces any non-alphanumeric characters with a separator, and collapses and trims repeated separators for a clean result.

Is my text uploaded or stored anywhere?

No. The slug is generated entirely in your browser with plain JavaScript. Your text never leaves your device and nothing is sent to a server.

Can I use underscores instead of hyphens?

Yes. Hyphens are the SEO-recommended default, but you can switch the separator to an underscore if your project prefers them.

Why are accented and special characters removed?

Slugs work most reliably with simple ASCII letters, numbers and a single separator. Removing accents and symbols avoids broken or encoded links across browsers and platforms.

Related tools