How do I compare JSON without counting spaces and object order as changes?
Open both local JSON documents and compare their nested values and types. The report uses JSON Pointer locations, preserves big numeric values, and matches arrays by index.
Runs in your browser. No file uploads for processing.
Compare two JSON files by structure rather than formatting. See added, removed, and changed JSON Pointer paths without uploading either file.
Loading tool...
Use the original on the left and the revised document on the right. Both must be valid JSON with unique object keys.
Object keys are matched by name, while arrays are compared in index order. Whitespace and equivalent decimal spellings do not create changes.
A JSON Pointer shows where each value changed. Download the list as a JSON report with before and after fragments if you need to share it.
The tool processes inputs in your browser. Account features and usage analytics are separate.
Open both local JSON documents and compare their nested values and types. The report uses JSON Pointer locations, preserves big numeric values, and matches arrays by index.
No. Spaces and object key order are ignored. Arrays are ordered, so changing the order of their items can produce differences.
The comparison adds /channel and /users/ana/tags/1, removes /obsolete, and changes /users/ana/active from true to false. The values 7 and 7.00 are equal.
Yes. Numbers are compared by their exact decimal value without rounding them to JavaScript Numbers. The report preserves original JSON fragments.
It identifies a location such as /users/ana/active or /items/0. A slash in a key appears as ~1, a tilde as ~0, and an empty pointer means the entire document.
No. The browser does the comparison and makes the report. Your source files stay unchanged and are not uploaded.