Slug Generator

Paste one title per line and get a clean, URL safe slug for each.

Slugs

A slug is the readable part of a web address that comes after your domain, and this slug generator turns ordinary titles into them. Paste "The Best Café in Zürich!" and you get back "the-best-cafe-in-zurich", lowercase, stripped of punctuation, with the accents flattened and the spaces replaced.

What happens to accents and symbols

Accented letters are the part most people get wrong by hand. Rather than deleting them, the tool separates each letter from its accent mark and keeps the plain letter underneath, so é becomes e, ü becomes u, and ñ becomes n. The word stays recognisable instead of losing a character.

Ampersands get special treatment because dropping them changes the meaning. "Coffee & Cake" becomes "coffee-and-cake" rather than "coffee-cake". Apostrophes are removed with no separator left behind, so "don't" stays as one word, "dont", instead of splitting into two. Everything else that is not a letter or a number turns into a single separator, and runs of them collapse rather than leaving you with a trail of hyphens.

Hyphens beat underscores for URLs

If you are undecided, use hyphens. Search engines treat a hyphen as a word boundary and an underscore as part of the word, which means "text_file_generator" can be read as one long token while "text-file-generator" is read as three words. Underscores are common in filenames and code, so the option is there, but for a public URL the hyphen is the safer default.

The dot separator exists for the times you are producing file names rather than URLs. It is worth avoiding on the web, since a dot in a path can confuse systems that expect it to introduce a file extension.

Trimming long titles down

Long slugs are not penalised, but they are unwieldy in an email, a chat message, or a printed reference. Two options help cut them back. The max words setting keeps only the first few words, so a twelve word title becomes a four word slug. Stop word removal drops common filler like the, a, of, and for, leaving the words that carry the meaning.

Stop word removal has a safety net worth knowing about. If a title is nothing but stop words, removing them all would leave an empty slug, so the tool keeps the original words instead of returning nothing. A title like "The One and Only" survives rather than disappearing.

Doing a whole list at once

Paste a column of titles copied from a spreadsheet or a content plan and each line comes back as its own slug, in the same order, ready to paste back into the next column. That is the fastest way to plan URLs for a batch of pages before any of them exist.

If your title itself spans several lines and you want one slug from the lot, switch the input setting to a single title and the line breaks are treated as ordinary spaces.

What you get

Accent flattening

Accented and marked letters become their plain ASCII equivalents rather than being deleted.

Smart symbol handling

Ampersands become the word and, apostrophes vanish without splitting the word.

Bulk conversion

Paste a whole column of titles and get one slug per line back in order.

Length control

Cap the number of words or strip common stop words for shorter slugs.

Three separators

Hyphen, underscore, or dot depending on where the slug is going.

Number stripping

Optionally drop standalone numbers so a year or a count does not date the URL.

Where people use it

Blog post URLs

Turn a finished headline into the address the post will live at.

Content planning

Generate the URL column for a whole content calendar in one paste.

Product and category pages

Convert product names with symbols and accents into clean store URLs.

Frequently asked questions