document.documentElement.classList.add("cf-on");'; return; } ?>

Slug Generator

Slug Generator

Convert page titles into short, clean and readable URL slugs.

First slug
slug
0slugs created
0characters in first slug
0stop words removed
0words in first slug

Slugs use only letters, numbers and your chosen separator, so they are safe in any URL.

A good URL tells people and search engines what a page is about before they even click. This slug generator turns any title into a short, lowercase, hyphen separated slug, removing accents, symbols and filler words for you. Paste a whole list of titles and you get one slug per line, ready for WordPress, Shopify or any CMS. Google's own URL structure guidelines recommend simple, descriptive words with hyphens between them, which is exactly what this tool produces.

Quick answer: A slug generator turns a title into a short, lowercase URL slug by converting accented letters to plain ones, removing symbols and common stop words, and joining the remaining words with hyphens. Keep slugs to three to six meaningful words, use hyphens rather than underscores, and add a 301 redirect from the old URL if a live slug changes.

Slug generator converting blog titles into clean URL slugs
How the Slug Generator works: page titles in, clean lowercase URL slugs out.

What Is a URL Slug?

The slug is the last part of a URL that identifies a specific page. In example.co.uk/blog/sourdough-starter-guide, the slug is sourdough-starter-guide. A clear slug is easier to read, share and remember, and it gives a small relevance signal when it contains the main topic of the page.

The generator works in a fixed order: it converts accented letters to plain ones, makes everything lowercase, replaces "&" with "and", removes every character that is not a letter or number, drops common stop words, and joins what is left with your separator. If a max length is set, it trims at the last whole word so slugs never end mid word.

How Do You Use the Slug Generator?

Step 1: Enter Your Titles

Type or paste a page title, product name or heading into the box, and add more titles on new lines to create several slugs at once. Type or paste a page title, product name or heading into the box. Add more titles on new lines to create several slugs at once.

Step 1: enter one or more titles in the input box

Step 2: Set Your Options

Choose a hyphen or underscore, set a maximum length, and decide whether to lowercase, remove stop words and transliterate accents. Hyphens are the safest choice for most websites.

Step 2: set the separator, max length and cleaning options

Step 3: Check the Slug and URL Preview

The first slug appears in large text with a full URL preview underneath. To see how it will look in Google next to your title, check it in the SERP preview tool before you publish. Change the preview base to your own domain to see exactly how the address will look.

Step 3: check the generated slug and full URL preview

Step 4: Copy Your Slugs

Press Copy slugs to copy every slug, one per line. When the page is ready, the meta tag generator builds the title and description tags to go with your new URL. The stats show how many slugs were made, the length of the first one and how many stop words were removed.

Step 4: copy the slugs and review the stats

What Makes a Good URL Slug?

TitleGenerated slug
10 Best Cafés in Manchester for Remote Work10-best-cafes-manchester-remote-work
How to Make a Sourdough Starter at Homehow-make-sourdough-starter-home
The Ultimate Guide to UK Road Trips & Campingultimate-guide-uk-road-trips-camping
  • Keep slugs short, ideally three to six meaningful words.
  • Use hyphens rather than underscores, as search engines read hyphens as word separators.
  • Avoid dates and numbers that will go out of date, unless they are essential.
  • Once a page is live, avoid changing its slug. If you must, add a 301 redirect from the old URL.

A good slug is short, ideally three to six meaningful words, uses hyphens rather than underscores, and avoids dates and numbers that will go out of date unless they are essential. Slugs are a key part of what is often called a clean URL, an address made of readable words rather than query strings and ID numbers.

Key Terms for Using the Slug Generator

These definitions explain the URL parts, characters and redirects involved when you use the slug generator to create clean, readable addresses for new pages.

URL slug
The human-readable final segment of a web address that identifies a single page within a site. Because the publisher chooses it, it can carry descriptive words, unlike automatically generated identifiers such as numeric post IDs.
Uniform Resource Locator (URL)
The full address of a resource on the web, made up of a scheme such as https, a domain name, a path and sometimes a query string. The slug sits at the end of the path portion.
Stop words
Very common words such as a, the, and or of that carry little meaning on their own. Removing them from a slug shortens it without losing the topic, although keeping one is reasonable when it helps the address read naturally.
Transliteration
Converting characters from one script or accented form into close plain equivalents, such as turning é into e. It keeps slugs within basic ASCII letters and avoids the encoded sequences that accented characters become inside URLs.
301 redirect
An HTTP status code telling browsers and crawlers that a page has moved permanently to a new address. Setting one up when a published slug changes sends visitors and most ranking signals to the new URL instead of an error page.
Percent-encoding
The method of representing unsafe or non-ASCII characters in a URL as a percent sign followed by two hexadecimal digits, so a space becomes %20. Slugs made only of letters, numbers and hyphens avoid it entirely.
</>Embed this calculator on your website

Add the free Slug Generator to your own site or blog. Copy the code below and paste it into an HTML block. It resizes itself and works on phones.

How we checked this tool: the Tools Veria Editorial Team built this tool by hand, checked it against the official rules or published standards where they apply, and tested it against worked examples. Results are estimates for planning, not personal financial or tax advice. Read our editorial policy and disclaimer, or report an error.

Frequently Asked Questions

What is a slug in a URL?

A slug is the readable part at the end of a URL that identifies a page, such as best-walking-boots in example.co.uk/best-walking-boots.

Should I use hyphens or underscores in slugs?

Use hyphens. Google recommends hyphens to separate words, while underscores can cause words to be read as one.

How long should a URL slug be?

Short and descriptive is best. Three to six words, or roughly 60 characters or fewer, works well for most pages.

Should I remove stop words from slugs?

Usually yes, as words like the, and and of add length without meaning. Keep them only if the slug reads oddly without them.

Does the slug affect SEO?

A descriptive slug helps users and search engines understand the page, but it is a small factor compared with content quality.

Can I change a slug after publishing?

You can, but you should add a 301 redirect from the old URL so visitors and existing links still reach the page.