json_repair
A small Python library that fixes broken JSON data, such as badly formatted AI output.
- Your data
- Stays on your device
- Coding needed
- Developers only
- Cost
- Free
- Runs on
- Mac, Windows, Linux, Web browser
- Computer
- An ordinary computer is fine
A small Python library that fixes broken JSON data, such as badly formatted AI output.
JSON is a common text format for passing data between programs. AI models sometimes return JSON with small mistakes, like a missing bracket or stray words.
json_repair fixes these problems, such as missing quotes, extra commas or cut-off values, so programs can read the data.
It can be dropped in where programmers normally read JSON, and there is an online demo to test it.
Python developers who handle data returned by AI models or other messy sources.
Developers only. A Python library used in code; an online demo is available. New to this? Start here.
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?