sluggi

Modern, blazing-fast Python library & CLI for generating clean, URL-safe slugs from any text.

PyPI CI Docs

  • 🚀 Fast & robust: Optimized for performance and reliability
  • 🌍 Unicode & emoji: Handles all languages and emoji out of the box
  • 🧩 Customizable: Supports custom mappings, stopwords, and pipelines
  • 🪄 Batch & async: Parallel and async slugification for large datasets
  • 🖥️ CLI & Python API: Use from the command line or in your code

Why sluggi?

sluggi outperforms legacy slugification tools with full Unicode, emoji, and async support—ideal for modern web, data, and content pipelines.


Get Started

Requirements: Python 3.8+

Install with pip:

pip install sluggi

Basic usage:

from sluggi import slugify
slug = slugify("Hello, world!")  # hello-world


sluggi is open source and maintained by blipbox.