Free JSON formatter and JSON validator that runs in the browser. Choose an indent of 2, 4, or a tab, sort object keys, minify, and read a tree of the value. Invalid JSON reports the line, the column, and the line of source.
1Paste JSONDrop a payload, a config file, or a response body into the editor. Nothing is uploaded.
2Pick pretty or minifyPretty uses 2 spaces, 4 spaces, or a tab. Minify removes the insignificant whitespace. Sort keys when you want a stable order.
3Read the error or the treeAn invalid document names the line and column. A valid one can be copied, downloaded, or opened as a tree.