JSON Diff
Structural JSON comparison. Color-coded paths for added, removed, and changed keys. Optional ignore-array-order mode.
How to use
- 1 Paste the original JSON on the left, modified JSON on the right.
- 2 Pick how arrays should be compared — by order or by membership.
- 3 Differences appear color-coded: added (green), removed (red), changed (yellow).
- 4 Summary counts at the top of the diff panel.
Why use this tool
- Powered by <code class="font-mono text-xs">microdiff</code> — a tiny, fast structural diff library.
- Library loaded lazily on first compare — keeps page lightweight.
- Two array modes — strict order vs. set-style membership.
- Pure client-side — both JSON payloads stay in your browser.
Frequently asked questions
What does "Ignore order" do?
It deep-sorts arrays before comparing. Useful when arrays represent unordered sets (tags, IDs) and order is not meaningful.
How are nested differences shown?
Each difference includes the full JSON path (e.g. <code class="font-mono text-xs">owner.region</code>) so you can locate it precisely in either document.
Need to format the inputs first?
Use <a class="text-brand-600 hover:underline" href="/json-formatter">JSON Formatter</a> to clean both inputs, then come back here.
Need to diff plain text or code?
Use <a class="text-brand-600 hover:underline" href="/text-diff">Text Diff</a> for character / word / line diffs.
JSON Diff is a free developer utility by Zerethon Tools. Structural JSON comparison. Color-coded paths for added, removed, and changed keys. Optional ignore-array-order mode. Runs entirely in the browser — no signup, no upload.
- Category
- Developer
- Pricing
- Free
- Privacy
- Browser-based
- Signup
- Not required
Privacy
Your data never leaves your browser unless explicitly stated. JSON Diff runs entirely client-side — no server upload, no logging, no tracking of your input.
Related tools
JSON Formatter
Format, validate, and minify JSON online. Free, no signup — your data never leaves your browser.
Open toolSQL Formatter
Format SQL queries online — beautify MySQL, PostgreSQL, SQLite, SQL Server, Oracle, and BigQuery.
Open toolUUID Generator
Generate UUIDs online — v1, v4, v7, and Nil. Bulk generation up to 10,000. Free, no signup.
Open toolPassword Generator
Generate strong, cryptographically random passwords. Configurable length and character sets — runs in your browser.
Open toolBuild, share, and grow on Zerethon Social
Free signup. Earn points, collect achievements, and connect with creators worldwide.