URL Slug Generator

Turn a page title into a clean, SEO-friendly URL slug. Accents and punctuation are removed, and you can drop stop words, limit the length and pick the separator. Paste one title per line to make many slugs at once. It runs in your browser and your text is never uploaded.

Your title or text

Options

Your slug

Titles
0
Empty slugs
0
nothing left after cleaning

How to make a URL slug

  1. Type or paste your page title, or one title per line for a batch.
  2. Choose the separator and options. Hyphens and lowercase suit most sites.
  3. Press Copy slug and paste it into your CMS or router.

What makes a good slug

Keep it short, lowercase and readable, with hyphens between words. Search engines read a hyphen as a space, so best-coffee-grinders is three clear words. Leave out dates and filler words when you can, because you can't change a slug later without a redirect. Accents become plain letters, symbols are dropped and repeated separators are merged, so the slug is safe in a link.

Related tools

Change text to kebab-case, snake_case and more with the case converter, clean up a list of titles with the remove duplicate lines tool, split a full address with the URL parser, or check title length with the word counter.

See also

Frequently Asked Questions (FAQ)

What is a URL slug?

A slug is the readable last part of a web address that names the page, such as url-slug-generator in example.com/tools/url-slug-generator. It is usually the page title in lowercase with hyphens between the words.

How do I turn a title into a slug?

Type or paste your title into the box. The slug appears straight away. Press Copy slug to put it on your clipboard. Paste several titles, one per line, to get one slug for each.

Should I use hyphens or underscores in a slug?

Hyphens. Google treats a hyphen as a word separator and an underscore as a joiner, so my-blog-post reads as three words and my_blog_post as one. Use another separator only if your system needs it.

Does the slug length matter for SEO?

Shorter slugs are easier to read, share and remember, and long ones are cut off in search results. A few words that name the page are enough. Use the length limit to cut the slug at a whole word.

Should I remove stop words like the, and and of?

It is optional. Dropping them gives a shorter slug, so The Best of the Web becomes best-web. Keep them when removing them would change the meaning. A title made only of stop words is left as it is.

What happens to accents and special characters?

Accents are removed, so crème brûlée becomes creme-brulee, and letters such as ß and æ become ss and ae. Punctuation and symbols become a single separator, and apostrophes are dropped so don't becomes dont.

What about non-Latin text such as Greek, Cyrillic or Chinese?

With ASCII only on, those letters are dropped, which can leave the slug empty. Untick ASCII only to keep them. Browsers and search engines accept such slugs, but they are shown percent-encoded when copied as a link.

Is my text uploaded?

No. The slug is made in your browser and your text never leaves your device.