Slug Generator
Convert any text into a URL-friendly slug.
Input Text
URL Slugs
Tool options
Slug Options
Preserve the original casing of the input instead of converting to lowercase
What is a Slug Generator?
A slug is the human-readable part of a URL — /blog/how-to-brew-coffee instead of /blog/203 — and getting one right by hand is fiddly: lowercase everything, strip accents, replace spaces and underscores with hyphens, remove punctuation, and make sure no stray hyphen survives at either end. This tool applies all of those rules at once. Paste one title or one hundred — each line becomes its own slug.
It handles the details that make hand-rolled regex slugs ugly. Accented characters are decomposed and stripped, so café becomes cafe and crème brûlée becomes creme-brulee, output you can safely put in a URL. Punctuation, emoji and symbols are removed rather than percent-encoded, and runs of spaces, hyphens and underscores collapse into a single hyphen. A case-sensitive option preserves capitalization for the rare CMS that insists on it, though lowercase is the convention: URLs are case-sensitive, and consistent slugs prevent duplicate-content confusion.
The per-line behavior is the time-saver for real work: paste a list of article titles and get a matching list of slugs for a bulk import or a sitemap. Titles with question marks or ampersands are no problem either — "Q&A: What changed?" comes out as q-a-what-changed, with the punctuation gone and the words intact. Everything runs locally in your browser, the text never leaves your machine, and the slugs regenerate instantly as you edit the options.
Slug Generator Examples
Click to try!
Convert a title into a URL-friendly slug
Slug Options
Preserve the original casing of the input instead of converting to lowercase
Convert a title into a URL-friendly slug without any case change
Slug Options
Preserve the original casing of the input instead of converting to lowercase
Convert titles on each lines into a URL-friendly slugs
Slug Options
Preserve the original casing of the input instead of converting to lowercase
All Text Tools
You May Also Like
We use cookies for analytics and advertising. You choose what's enabled. Essential cookies are always on. Privacy Policy