What exactly does slugify do?
Lowercases text, replaces spaces with hyphens, strips special characters, removes accents — turning "What is Slugify?" into "what-is-slugify".
Turn text into a URL-friendly slug: lowercase, hyphen or underscore separated, with accented characters transliterated to plain ASCII.
Text is processed locally in the browser. Accented Latin characters (é, ñ, ü, and similar) are transliterated to their base ASCII letter via Unicode NFKD decomposition; anything else that isn't a letter, digit, or separator is dropped.
Lowercases text, replaces spaces with hyphens, strips special characters, removes accents — turning "What is Slugify?" into "what-is-slugify".
Yes — each line is slugified independently and the output keeps the same line-by-line structure, so a list of titles becomes a list of slugs.
Accented Latin characters transliterate cleanly (café → cafe, Zürich → zurich) via Unicode NFKD normalization, no external library needed. Non-Latin scripts (CJK, Cyrillic, Arabic, etc.) have no Latin equivalent to fall back on and get stripped out entirely rather than transliterated.
Yes — toggle between hyphen (default) and underscore as the word separator.
A descriptive hyphenated slug is readable by users and crawlers, unlike an ID-based URL that gives no context.
No, entirely client-side.