Slug Generator
Turn a headline into the clean, lowercase, hyphenated part of a web address. Paste one title or a hundred — you get one slug per line. Nothing is uploaded.
Cuts at a whole word, never in the middle of one.
How to use it
- Paste your title on the left. A whole list works too — one title per line gives you one slug per line, in the same order.
- Leave the defaults alone for a normal web page slug.
- The slugs appear as you type. Press Copy result, or
download them as a
.txtfile.
What makes a good slug
The slug is the readable tail of a web address — the
slug-generator in the address of this page. It is one of the
few parts of a URL a human actually reads, and it turns up in search
results, in a shared link and in someone typing your address from memory.
Short, lowercase, hyphenated and recognisable beats clever every time.
Three rules cover almost everything. Use hyphens, not underscores: search
engines treat a hyphen as a space between words and an underscore as glue,
so red-shoes is two words while red_shoes may be
read as one. Keep it lowercase, because some web servers treat
/About and /about as two different pages. And
decide the slug once — changing it later breaks every link anyone has
already shared.
Accents, and the reason this is not one line of code
Turning café into cafe looks trivial and is not.
Behind the scenes, an accented letter can be stored as one character or as
two — a plain letter followed by a separate accent mark — and the two look
identical on screen. This tool first splits every accented letter into its
parts, then deletes the accent marks, so both spellings come out the same.
A handful of letters that no accent rule covers are mapped by hand, which
is how the German ß becomes ss rather than
disappearing.
Anything left that is not a letter or a number becomes a separator, runs
of separators collapse into one, and stray separators at the ends are
trimmed. That is why 10 Best Cafés in Hyderabad (2026 Guide)
comes out as 10-best-cafes-in-hyderabad-2026-guide rather than
with a trailing hyphen where the bracket used to be.
Frequently asked questions
What is a URL slug?
The readable part at the end of a web address — the slug-generator in this page address. A good slug is lowercase, uses hyphens instead of spaces, contains no punctuation and still reads like the title it came from.
Should I use hyphens or underscores?
Hyphens. Google has said for years that it treats a hyphen as a word separator and an underscore as a joiner, so red_shoes can be read as one word while red-shoes is read as two. Underscores are here for file names and database keys, not for public URLs.
Why are words like the and of being removed?
Only if you tick Remove common words. Short slugs are easier to read and to share, and stop words carry no ranking weight. Leave it off whenever dropping a word would change the meaning — the difference between state-of-the-art and state-art is worth keeping.
Is my text sent anywhere?
No. The slugs are built in JavaScript inside your own browser. Nothing is uploaded and nothing is saved — close the tab and the text is gone.