Slugify — Free Online Tool

Slugify converts human text into URL-safe slugs (a.k.a. permalinks) by removing special characters, normalizing Unicode, and replacing spaces with a separator. SWEDevTools: Prism slugifies one line or many lines at once, supports - or _ separators, optional lowercasing, and a max-length cap for SEO-friendly URLs. It’s perfect for CMS migrations, route generation, file naming, and consistent identifiers across systems.

Features

Frequently Asked Questions

What’s a slug in a URL?

A slug is the human-readable part of a URL (for example, /blog/my-post-title). It’s usually lowercase, uses separators, and avoids special characters.

Does this remove accents and diacritics?

Yes. It normalizes Unicode and strips diacritics so accented characters become plain ASCII equivalents where possible.

Can I slugify multiple titles at once?

Yes. Paste one title per line and you’ll get one slug per line in the output.

Does it keep emojis or punctuation?

No. Non-word characters are removed so the slug is URL-friendly and predictable.

How do I avoid duplicates?

Slugify only transforms text; it doesn’t enforce uniqueness. If you need unique slugs, append an ID, date, or a counter in your CMS/database layer.

Should I use - or _?

For URLs, - is the common convention (kebab-case). For identifiers or filenames, _ may be preferred in some codebases.

What max length should I use?

A common range is 50–70 characters for readability and sharing. The tool truncates and then trims trailing separators.

Is this safe for international URLs?

It produces ASCII-friendly slugs by default. If you need native-language slugs (IDNs), you may prefer a different strategy that keeps Unicode.

What happened to smalldev.tools?

smalldev.tools is no longer available. Prism by SWEDevTools offers the same developer tools and more, with offline support, pipeline chaining, and completely free usage — no signup required.