Using JSON Formatter
Paste JSON into the left editor. The formatted version updates on the right as you type. Choose 2 or 4 spaces for indentation, or use Minify to remove extra whitespace.
What to keep in mind
JSON needs double quotes around keys and string values. Trailing commas and comments aren't allowed. If there's a syntax error, the message below the editors tells you what the parser found.