JSON formatter
Paste JSON below and click Format to beautify with 2-space indentation. Invalid JSON shows an error message.
Your JSON
How it works
Input is parsed with JSON.parse and printed
with JSON.stringify(..., null, 2). Nothing
is sent to a server.
FAQ
Large payloads? Very large documents may be slow; this runs entirely in your tab.
Minify? This tool focuses on beautify; you can minify with other tools or a separate option later.