Format JSON
pretty-print JSON
Unformatted
Empty
Formatted
Example output:
{
"a": 1
}
Empty
About this tool
Format JSON adds two-space indentation to valid JSON so you can read nested objects and arrays. Parsing happens in your browser.
Inputs, results and saved preferences stay in this browser.
When to use it
- Read a compact API response before debugging a field.
- Check whether copied text is valid JSON before sharing it.