Boneyard Tools

URL Slug Generator

Paste a title or headline to generate a clean URL slug. Accents become plain letters, spaces and symbols turn into your chosen separator, and you can cap the length for tidy permalinks.

How to generate a URL slug

  1. Type or paste your title into the box.
  2. Choose a separator, lowercase, and an optional max length.
  3. Copy the slug and use it in your URL or permalink.

Examples

Blog post title to slug

10 Café Tips You Should Know in 2026!
10-cafe-tips-you-should-know-in-2026

Frequently asked questions

What is a URL slug?

A slug is the readable part of a URL that identifies a page, like 'url-slug-generator' in /text/url-slug-generator. It is lowercase, uses hyphens instead of spaces, and avoids special characters.

Why do slugs matter for SEO?

A short, descriptive slug tells search engines and people what a page is about. Clean keyword-rich slugs are easier to read, share and click, and they avoid the messy query strings that hurt clarity.

Should I use hyphens or underscores in slugs?

Use hyphens. Google treats a hyphen as a word separator, so 'slug-generator' reads as two words, while it treats an underscore as a joiner, so 'slug_generator' can read as one. Hyphens are the safer SEO choice.

How are accents and special characters handled?

Accented letters are normalized to their base form, so 'Café' becomes 'cafe' and 'Déjà' becomes 'deja'. Any other symbols, spaces or punctuation are replaced by your separator and trimmed from the ends.

Can I cap the slug length?

Yes. Set a max length and the slug is trimmed at the nearest separator boundary so you never end with a half word or a dangling hyphen.

Is my text private?

Yes. The slug is generated entirely in your browser and nothing is uploaded or stored.

Related tools