awesome-slugify vs unicode-slugify
Python slug-generation libraries compared
awesome-slugify and unicode-slugify both turn text into slugs for URLs and other naming needs. awesome-slugify emphasizes configurable slug rules and duplicate avoidance, while unicode-slugify defaults to preserving Unicode characters in URL-friendly slugs.

awesome-slugify: Create Configurable Slugs from Text
A Python library for turning text into configurable, readable slugs for URLs, filenames, and other identifiers. It supports transliteration, Unicode-preserving output, custom replacements, and unique slug generation.

unicode-slugify: Create Unicode-Friendly Text Slugs
unicode-slugify is a Python library for creating URL-friendly slugs while preserving Unicode characters, with an option to transliterate to ASCII. It suits applications that need readable slugs for multilingual text.
| awesome-slugify | unicode-slugify | |
|---|---|---|
| Language | Python | Python |
| License | — | BSD-3-Clause |
| Stars | 490 | 326 |
| Forks | 42 | 53 |
| Last analyzed | Oct 10, 2026 | Nov 2, 2026 |
Key differences
- awesome-slugify supports configurable separators, length limits, stop words, and numeric suffixes for duplicate slugs; unicode-slugify focuses on character retention, spacing, and transliteration options.
- awesome-slugify transliterates by default and can preserve Unicode; unicode-slugify preserves Unicode by default and offers ASCII transliteration.
- awesome-slugify includes language-specific mappings for Cyrillic, German, and Greek, plus custom pre-translation rules.
- unicode-slugify is available through a `slugify` function and supports retaining capitalization or spaces; awesome-slugify offers callable helpers and configurable classes.
- unicode-slugify lists a BSD-3-Clause license, while awesome-slugify has 490 stars and 42 forks compared with unicode-slugify's 325 stars and 53 forks.
Choose awesome-slugify if you…
- need length limits, stop words, or configurable transliteration rules.
- want to generate unique slugs with numeric suffixes and a custom uniqueness checker.
- need filename-oriented safe-character options.
Choose unicode-slugify if you…
- want Unicode characters preserved by default in URL-friendly slugs.
- need a straightforward `slugify` function with configurable allowed characters.
- want to choose between Unicode output and ASCII transliteration, or retain capitalization or spaces.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.