JSON Diff
JSON Diff is a free online diff that helps you compare two JSON documents and show added, removed and changed fields as a path-based tree. JSON Diff uses 2 input fields, returns 4 output values, and runs in your browser on the device.
Key facts
- Inputs
- 2 fields: JSON A (original) and JSON B (modified)
- Outputs
- 4 values: Diff, Added, Removed, and Changed
- Runtime
- your browser on the device
- Mode
- Diff
- Privacy
- Files and text stay in the browser session.
- Cost
- $0, no account required
How to use JSON Diff
- 1
Paste or fill in the input
Enter your text or values into the input fields on the page.
- 2
Run the utility
Click Compute to run the utility in your browser and review the result.
- 3
Copy the output
Copy the output value you need from the result panel.
JSON Diff details
First, enter JSON A (original) in JSON Diff. Next, review Diff, Added, Removed, and Changed. Additionally, JSON Diff uses 2 input fields and 4 output blocks so the result is easy to scan and copy.
Paste two JSON documents and see a structural diff between them. Output is a multiline list of changes keyed by JSON Pointer paths (RFC 6901 style); added fields are prefixed with `+`, removed with `-` and changed with `~`. Useful for spotting drift between API responses, config files or test fixtures. Runs entirely in your browser; no uploads, free, online.
Common searches
- json diff
- compare json
- json compare
- diff two json files
- json comparison tool
- json difference
Related tools
Tools that work with the same formats — most users open one of these next.
Text Diff
Compare two texts side by side and highlight added, removed and unchanged lines, words or characters.
JSON Merge
Deep-merge two JSON documents — choose how to handle conflicting keys and arrays.
JSON Patch Generator
Generate an RFC 6902 JSON Patch describing the changes needed to turn one JSON document into another.
Base Converter (2-36)
Convert a number between any two bases from 2 to 36 — also shows the value in binary, octal, decimal and hex.
JSONPath Finder
Query a JSON document with a JSONPath expression — supports $, ., [n], [*], ..key and [?(@.field op value)] filters.
JSON to Rust Struct
Generate Rust structs with serde derives from any JSON payload — fields auto-renamed to snake_case.
Frequently asked
What is JSON Diff?
JSON Diff is a free online diff that helps you compare two JSON documents and show added, removed and changed fields as a path-based tree. JSON Diff uses 2 input fields, returns 4 output values, and runs in your browser on the device.
What inputs and outputs does JSON Diff use?
JSON Diff uses 2 input fields: JSON A (original) and JSON B (modified). JSON Diff returns 4 output values: Diff, Added, Removed, and Changed.
Do my files and data stay private?
Yes. JSON Diff runs entirely in your browser using your device's CPU. Files and text are never uploaded to our servers, so your data stays private.
How do I use JSON Diff?
Open JSON Diff, paste or fill in the input fields, and the result updates instantly. JSON Diff runs in your browser with no upload and no waiting.
Which browsers does JSON Diff support?
Any modern browser works in Chrome, Firefox, Safari, and Edge on desktop and mobile. JSON Diff uses standard web APIs and does not require any plugin, extension, or sign-up.