View on GitHub


Python Universal Character Encoding Detector

Chardet is a Python port of the C++ universal character encoding detector from Mozilla.


Chardet is available on PyPI and can be installed via pip:

pip install chardet

Authors and Contributors

Chardet was originally ported from C++ by Mark Pilgrim (@diveintomark). It is now maintained by Dan Blanchard (@dan-blanchard) and Ian Cordasco (@sigmavirus24), and was formerly maintained by Erik Rose (@erikrose).


We are currently working on updating our documentation, but an old (and still mostly correct) version of the documentation last updated by Mark Pilgrim is available here.