chardet: Universal Character Encoding Detector
JSON →chardet is a Python library that detects the character encoding of byte strings, providing the detected encoding, confidence score, and language. The current version is 7.4.0.post1, released on March 14, 2026. It is actively maintained with regular updates, focusing on improving accuracy and performance. The library requires Python 3.10 or higher and has zero runtime dependencies, making it suitable for various Python environments, including PyPy.
Traffic · last 30 days ↓11% vs prev 7d
total hits 29
actors 7 distinct systems
last hit 9h ago human
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇬🇧 United Kingdom · 🇨🇦 Canada · 🇩🇪 Germany
Resources
packagepypi.org/project/chardet/ ↗
API endpoints
full doc /v1/registry/chardet
install /v1/registry/chardet/install
compatibility /v1/registry/chardet/compatibility