CraftTools

Slug Generator

Guide: SEO Meta Tags Explained: Title, Description and Open Graph

Separator
Your slug
your-slug-appears-here

Nothing you enter or choose here leaves your device. This tool runs in your browser.

What the tool changes

A slug is the readable last part of a web address. The generator lowercases the title, removes accents, turns an ampersand into and, drops punctuation and joins the words with hyphens. Here's how a few real titles come out:

TitleSlug
10 Tips & Tricks for Café Owners!10-tips-and-tricks-for-cafe-owners
How to Fix a Leaky Tap (Step by Step)how-to-fix-a-leaky-tap-step-by-step
What's New in Version 2.0?whats-new-in-version-2-0
Spring Sale: Up to 50% Offspring-sale-up-to-50-off

Writing slugs that last

  • Keep it short. Under 60 characters, with the key words first. The slug is a small ranking and click signal, and it appears in the address bar.
  • Use hyphens. Search engines read them as spaces. Underscores can join two words into one.
  • Skip dates unless they matter. A year in the slug, like best-laptops-2024, looks old as soon as the year turns.
  • Drop filler words like a, the and of if the slug is still clear without them. The max length slider trims at a whole word.
  • Don't change it later without a redirect. A new address is a new page to a search engine, and links to the old one break.

Accents and other alphabets

Accents are removed, so café becomes cafe. That's the safe choice for a plain address. Titles in other writing systems, such as Chinese, Arabic or Cyrillic, have no Latin letters to fall back on, so a slug made from them may come out empty. For those, write a short Latin slug by hand or use the id.

Slugs and duplicates

Two articles with the same title would get the same slug. Add a small distinguishing word, a number or a category: review-2 is worse than review-budget-edition. Content platforms usually add a number automatically.

A slug is one of the pieces covered in the SEO meta tags guide. When you've written the title and slug, the meta tag generator previews how the page will appear. To check how a finished address is made up, paste it into the URL parser.

Slugs for different kinds of page

PagePatternExample
Blog postTopic words onlyhow-to-brew-cold-coffee
ProductName and key detailoak-desk-120cm
CategoryOne or two wordsdesks
DocumentationTask or termreset-your-password
EventName and yeardesign-summit-2027

Whatever the pattern, keep it the same across the site. Mixing styles makes addresses harder to guess and harder to maintain. Before you publish, read the slug out loud. If it's clear without the page title, it's good.

Written by Akinrinmade Michael · Updated October 24, 2026

How to use

  1. 1Type or paste your title.
  2. 2Choose a hyphen or underscore separator and any other options.
  3. 3Watch the slug update instantly.
  4. 4Click Copy slug.

Frequently asked questions

What is a URL slug?

The slug is the readable last part of a web address, such as "my-post-title" in example.com/blog/my-post-title.

Hyphens or underscores?

Google recommends hyphens because it treats them as word separators. Underscores can make two words read as one.

What happens to accents and symbols?

Accents are removed (café becomes cafe), "&" becomes "and", and other symbols and punctuation are dropped.

How long should a slug be?

Short and descriptive is best, commonly under 60 characters. Use the max length slider to trim at a whole word.

Read the guide

Learn how this works and how to get the most from it.

Web & SEO

SEO Meta Tags Explained: Title, Description and Open Graph

The meta tags that decide how your page looks in Google and when shared on social media, with length limits and examples you can copy.

4 min read

Case Converter

Switch text to UPPER, Title, camelCase, snake_case and more.

Character Counter

Count characters and check X, SMS and meta-description limits.

Markdown Previewer

Write Markdown and see a live formatted preview side by side.

Sort & Dedupe Lines

Sort lines A-Z, reverse them, remove duplicates and trim whitespace.