Slug Generator

Type any text and get a clean, URL-friendly slug, updated as you type.

Last updated

your-slug-will-appear-here
Copied

How to make a URL slug

  1. Type or paste a title.
  2. Choose hyphens or underscores, lowercase, and whether to turn accented letters into plain ones.
  3. Click Copy slug.

About this tool

A slug replaces every run of spaces or punctuation with a single separator, so "10 Best Café Recipes — You'll Love #3!" becomes a clean, predictable URL segment. With "Convert accented letters to plain ASCII" on, characters like é, ñ, or ü are converted to their closest plain letter (e, n, u) using Unicode normalisation rather than being stripped out entirely.

Nothing you type here is sent to a server — the entire tool runs as JavaScript in your browser tab.

Questions about URL slugs

What is a URL slug?

The readable part of a web address that names a page, such as best-cafe-recipes in example.com/blog/best-cafe-recipes.

Should I use hyphens or underscores?

Hyphens. Google treats hyphens as word separators, and they’re the usual convention for web addresses.

What happens to accented letters?

With the option on, é, ñ and ü become e, n and u, so the slug is plain ASCII and safe everywhere.

How long should a slug be?

Short and descriptive: three to five meaningful words is plenty. Leave out filler words like “the” and “and”.

☕ Support toolcrate