sindresorhus/slugify
Slugify a string observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 41
- Release rhythm 15
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3059
- days_rel: 356
- days_push: 356
- n_releases_24m: 1
Adoption not part of the score
2702 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library that converts strings into URL-safe slugs, handling transliteration for many languages including German, Vietnamese, Arabic, and Russian. It offers configurable options like custom separators, lowercase conversion, and custom replacements.
Use cases
- generate url-safe slugs from titles
- create seo-friendly urls from strings
- slugify filenames for uploads
- transliterate cyrillic or arabic text to ascii slugs
- convert article titles to url ids
- sanitize strings for use as identifiers
When to choose
- you need reliable slug generation in Node.js or the browser
- you need multilingual transliteration support
- you want a small, well-maintained, zero-dependency utility
When to avoid
- you need slugging in a non-JavaScript language
- you need complex SEO or unicode normalization beyond slugging
Facets
library · maturity stable
serialization parser internationalization web-development developer-tools browser slugify url-safe transliteration npm-package string-utils localization nodejs javascript
1 source
- readme: https://github.com/sindresorhus/slugify · fetched 2026-08-28 · 35f8b003dd5e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| sindresorhus/slugify | main | 44 |
For agents
markdown · JSON · MCP: product_card(name="sindresorhus/slugify")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem