json format and view
← Toolbox
Input
Output

JSON tools

Paste your JSON on the left. If it is valid, on the right you see it formatted and colored, or as a collapsible tree. If it has an error, the bar below tells you which line and column.

Format indents it (choose 2, 4 spaces or a tab); Minify puts it on one line; Sort keys orders each object's fields alphabetically (handy for comparing two JSONs). Copy and take the result.

Everything happens in your browser: your JSON never leaves this page.