Skip to tools
JSON Toolbox- Free online JSON tools

JSON Compare

Compare two JSON documents and get a semantic diff. Key order and formatting are ignored — see only the real differences, grouped by path.

  • 100% client-side, nothing uploaded
  • Instant results
  • Works offline once loaded
Original JSON

Empty

Modified JSON

Empty

How it works

About this tool

This free online JSON compare tool performs a semantic diff between two JSON documents. Instead of comparing text line by line, it parses both documents and compares the underlying data, so reordered keys, different indentation, and whitespace changes never show up as false differences.

Every difference is reported with its exact path — for example config.indent or tools[5] — and classified as added, removed, or changed. You can filter the result by change type, swap the two sides, and copy or download either document at any time.

The entire comparison runs client-side in your browser. Your JSON is never sent to a server, making this tool safe for comparing API responses, configuration files, and other sensitive data.

JSON Toolbox processes all data locally in the browser. Nothing is uploaded to a server.

Common questions

Frequently asked questions

How do I compare two JSON files online?
Paste each JSON document into one of the two editors (or load them from files), and the differences appear automatically. The comparison is semantic: key order and formatting are ignored, so you only see real changes to values, keys, and array items.
What is the difference between a JSON diff and a text diff?
A text diff compares files line by line, so reordered keys or different indentation show up as noise. A JSON diff (semantic diff) parses both documents and compares the actual data, reporting each change by its exact path, like config.indent or tools[5].
Is my JSON uploaded to a server when I compare it?
No. The comparison runs entirely in your browser using JavaScript. Nothing is uploaded, stored, or logged, so it is safe to compare sensitive payloads such as API responses or configuration files.
Can I compare large JSON documents?
Yes. Because the diff runs locally with your browser’s native JSON parser, it handles large documents quickly — there is no upload time and no server-side size limit.

Keep exploring

Browse all