Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

chardet (Python)

Detect character encoding automatically in text and files.

Utilities PyPI 0BSD

Used in agent projects
25
1.5% of 1,622 Python repos built with AI coding agents
Gid Score
66 /100
#434 of 3,794 tools, #56 in utilities · ranking
Rank in utilities
#59 of 361
by use in those projects
Downloads
37.3M
PyPI, last 7 days, chardet
GitHub stars
2,680
311 forks · last push Oct 18, 2026

How chardet (Python) is used

chardet (Python) is a dependency in 25 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (1.5% of the 1,622 Python ones), #59 of 361 in utilities. Counting the projects our scan samples by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983), it appears in 458; those are left out of every share on this page. The most used alternative in our scan is charset-normalizer (67 projects). Projects that use it most often also use PyYAML (60.0%), Requests (60.0%), NumPy (52.0%).

chardet (Python) popularity over time

Top tools by Gid Score

chardet (Python): downloads per weekPyPI, chardet 36,523,077
chardet (Python): GitHub starschardet/chardet 2,680

Gid Score 66: downloads 97, use in agent projects 73, GitHub stars 28, downloads trend 42 (each 0-100). How it is calculated.

Often used with chardet (Python)

PyYAML60.0% of chardet (Python) projects · 10.1× more than average
Requests60.0% of chardet (Python) projects · 8.8× more than average
NumPy52.0% of chardet (Python) projects · 8.9× more than average
OpenAI Python Library52.0% of chardet (Python) projects · 13.2× more than average
Pillow52.0% of chardet (Python) projects · 13.6× more than average
psutil52.0% of chardet (Python) projects · 27.6× more than average
Pydantic52.0% of chardet (Python) projects · 6.0× more than average
python-dotenv52.0% of chardet (Python) projects · 5.7× more than average

By coding agent

GitHub Copilot0.4% of projects set up for it
Claude Code0.4% of projects set up for it
Cursor0.3% of projects set up for it

Share of public repos configured for each agent that list chardet (Python) as a dependency.

Install

Packagepip install chardet
Main stacksPython (23), Next.js (2)
Example projectscapture0x/AdStrike, spire-studio/cloakbot, owid/etl, EthanAlgoX/MarketBot, Navinspire-ia/navin

Alternatives to chardet (Python)

All utilities

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside chardet (Python) are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
charset-normalizer pypi
Detect and normalize character encoding in text with modern alternative to Chardet.
67 67 (4.1%) 319M 803 MIT

More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash

Is chardet (Python) right for your project? Ask AgentGid →