🔒 All tools run entirely in your browser. No data leaves your device.

Slug Generator

Turn titles and text into clean URL slugs — lowercase, accent-folded, punctuation-stripped, with a configurable separator and length limit. One slug per line, all client-side.

About this tool

A slug is the readable identifier in a URL — the my-post-title at the end of a blog address. This generator turns any title or phrase into a clean one: it folds accented letters to their ASCII base, expands & to “and”, lowercases by default, replaces every run of punctuation and spaces with a single separator, and trims stray separators from the ends.

You control the details. Pick a hyphen (the SEO-friendly default that search engines treat as a word break) or an underscore. Toggle lowercasing off if you need to preserve case. Set a max length to keep slugs short — it trims back to the last complete word rather than chopping mid-word. Paste multiple titles, one per line, to slugify a whole list at once.

Clean slugs matter for more than tidiness: they are readable in search results, survive copy-paste without percent-encoding, and stay stable as anchors and permalinks. The transliteration step handles most European languages well; for non-Latin scripts that have no ASCII equivalent the characters are dropped, so review the output before using it. Everything runs locally, so draft titles never leave your browser.

Frequently asked questions

What is a URL slug?

The human-readable part of a URL that identifies a page, usually derived from its title — for example how-to-bake-sourdough. Good slugs are lowercase, hyphen-separated, free of punctuation, and short enough to read at a glance.

How are accents and non-English characters handled?

Accented Latin letters are transliterated to their base form — café becomes cafe, naïve becomes naive — by Unicode NFKD normalization with the combining marks stripped. Characters with no ASCII equivalent are removed, so keep an eye on the output for non-Latin scripts.

Can I generate many slugs at once?

Yes. Put one title per line in the input and you get one slug per line in the output, ready to copy as a batch.

What does the max length option do?

It caps the slug length and trims back to the last whole word so you never cut a word in half. Set it to 0 to disable the limit. Short slugs (under ~60 characters) are generally better for readability and for fitting in title tags.

Is my text sent to a server?

No. Slugs are generated entirely in your browser. Whatever you type stays on your device.