LLM JSON Extractor
Extract one or more JSON blocks from chatty model replies, repair them, and check required keys.
How to use
Paste the full model reply, including Markdown fences and surrounding prose. The extractor checks JSON-labelled fences, other code fences, and a string-aware balanced scan for objects or arrays, then lists every block it finds. Invalid blocks are passed through jsonrepair and labeled with the likely repairs, while valid blocks remain untouched. Choose pretty or minified output. Optionally enter comma-separated keys such as id or user.name to check each extracted value without writing a JSON Schema.
FAQ
How is this different from JSON Repair?
This tool focuses on locating and listing multiple JSON values inside mixed prose. JSON Repair focuses on recovering one broken JSON document.
Can it find braces inside quoted strings correctly?
The balanced scanner tracks quoted strings and escapes, so braces and brackets inside strings do not close a block early.
Does required-key checking use JSON Schema?
No. It only verifies that each comma-separated top-level key or dotted object path exists.