File size: 874 Bytes
4f302e1
8df8d96
 
4f302e1
8df8d96
4f302e1
8df8d96
 
4f302e1
 
8df8d96
 
 
 
 
 
 
 
4f302e1
 
8df8d96
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
title: JSON Extractor
emoji: 🎯
colorFrom: yellow
colorTo: green
sdk: gradio
sdk_version: "5.49.1"
python_version: "3.12"
app_file: app.py
pinned: false
license: mit
short_description: "Pull clean JSON out of messy LLM text."
tags:
  - llm
  - structured-output
  - json
  - parsing
  - agentcast
---

# JSON Extractor

Paste messy LLM output, get clean JSON. Powered by [`agentcast`](https://pypi.org/project/agentcast-py/).

Handles fenced ` ```json ``` ` blocks, language-less fences, top-level arrays, inline JSON in prose, multi-line unfenced objects, and refusals (returns `null`).

## Related

- [`agentcast` on PyPI](https://pypi.org/project/agentcast-py/)
- [The Agent Reliability Stack](https://mukundakatta.github.io/agent-stack/)
- Companion dataset: [`llm-output-extraction-cases`](https://huggingface.co/datasets/mukunda1729/llm-output-extraction-cases)