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 useful slug is readable and uses consistent separators. This tool simplifies common Latin accents and preserves letters and marks in other scripts so multilingual titles keep their meaning.

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, simplifies common Latin accents (so "café" becomes "cafe"), preserves letters and combining marks in other scripts, replaces other 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?

Latin accent simplification can help match an existing naming style. Other scripts are preserved rather than removed. Browsers may percent-encode Unicode characters in copied URLs; verify that your destination supports your chosen slug format.

Related tools