# json-repair — card for AI agents

Fix and repair malformed or broken JSON strings automatically.

Category: Utilities · PyPI package `json-repair` · latest version 0.64.2 (checked 2026-11-01)
Install: `pip install json-repair`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 66.8 (#507 of all tools, 62 of 406 in its category)
- Used in 18 public projects set up for AI coding agents (0.3%)
- Downloads last week: 13,120,951 (as of 2026-11-17), +25.3% over 4 weeks
- GitHub stars: 5,137 (as of 2026-11-17)
- Last push: 2026-11-12

## Often used with
OpenAI Python Library 89.0%, python-dotenv 87.8%, Pydantic 85.4%, Requests 83.2%, PyYAML 82.3%, NumPy 81.7%

## Links
- AgentGid page: https://agentgid.com/tools/json-repair/
- Homepage: https://github.com/mangiucugna/json_repair/
- Repository: https://github.com/mangiucugna/json_repair

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
