Sample input
{"b":2,"a":1,"list":[3,1,2]}
Format minified or messy JSON into a readable structure, with key sorting, custom indentation, and tolerant parsing for trailing commas.
{"b":2,"a":1,"list":[3,1,2]}
curl -X POST https://staging.toolkit.fun/api/v1/t/json-pretty \
-H "Authorization: Bearer tk_..." \
-H "Content-Type: application/json" \
-d '{"input":"...","params":{}}'
MCP server: https://staging.toolkit.fun/api/mcp
Use this tool directly when you need JSON Formatter / Sorter, want to chain it into a workflow, or want to expose it to an agent over REST API or MCP. This page carries the sample, call syntax, manifest, and version so search engines and generative retrieval can describe the tool accurately.
Format minified or messy JSON into a readable structure, with key sorting, custom indentation, and tolerant parsing for trailing commas.