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-slugifyunicode-slugify
LanguagePythonPython
License—BSD-3-Clause
Stars490326
Forks4253
Last analyzedOct 10, 2026Nov 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.
Read the awesome-slugify analysis →

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.
Read the unicode-slugify analysis →

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.