Structured Data Diff
Developer · Text & Unicode
Differences
Differences appear here after you compare.
How to use
Pick the format
JSON reports locations as JSON Pointers; CSV pairs rows by key columns.
Enter before and after
Paste into the textareas or drop files. For CSV, also name the key columns.
Read and save the diff
Check locations and values in the table, then save the report as JSON if you need it.
Scope of the result
JSON key order and whitespace are ignored, and arrays are compared by index — moves and LCS are not detected. Every CSV cell is treated as a string, so 001 and 1, or an empty cell and a space, differ. Numbers are compared as JavaScript numbers with no tolerance setting. Generating or applying JSON Patch and merging changes are out of scope.
Frequently asked questions
- Reordering an array produced a flood of differences.
- Arrays are compared by index, so a move shows up as the value at that index having changed. Element moves are not detected.
- CSV reports that several rows share the same key.
- The chosen key columns do not identify rows uniquely. Add another column to form a composite key.
- 1 and "1" are reported as different.
- JSON distinguishes types, so this is a type change. CSV does the opposite and compares every cell as a string.