↑↓ to move ↵ to open Esc to close Browse all tools

Slug Generator

Paste a title, or a whole list of them, and get clean, lowercase URL slugs you can copy straight into your CMS.

Embed

Your title

Type a page or post title. The slug updates as you type.
Separator
Your slug

Slugs are created in your browser. Your titles are not sent anywhere.

Slug Generator by Freebiefy, free online tools · Privacy · Legal notice

Embed this tool on your site

Paste this code into your page. The tool runs in the visitor's browser, free and without signup. The height adjusts to the content. All tools you can embed

What a URL slug is

A slug is the readable part at the end of a web address that identifies one page. In example.com/blog/cold-brew-coffee-guide the slug is cold-brew-coffee-guide. WordPress calls it the slug and builds the permalink of a post from it; other systems call it the URL handle or path. A good slug tells a reader what the page is about at a glance, looks trustworthy when shared and gives search engines one more clue about the topic.

With the slug set, write the title and description for the same page in the Meta Tag Generator. Naming a whole new business or project instead? The business name generator suggests ideas from your keywords.

Slug best practices for SEO

  • Keep it short. Three to five words is usually enough. Short URLs are easier to read, share and remember.
  • Use the main keywords. Put the words people search for first and drop filler. "best-hiking-boots" beats "the-10-best-hiking-boots-you-can-buy-this-year".
  • Separate words with hyphens. Google recommends hyphens over underscores, because they help people and search engines identify the words in a URL.
  • Use lowercase only. Some servers treat /Blog/Page and /blog/page as two different URLs, which can split links and create duplicates.
  • Leave out dates and years for evergreen content. A slug with 2024 in it looks outdated as soon as the year changes, even if you update the article.
  • Avoid accents and special characters. Letters like é or ü are encoded as long percent codes in many places. This SEO-friendly URL generator turns them into plain letters.
  • Don't change slugs after publishing. If you have to, add a 301 redirect from the old URL to the new one so links, bookmarks and search engines reach the new address. The HTTP header checker shows each redirect.

Slug examples

These titles were converted with the default settings and with stop words removed:

TitleSlugWithout stop words
How to Make Cold Brew Coffee at Homehow-to-make-cold-brew-coffee-at-homemake-cold-brew-coffee-home
Don't Panic: 10 Tips for New Café Ownersdont-panic-10-tips-for-new-cafe-ownersdont-panic-10-tips-new-cafe-owners
Top 5 Laptops for Students & Gamerstop-5-laptops-for-students-and-gamerstop-5-laptops-students-gamers
Save 20% on Your First Ordersave-20-percent-on-your-first-ordersave-20-percent-first-order
Crème Brûlée Recipe for Beginnerscreme-brulee-recipe-for-beginnerscreme-brulee-recipe-beginners

What the generator does

It removes accents (é becomes e), turns & into "and", @ into "at", % into "percent" and + into "plus", and deletes apostrophes inside words, so "don't" becomes "dont" instead of "don-t". Everything else that is not a letter or digit becomes a separator, repeated separators are collapsed into one, and separators at the start and end are trimmed. Stop words are common English filler words such as a, an, the, and, or, of, to, in, on, for, with, how and what. A max length cuts the slug at the last whole word that fits.

How to use the slug generator

  1. 1Paste a title. For many pages at once, switch to Bulk and paste one title per line, for example a column from a spreadsheet.
  2. 2Choose the separator, keep lowercase on, and remove stop words or set a max length if the slugs get long.
  3. 3Check the URL preview, then copy a single slug or copy all of them, one per line, back into your sheet or CMS.

Frequently asked questions

What is a URL slug?

The slug is the last part of a web address that names one page, like "cold-brew-coffee-guide" in example.com/blog/cold-brew-coffee-guide. It tells people and search engines what the page is about before they open it.

Should I use hyphens or underscores?

Hyphens. Google recommends hyphens over underscores because they help people and search engines identify the separate words, so cold-brew-coffee reads as three words. Underscores are often used to keep words together, as in names like format_date, and they are hard to see when a link is underlined. Use underscores only where a system requires them.

Should I remove stop words like "the" and "and"?

Often, yes, because it makes the slug shorter and puts the keywords up front. Keep them when the slug would lose its meaning without them, like "to-be-or-not-to-be". The generator keeps your words if a title consists only of stop words.

Can I change a slug after publishing?

You can, but it changes the URL, so old links, bookmarks and search results point to a page that no longer exists. If you must change it, set up a permanent 301 redirect from the old URL to the new one. Google calls that the best way to send both people and Google Search to the right page.

What happens to accents, umlauts and other alphabets?

Letters with accents lose the accent: café becomes cafe, crème becomes creme. With the German option, ä, ö and ü become ae, oe and ue, and ß always becomes ss. Characters from non-Latin alphabets like Cyrillic or Chinese are removed, because they would turn into long percent codes in the URL.