Indent a compact API response so you can follow nested objects and arrays.
How to use JSON Viewer & Formatter
- Paste your JSON or load the example.
- Select Format JSON.
- Read the result in the output panel.
What the tool does
Formatting changes whitespace. Expand or collapse the output tree to inspect a field without scrolling through the entire response.
Try this example
{"order":{"id":"0017","items":["pen","paper"]}}Questions about JSON Viewer & Formatter
Does my input leave this page?
The tool processes the input in your browser.
How much can I paste?
The input accepts up to one million characters.
Why is a large number rejected?
Numeric values outside the safe JavaScript integer range can lose digits. Put large identifiers in double quotes in JSON, or in single quotes in SQL.
What if the tool shows an error?
Check the error beneath the input. Load the example to see the format this tool expects.