Check a site
Check a website Service status Outages Blog
All tools
Check a websiteBrowse all tools

Slug Generator

Turn titles into clean URLs.

Runs entirely in your browser. Nothing you enter or upload leaves your device.

What the slug generator does

A slug is the readable part of a web address that names a page, such as summer-salad-recipes at the end of a blog link. This tool turns a title into a clean slug by setting it in lower case, removing punctuation and joining the words with a separator.

It suits bloggers, shop owners and developers who want consistent addresses for posts, products and categories, and anyone naming files or folders without spaces and special characters. Paste a whole list of titles to get one slug per line.

How to use the slug generator

  1. Type or paste one or more titles, one per line.
  2. Choose a separator (hyphen, underscore or dot) and, if you like, a maximum length. Leave it at 0 for no limit.
  3. Untick Lowercase to keep capitals, and tick the stop word option to drop short words such as “the” and “of”.
  4. Copy the first slug from the Slug line, or copy or download the whole list.

Understanding the results

Apostrophes are removed, so “don’t” becomes “dont”, and every other run of spaces or punctuation becomes a single separator. Letters outside the Latin alphabet, such as Greek, Cyrillic or Chinese characters, are dropped, so slugs for titles written in those scripts need writing by hand.

With a maximum length set, the slug is cut back to the last whole word that fits, as long as that keeps more than half the limit; otherwise it is cut at the exact length. Removing stop words never empties a slug: if every word is a stop word, they are all kept.

Questions

What happens to accents and symbols?

Accented letters become their plain form (café becomes cafe, straße becomes strasse). & becomes “and”, @ becomes “at”, % becomes “percent” and + becomes “plus”. Other punctuation is removed.

Hyphens or underscores?

Hyphens. Google treats hyphens as word separators in URLs, while underscores join words together.

Should I remove stop words?

It makes slugs shorter, but keep them if removing them changes the meaning.

Should slugs be lower case?

Usually, yes. Many web servers treat /About and /about as different addresses, so sticking to lower case avoids broken links and duplicate pages. Untick Lowercase only if your system needs capitals.

Is my text stored?

No. Slugs are made in your browser as you type.

Cookies on UtiBox

UtiBox is free because of ads. Google and its partners use cookies to show, limit and measure ads, Google Analytics, Ahrefs Web Analytics and Microsoft Clarity show us how the site is used, and we use a few essential cookies to run the site.