We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Accurately compare two JSON files or snippets to quickly locate added, deleted, and modified fields.
If enabled, arrays with different element order but identical content will be considered equal.
Paste JSON content into both sides to see differences.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
Paste a JSON value on each side to see added, removed, or changed values with paths, alongside formatted views. Both inputs must parse as JSON. Whitespace and indentation do not create changes, and object keys are matched by name regardless of their written order.
For example, {"name":"Ava","active":true} and {"active":true,"name":"Ava"} represent the same object. If the second value changes the name or adds a field, the comparison identifies the affected path. JSON syntax and value types are defined by RFC 8259.
By default, array elements are compared at matching positions. Ignore array order treats elements as a collection, pairing matching values without regard to position and showing unmatched values as additions or removals. This helps when order has no meaning, but can hide changes in a sequence such as steps, rankings, or time-ordered records. Decide from the data’s meaning before enabling it.
The page also shows formatted versions of both inputs, with two- or four-space indentation. It reports differences between parsed values; it does not merge the inputs or create a patch file.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Paste the original JSON on the left and the revised JSON on the right. Each side needs a complete valid JSON value: object, array, string, number, Boolean, or null.
Choose two- or four-space indentation. Correct any parse error shown for either side.
Keep array order enabled when positions matter. Turn on Ignore array order only when sequence is irrelevant to the comparison.
Review added, removed, and modified entries and their paths, then inspect the formatted views for context.
Use cases
See how the tool fits into real work and everyday tasks.
Developers can compare two pasted JSON responses, identify changed fields, and inspect their paths before updating a test or client.
Compare the old and revised values. Keep ordering on for ordered rules or steps; ignore it only for lists where order has no effect.
Q&A
Find concise answers to common questions and confusing cases.
No. Keys are matched by name, so rearranging the same key-value pairs does not create a structural difference.
Only when the array represents an unordered collection. Keep position-based comparison for sequences where order carries meaning.
The page parses values as JavaScript numbers. Some long or high-precision values cannot be represented exactly in that numeric type. If exact digits matter, compare them as strings or use an arbitrary-precision workflow.
No. Each side needs valid, complete JSON. Correct the syntax shown in the parse error first.
Notes
Review scope, result limitations, and important precautions before use.
JSON number syntax does not guarantee that every decimal is exactly representable by every program’s numeric type. This comparison parses in a JavaScript environment, so very large integers and long decimal fractions can be rounded. Preserve precision-sensitive identifiers as quoted strings or verify them with an arbitrary-precision workflow.
Pasted content can contain credentials or personal data. Remove sensitive values before using a browser-based comparison page.
Related
Discover related tools, collections, and available API capabilities.