slugifying
Slugifying is the process of converting a string, such as a title or file name, into a slug, a URL-friendly string used in web addresses to identify a resource. Slugs aim to be readable, compact, and stable, and are commonly generated by content management systems and web frameworks to create human-friendly URLs.
Typical slug rules include converting to lowercase, replacing spaces and punctuation with hyphens, and removing or
Implementation usually involves Unicode normalization, transliteration of accented characters, and a cleanup pass to ensure a
Examples illustrate common results: "Hello, World!" becomes "hello-world". "Café au lait" becomes "cafe-au-lait" after diacritic removal.