ZapKit

URL Slug Generator

Turn a page or post title into a clean, readable slug for its URL, one title per line, with accents and symbols handled for you.

What is a URL slug?

A slug is the readable part at the end of a web address that identifies a page, such as best-budget-laptops in example.com/blog/best-budget-laptops. Content management systems like WordPress, Shopify and Ghost generate one from the title, but they often keep stop words, odd punctuation or accented characters that turn into percent codes.

A slug generator makes them consistently: lowercase, words separated by hyphens, accents removed and symbols stripped. Developers also use slugs for file names, anchor IDs and database keys. This tool converts a whole list of titles at once, which helps when migrating a blog or importing products.

How to use the URL Slug Generator

  1. 1.Paste titles

    One per line, as many as you like.

  2. 2.Pick the style

    Hyphens or underscores, lowercase, optional stop-word removal and a maximum length.

  3. 3.Copy the slugs

    Each line of the output matches the title on the same line.

Example: three post titles

With the defaults (hyphens, lowercase, no length limit):

10 Tips for Writing Better Blog Posts!
10-tips-for-writing-better-blog-posts
Café & Crème Brûlée: A Guide
cafe-and-creme-brulee-a-guide
What’s New in 2026?
whats-new-in-2026

Accents, the ampersand, the apostrophe and the punctuation are all handled without manual editing.

What makes a good slug

Google recommends readable words in URLs and hyphens rather than underscores to separate them, so hyphens are the default. Accented letters are converted to their plain forms (é to e, ß to ss), ampersands become "and", apostrophes are dropped so "what's" becomes "whats", and everything else that isn't a letter or digit becomes a separator.

Dropping stop words shortens slugs like a-guide-to-the-best-cafes, though the first word is always kept. With a maximum length, the slug is cut at the last whole word that fits rather than mid-word.

Frequently asked questions

Should I use hyphens or underscores?

Hyphens. Search engines treat a hyphen as a word separator, while underscores can join words together.

How long should a slug be?

Short enough to read at a glance: three to six words, or under about 60 characters, is a common guideline.

Does it handle non-English titles?

Accented Latin letters are converted. Letters from other scripts, such as Hindi or Cyrillic, are kept as they are, which browsers support.

Should I change a published post's slug?

Only with a 301 redirect from the old URL, or existing links and rankings will break.

More Developer tools