Paste JSON
or drag & drop a JSON file
Two-space indentation, key order untouched, undo still works.
Paste JSON
or drag & drop a JSON file
Formatting re-indents a document so its structure is visible: two spaces per level, one key per line. The result replaces what is in the editor instead of appearing in a read-only pane, so you can keep editing, format again, or undo straight back to the original.
{"id":42,"tags":["a","b"],"ok":true}{
"id": 42,
"tags": [
"a",
"b"
],
"ok": true
}