# gosimple/slug

URL-friendly slugify with multiple languages support.

Repository: https://github.com/gosimple/slug
Canonical: https://ross.abutalabs.com/products/gosimple-slug
Language: Go
License: MPL-2.0
License Family: copyleft
Topics: go, slug
Last push: 2024-12-23T19:05:30+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4538, "days_push": 618, "days_rel": 618, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1330, forks 113 (observed 2026-08-28T04:04:23.939814+00:00)

## What it is
A Go library that generates URL-friendly slugs from Unicode strings, with transliteration to ASCII and support for multiple languages. It guarantees clean output containing only safe characters suitable for URLs and filenames.

## Use cases
- generate url slugs from article titles
- slugify unicode text in go
- convert non-ascii strings to ascii filenames
- create seo-friendly urls from any language
- transliterate cyrillic or chinese text to ascii

## When to choose
- you need URL-safe slugs from arbitrary Unicode input in a Go project
- you need language-aware substitutions (e.g. German '&' to 'und')
- you need transliteration of CJK, Cyrillic, or other scripts to ASCII

## When to avoid
- you need slugs in a language other than Go
- you need full Unicode normalization rather than ASCII-only output
- you need slug generation with database-backed uniqueness guarantees

## Facets
- artifact type: library
- maturity: stable
- function: serialization, parser, internationalization
- domain: web-development, developer-tools
- platform: go, cross-platform
- tags: slugify, unicode, transliteration, url-friendly, text-processing, localization

## Member repositories
- gosimple/slug (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:23.939814+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:45:31.748355+00:00, confidence not recorded.
  - readme: https://github.com/gosimple/slug (fetched 2026-08-28T04:04:23.939814+00:00, sha b9b667b31b81)
- Data as of 2026-08-30T08:39:29.467469+00:00.
