Skip to content

URL Slug Generator

Paste one title per line and get short, readable URL slugs ready for your CMS or router.

Processed locally in your browser

Options

Cuts on a whole word.

0 chars · 0 lines
The result will appear here.

What is URL Slug Generator?

A slug is the human-readable last part of a URL, such as "best-cafe-in-zurich". Good slugs are lowercase, use a single separator, avoid accents and punctuation and stay short enough to read in search results.

This generator strips diacritics with Unicode normalization (é becomes e) and maps special letters such as ß to ss, then removes punctuation and collapses separators. You can choose the separator, drop numbers, remove English, French or Spanish stop words, and cap the length: the slug is cut on a whole word.

How does it work?

  1. Paste your titles, one per line. Blank lines stay blank so results line up with your list.
  2. Pick the separator (hyphen, underscore or dot) and whether to lowercase and keep numbers.
  3. Optionally remove stop words in a language and set a maximum length; 0 means unlimited.
  4. Copy the slugs into your CMS, sitemap or routing file.

Common use cases

  • Generating permalinks for a batch of blog posts or product pages.
  • Shortening long headlines by dropping stop words such as "the", "of" or "and".
  • Producing file names or anchor ids from titles with accents.
  • Checking what a CMS will do to a title before publishing.

Examples

Try this input in the tool above:

Input
How to Choose the Best Café in Zürich: 10 Tips!
À propos de nous — L’équipe & l’histoire
Output
how-to-choose-the-best-cafe-in-zurich-10-tips
a-propos-de-nous-lequipe-lhistoire

Privacy

URL Slug Generator runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Letters from non-Latin scripts (Arabic, Cyrillic, CJK) are not transliterated: they are dropped unless you tick "keep non-Latin letters".

Frequently asked questions

Are accented letters transliterated?

Yes. Accents are removed through Unicode decomposition (café gives cafe) and letters such as ß, æ, œ, ø and đ are mapped to ASCII equivalents.

What does the max length option do?

It shortens the slug to the given number of characters without cutting a word in half and never leaves a trailing separator.

Which stop words are removed?

A short built-in list of very common English, French or Spanish function words (articles, prepositions, conjunctions). Choose "No" if you want every word kept.

More tools in Developer Tools →