256 Tools

Slug Generator

Slug

my-awesome-blog-post-title

Related external sites

Some links are affiliate links.

Related tools

A slug is the readable part of a URL — the bit after the last slash, like my-first-post. This generator turns a title into a clean slug: it removes accents, lowercases the text, and replaces spaces and punctuation with a single separator. You can keep non-Latin letters or force plain ASCII. Everything runs in your browser.

How to use

  1. Type or paste your title into the text box.
  2. Pick a separator and toggle lowercase or ASCII-only.
  3. Copy the generated slug for your URL.

How it works

First the text is normalized so accented letters like é are reduced to their base form (e). It is optionally lowercased. Then every run of characters that isn't a letter or number is replaced with your chosen separator. In ASCII-only mode, only A–Z and 0–9 are kept; otherwise Unicode letters such as Japanese or Cyrillic are preserved. Finally repeated separators are collapsed and any leading or trailing separator is trimmed.

A title with spaces and accents becomes a lowercase hyphenated slug.Café Menu!cafe-menu

Features

Accent removal

Turns café into cafe so URLs stay clean and safe.

Choose separator

Use hyphens or underscores depending on your convention.

Keep or strip Unicode

Preserve non-Latin letters, or force plain ASCII slugs.

Private & instant

Slugs are generated in your browser; nothing is uploaded.

When to use it

Blog posts

Create readable, SEO-friendly URLs from post titles.

File names

Make safe file or folder names without odd characters.

IDs & keys

Generate stable, human-readable identifiers from names.

Anchors

Build heading anchors and fragment links for docs.

Notes

  • Hyphens are the usual choice for URLs; underscores suit code.
  • ASCII-only mode is safest for the widest compatibility.
  • Emoji and symbols are treated as separators and removed.
  • All processing runs on your device; nothing is uploaded.

FAQ

What is a slug?
The readable identifier in a URL, usually made of lowercase words joined by hyphens, like hello-world.
Does it remove accents?
Yes. Accented letters are reduced to their base letters, so é becomes e.
Can I keep Japanese or other scripts?
Yes. Turn off ASCII-only mode to preserve Unicode letters; turn it on for plain ASCII.
Hyphen or underscore?
Hyphens are standard for web URLs and better for SEO; underscores are common in code and file names.
Is my text uploaded?
No. The slug is generated entirely in your browser and nothing leaves your device.

We use cookies for ads and analytics.