Skip to content
My Tiny Utils

Search tools

Type to find a tool, then press Enter to open it.

Slug Generator

Turn any title into a clean URL slug: accents stripped, punctuation removed, hyphen or underscore separators, optional length limit.

Processed locally in your browser — nothing is uploaded.

Slug Generator

0 characters

Cuts at a word boundary when possible.

Slug

Output appears here…

About Slug Generator

Paste a headline or product name and get a URL-ready slug. Accented characters are transliterated (“Crème brûlée” → “creme-brulee”), apostrophes vanish instead of splitting words, and everything else collapses into your chosen separator. A max-length option trims at a word boundary so slugs never end mid-word.

Common uses

  • Create SEO-friendly permalinks for blog posts
  • Generate file or folder names from document titles
  • Normalize product names into stable identifiers

Example

Input

Crème Brûlée: A Beginner's Guide

Output

creme-brulee-a-beginners-guide

Frequently asked questions

What is a URL slug?

The human-readable part of a URL that identifies a page, like "creme-brulee-a-beginners-guide" in a blog post address. Slugs use lowercase letters, digits, and separators only, so they need no percent-encoding and stay readable when shared.

Should a slug use hyphens or underscores?

Hyphens. Google documents that it treats hyphens as word separators but tends to join words connected by underscores, so "red-wine" is read as two words while "red_wine" may be read as one. The underscore option exists mainly for file names and internal identifiers.

What happens to accented characters like é or ü?

They're transliterated to plain ASCII before slugging: accents are stripped (é becomes e), ß becomes ss, ø becomes o, and æ becomes ae. Characters with no mapping, such as most non-Latin scripts, are dropped rather than percent-encoded.

Do my draft titles leave my browser?

No. Slugs are generated locally with JavaScript and nothing you type is sent to a server or logged, so unannounced product and article names stay private.

How long should a URL slug be?

A few words that capture the topic — commonly 3 to 5 — is plenty; extremely long slugs get truncated in search results and are harder to share. The max-length option trims at a word boundary so a capped slug never ends mid-word.