Free tools, no sign-up — everything runs in your browser.
ToolHub 1000Free online tools

What Is a URL Slug and How to Write a Good One

A slug is the readable part of a URL after your domain. Short, descriptive slugs help readers and search engines understand a page at a glance.

What is the Slug Generator?

A slug is the readable tail of a URL. This generator lowercases your title, removes accents and punctuation, and joins words with hyphens.

How to use it

  1. Type your title.
  2. Click Generate slug.
  3. Copy the slug into your URL.

Worked example

'How to Bake Sourdough at Home' becomes 'how-to-bake-sourdough-at-home'.

How long should a slug be?

Aim for 3-6 words. Long enough to describe the page, short enough to read and share easily.

Frequently asked questions

Should slugs contain stop words?

Short slugs are usually better — dropping words like 'how to' is fine if the slug stays clear.

Can slugs contain uppercase?

They can, but lowercase is the convention and avoids duplicate-URL confusion.

Try the Slug Generator free · All guides