Validate, format, minify, diff, and convert JSON to CSV via REST API.
3 free requests/day without API key
https://json-toolkit-nu.vercel.appX-API-Key: your_key (header) or ?key=your_key (query)Get your free key below/api/jsonPerform JSON operations: validate, format, minify, diff, or convert to CSV.
actionstringyesOne of: validate, format, minify, diff, to_csvinputstringyesJSON string to processinput2stringdiff onlySecond JSON string for diff comparisonvalidateCheck if JSON is validformatPretty-print with indentationminifyRemove all whitespacediffCompare two JSON objectsto_csvConvert JSON array to CSVPOST /api/json
Content-Type: application/json
X-API-Key: your_key
{
"action": "format",
"input": "{\"name\":\"John\",\"age\":30}"
}{
"success": true,
"action": "format",
"result": "{\n \"name\": \"John\",\n \"age\": 30\n}"
}// 400 — Bad Request
{ "error": "Missing 'action' parameter" }
// 401 — Unauthorized
{ "error": "Invalid API key" }
// 429 — Rate Limited
{ "error": "Daily limit reached. Upgrade your plan." }Get a free API key for 6 requests/day. No credit card required.
X-API-Key: your_key?key=your_keyStart free. Pay only when you need more.