Slug Generator

Generate URL-friendly slugs.

10-tips-for-faster-web-apps-2024-edition

About the Slug Generator

Turns a headline into the slug that goes in the URL: ASCII only, separated by the character you choose, and lowercase unless you say otherwise. Accented letters fold to their base form, so “Café Münster” becomes cafe-munster, and every run of punctuation or whitespace collapses into a single separator. The slug updates as you type, which is what you want when naming a blog post, a docs page, or a file.

How to use the Slug Generator

  1. Type or paste the title into the Text box.
  2. Pick a Separator: hyphen, underscore, or dot.
  3. Leave Lowercase ticked, or untick it to keep the original capitals.
  4. Press Copy to take the slug from the Slug panel.

Frequently asked questions

What happens to accented or non-Latin characters?
Accented Latin letters are decomposed and stripped of their marks, so Müller becomes muller. Characters with no ASCII base — Cyrillic, Greek, CJK, emoji — are dropped entirely, so a title written only in those scripts produces an empty slug.
Should I use a hyphen or an underscore?
Hyphen for web URLs; it is the conventional word separator and what almost every CMS emits. Underscore and dot are here for filenames, package names, and object keys, where a hyphen is often awkward or illegal.
Can two different titles produce the same slug?
Yes. Everything outside a-z, 0-9 is discarded, so “C++ guide” and “C# guide” both become c-guide. This is a pure text transform with no memory of earlier slugs, so uniqueness is your database's job, not the generator's.
Is my text sent anywhere?
No. Slugification is a single function running in your browser tab. There is no request and no backend, so it keeps working with the network off.

Related tools