Converting a post title like 'Hello World! (2024)' into the URL path 'hello-world-2024' takes one paste: spaces become hyphens, punctuation is stripped, and the whole string lowercases. Unlike a case converter, it also applies Unicode NFD normalization, turning 'café' into 'cafe' rather than a percent-encoded sequence. Custom separators let you output underscores instead of hyphens when your system requires it.
Try it now — free, instant, no signup
What is Slug Generator?
A slug generator takes arbitrary text and produces a string safe for use in a URL path segment. Feed it 'Best Node.js Frameworks 2024 Edition' and it returns 'best-node-js-frameworks-2024-edition': everything lowercased, spaces replaced with your chosen separator, and characters outside the URL-safe set stripped or normalized away.
Reach for this instead of a terminal one-liner when you need to preview slugs interactively or you are on a machine without Node or Python available. A quick sed and tr pipeline handles basic space-to-hyphen replacement, but it will not touch Unicode normalization, so 'München' stays as 'münchen' in raw output while this tool strips the umlaut to give 'munchen'. If you are inside a Node project already, the 'slugify' npm package is the right permanent choice; this tool is faster for one-off checks or showing a teammate exactly what a given title will resolve to.
One technical note worth knowing: NFD decomposition breaks accented Latin characters like 'é' into a base letter plus a combining diacritic, and then the non-ASCII diacritic is stripped. That works cleanly for most European scripts. It does not work for Chinese, Arabic, Korean, or any logographic or abjad script, because those code points have no ASCII base decomposition. The result for those inputs is an empty string or just separators. Transliteration (a separate preprocessing step) is required before slugifying non-Latin content.