Dev Patrache

JSON Diff

Last updated: 2026 · Free online tool

What is JSON Diff?

Free online tool to compare two JSON objects and visualize added, deleted, and changed keys

How to Use

  1. 1
    Enter Original JSON — Paste the original JSON data into the left input panel.
  2. 2
    Enter Comparison JSON — Paste the JSON data to compare into the right input panel.
  3. 3
    Run Comparison — Click the 'Compare' button to display the differences.
  4. 4
    View Results — Review results color-coded as added (green), deleted (red), changed (yellow), and type changed (orange).
  5. 5
    Switch View Mode — Toggle between tree view and inline view to see results in your preferred format.

Related Tools

Frequently Asked Questions

It detects four types of differences: key additions, key deletions, value changes, and type changes (e.g., string to number). It recursively compares nested objects and arrays.

Yes, arrays are compared by index, so the same elements in different orders are shown as changes. Sort the arrays first if order-independent comparison is needed.

Null is treated as an independent type. Changes from null to another value are classified as type_changed.

It depends on browser memory. Typically JSON files of several MB can be compared smoothly. Very large files may cause slower responses.

Standard JSON does not support comments, so parsing errors will occur if comments are included. JSON5 format is not supported.

This site uses cookies for better experience and advertising. Learn more