JSON Repair Tool
This tool reads JSON that is almost right, such as text from a chat assistant, and writes valid JSON. It lists every fix, so you can check that nothing was guessed wrongly.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use JSON Repair Tool online
- Paste the broken text. Or open a file.
- Choose indent and sorting. As you like.
- Read the change list. Check each fix.
- Copy the JSON. Or save it.
Why use this free JSON Repair Tool
- Code fences and chat text removed
- Quotes, keys and commas fixed
- Open brackets closed
- Table of every change
- Sorted keys
- Works in your browser
What it repairs
Text that came from a chat assistant, a log or a hand edit is often close to JSON but not valid. The tool removes the code fence and the chat around it, turns single quotes and curly quotes into double quotes, puts unquoted keys in quotes, and removes comments and trailing commas. It adds missing commas and colons, closes brackets and strings that were never closed, and changes Python words such as True and None into true and null.
The change list
Fixing without telling you what was fixed is risky, because a repair is a guess. Every fix is written in a table under the result. If the list says that a bracket was closed at the end, you know the text was cut short and that data may be missing. If the list is empty, the text was already valid JSON, and the result is only reformatted.
Indent and sorting
Choose two spaces, four spaces or one line with no spaces. You can also sort the keys alphabetically in every object, which helps when you compare two files. The result is checked by the browser parser before the page says it is valid, so a result marked valid will load in code.
Where it stops
The reader follows the shape of the text. When whole parts are missing, or when two objects are glued together with no separator, it picks the reading that needs the fewest changes, and that can be wrong. Text with no braces or brackets at all is refused. Always read the result before you use it in a program or send it on.
Privacy
The text is read and written in your browser. Nothing is sent to a server, which matters when the JSON holds keys, names or customer data. You can open a file into the box, copy the result or save it as a file.
Using the tool
There is no button to wait for: the JSON Repair Tool result follows every change. Undo and redo step back through your earlier text.
JSON Repair Tool: frequently asked questions
Does it use AI?
Can it recover data that is missing?
Why did a number become a string?
What if a key appears twice?
Does the JSON Repair Tool keep a copy of my text?
Can I copy the JSON Repair Tool result?
Related searches for JSON Repair Tool
- JSON Repair Tool online
- free JSON Repair Tool
- JSON Repair Tool online free
- JSON Repair Tool for mobile
- JSON Repair Tool without sign up
- JSON Repair Tool – Developer & Web Tools
JSON Repair Tool is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.