Slugify

Separator
1 line · 0 B

Slugify

Turn text into a URL-friendly slug: lowercase, hyphen or underscore separated, with accented characters transliterated to plain ASCII.

1 line · 0 B
UTF-8 · slug

About this 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.

FAQ

What exactly does slugify do?

Lowercases text, replaces spaces with hyphens, strips special characters, removes accents — turning "What is Slugify?" into "what-is-slugify".

Can I slugify multiple lines/titles at once?

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.

Does it handle non-Latin characters/accents?

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.

Can I choose underscores instead of hyphens?

Yes — toggle between hyphen (default) and underscore as the word separator.

Why do slugs matter for SEO?

A descriptive hyphenated slug is readable by users and crawlers, unlike an ID-based URL that gives no context.

Is my text sent anywhere?

No, entirely client-side.

Related tools