Skip to content
Developer & CodeLocal · Stays on device

JSON Diff Tool

Compare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.

Launch JSON Diff Tool
  • JSON, JSON Patch (RFC 6902)
  • Free to use
  • No sign-up or watermark
json-diff-toolOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
JSONJSON Patch (RFC 6902)
Open JSON Diff Tool

About this tool

Unlike a line-by-line text diff, this compares the parsed structure, so key order and formatting don’t matter. Every difference is listed with its JSON Pointer path (for example /items/2/price) and classified as added, removed, changed or type changed (such as the number 2 becoming the string "2"). Side-by-side views highlight the affected lines; untick Show unchanged lines to see only what changed.

Arrays are compared by position by default. If your arrays hold objects with an identifier, switch to matching by key (for example id) so reordering doesn’t show up as changes. You can export the differences as a standard JSON Patch (RFC 6902) that turns the original into the changed document. Everything runs in your browser. Your data is never uploaded, logged or stored.

  1. Input

    Your code or text

    JSON, JSON Patch (RFC 6902)

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineCustom structural diff

How to use it

  1. 1

    Paste the original JSON on the left and the changed JSON on the right.

  2. 2

    Optionally match array items by a key such as id.

  3. 3

    Read the change table and highlights, then copy or download the JSON Patch.

Zero-upload architecture

How to use JSON Diff Tool for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open JSON Diff Tool

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Optionally match array items by a key such as id.

  3. 3

    Get your result

    Read the change table and highlights, then copy or download the JSON Patch.

  • Local

    JSON Formatter

    Pretty-print, beautify and validate JSON with precise error locations, key sorting and custom indentation.

    Open tool
  • Local

    JSON Path Tester

    Evaluate JSONPath expressions against your JSON and see every match with its path, in a safe sandbox.

    Open tool
  • Local

    JSON Schema Generator

    Infer a starter JSON Schema (draft 2020-12) from sample JSON, with types, nested objects, arrays, required keys and formats.

    Open tool
  • Local

    Diff Checker

    Compare two texts or code snippets line by line, word by word or character by character, side by side or as a unified diff.

    Open tool