Benchvale

Slug generator

Paste one title or a list with one title per line. The generator removes surrounding punctuation, joins words with your chosen separator, and flags different titles that collapse to the same slug. Unicode letters are preserved by default so names remain readable; ASCII conversion is available when an older system requires a restricted URL format.

Turn titles into slugs

Format

Generated slugs

Measured on this page, in this browser
Requests
· from Resource Timing
Script
· KB of a 100 KB budget
Everything here runs in your browser. We never send your titles to ourselves or anywhere else. It stays on your device. Once the page has loaded, you can disconnect and keep working. How we build tools

Readable by default

Modern URLs can contain Unicode letters and their combining marks, so a title does not have to lose its language to become a slug. The default keeps letters, marks, and numbers from any writing system, removes punctuation, and uses hyphens between words. ASCII mode performs limited character folding, not language-aware transliteration; it folds common Latin accents and removes characters it cannot represent without guessing.

Duplicate warnings matter in bulk

Punctuation and capitalization can make two titles look different while producing one path. The bulk result marks the second occurrence instead of inventing a numbered suffix. Adding a number automatically could create a stable-looking URL whose meaning was never chosen.

Changing a slug that already exists is not free

A slug is part of a URL, and a URL that has been published has links pointing at it, entries in search indexes, and rows in every report you have ever run. Generating a better slug for a page that is already live is only half the job: the old path has to redirect permanently to the new one, or the page starts again from zero. If you can't add that redirect, the honest answer is usually to leave a mediocre slug alone. Get it right before the first publish, which is what this page is for.

The duplicate warning only sees what you paste

The collision check runs across the list in front of it. It can't see the slugs already on your site, so two titles submitted a month apart can still collide and nothing here will say so. If you publish in batches, keep one running list and paste the whole thing rather than each batch on its own. Dates are the other quiet source of collisions and of stale-looking URLs: a slug that carries a month is a slug that reads as old a year later, and the fix is to leave the date out of the path and let the page carry it.

Questions

Are hyphens or underscores better?

Hyphens are the conventional separator for public page paths and are the default here. Use underscores only when a system or established naming convention requires them.

Should every slug be lowercase?

Lowercase avoids two URLs that differ only by capitalization on case-sensitive servers. Turn it off only when the destination system has a deliberate reason to preserve case.

Why can ASCII mode produce an empty slug?

A title written entirely in a non-Latin script has no defensible automatic ASCII equivalent without transliteration rules for that language. The tool reports the empty result rather than inventing one.

Related tools

Use the slug in the canonical URL generated by the metadata and Open Graph generator, then add campaign tags with the UTM builder.

Maintained by Aaron Wilson
Published . Last updated . Method and formula: how we build tools. Something wrong? Tell us and it goes in the changelog.