JSON Compare

Your data never leaves your browser

Compare two JSON objects side by side and see structural and value differences.

Paste or type content into both panels to see the diff.

Brie, Bug Reporting Tool

Comparing expected vs. actual output?

Brie captures the before and after with session replay, so your team can see exactly what changed and when.

About JSON Compare

Paste two JSON documents into the side-by-side panels to instantly see every structural and value difference highlighted. The tool performs a line-based diff on the raw JSON, making it easy to spot added keys, removed keys, and changed values. Use the "Ignore whitespace" option to normalize formatting differences before comparing. All processing is done locally in your browser.

How to use

  1. Paste the first JSON document into the left panel.
  2. Paste the second JSON document into the right panel.
  3. The diff output highlights additions in green and removals in red with strikethrough.

More Comparison / Diff Tools

Frequently Asked Questions

FAQs about JSON Compare

Does this tool understand JSON structure?

The tool performs line-based diffing on the raw JSON text. For best results, format both JSON documents consistently before comparing (use the JSON Formatter tool first if needed).

What is a good way to compare formatted vs. minified JSON?

Use the JSON Formatter tool to pretty-print both documents first, then paste the formatted versions here. The "Ignore whitespace" option can also help reduce noise from indentation differences.

Can I compare nested JSON objects?

Yes. The tool works with any valid JSON, including deeply nested objects and arrays. The diff highlights individual line changes, so nested differences appear as multiple changed lines.

Is my JSON data private?

Completely. All comparison logic runs in your browser. Your JSON data is never transmitted to any server.

What is the maximum file size supported?

There is no hard limit, but very large files (over 5 MB) may slow down your browser. For typical API responses and config files the tool works instantly.