Beautify · Minify
JSON Formatter
Beautify or minify JSON instantly — free playground plus REST API for apps and CI.
Playground
JSON Formatter
Invalid JSON returns a clear parse error. Indent applies to beautify mode only.
Optional — try the API without a key (shared tools quota). Public signup is closed during beta — learn more.
Uses the tools API proxy when no key is entered. Max payload 512 KB.
Readable or compact — on demand
Clean JSON for reviews, diffs, and payloads without fighting indentation by hand
Beautify & minify
Pretty-print with 0 / 2 / 4 space indent, or shrink to a single line for wire size.
Safe parse first
Invalid JSON fails with a clear message — we never rewrite broken input into something silent.
Copy or download
Grab the result from the playground, or call the same transform from your app.
API included
POST /v1/json/format with mode and indent — same output the playground uses.
Need this as an API?
Format or minify JSON in CI, editors, and backends with one POST