Built for cleaning messy LLM JSON output
Your LLM gave you JSON with trailing commas, fences & smart quotes
One API call → parseable text
No regex debugging. No custom parsers. removecommas + unicodenormalize handles the mess.
Free tier: 1,000 requests/day · No API key required · No credit card
Paste messy LLM JSON
Clean output
{"clean": "json will appear here"}One API call, any language
No SDK needed. Works with curl, fetch, requests, axios — anything that speaks HTTP.
bash
curl -X POST https://textforge.co/v1/run \
-H "Content-Type: application/json" \
-d '{"input":"<messy json here>","pipeline":["removecommas","removetrailingcommas"]}'Node.js
fetch("https://textforge.co/v1/run", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ input, pipeline: ["removecommas"] }) }).then(r => r.json())Python
requests.post("https://textforge.co/v1/run", json={ "input": messy_json, "pipeline": ["removecommas"] }).json()PHP
$ch = curl_init("https://textforge.co/v1/run"); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(["input" => $input, "pipeline" => ["removecommas"]])); $res = curl_exec($ch);What the pipeline handles
Chain transforms in one request. No orchestration needed.
Trailing commas
"tags": ["a", "b",] → valid JSON
removecommasTrailing commas in objects
{"a": 1,} → {"a": 1}
removetrailingcommasMarkdown code fences
```json {...}``` → raw JSON
removecodefencesSmart quotes & unicode
"hello" → "hello" + NFC normalize
unicodenormalizeComments (//, /*)
Strip JS-style comments from JSON
removecommentsSingle quotes
{'key': 'val'} → valid JSON
fixquotesNewlines in strings
Escape raw newlines in values
escapenewlinesBOM & control chars
Strip invisible garbage
removebomBuilt for production LLM pipelines
Sub-5ms p95 latency. Deterministic steps. Inspectable outputs.
<5ms
p95 latency
99.9%
uptime SLA (Pro)
HTTPS
CORS enabled
28
transforms available
1K/day
free tier
No key
required for free
Stop fighting LLM JSON output
Free tier works without an API key. Upgrade when your volume is real.
Try It FreeNo credit card · Cancel anytime · 1,000 requests/day free