Loading tool…
Paste JSON to pretty-print it with clean indentation, or minify it to a single compact line. Invalid JSON is reported with the parser's error message.
Loading tool…
Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.
JSON (JavaScript Object Notation) is a lightweight, human-readable data-interchange format built from objects, arrays, strings, numbers, booleans and null. It's the de-facto format for web APIs and config files.
Beautify adds newlines and 2-space indentation so JSON is easy to read and diff. Minify strips all unnecessary whitespace to reduce payload size for storage or transport.
If your input isn't valid JSON, the tool shows the exact parse error (for example a trailing comma or unquoted key) so you can fix it quickly.