Two JSON files can look completely different in a text editor and still contain the same data. One might use four spaces of indentation while the other fits on one line. A text comparison highlights those edits along with any real change. If you want to know which fields changed, compare the parsed values instead.
TinyToolbox JSON Difference Checker compares two JSON values and lists paths that were added, removed, or changed. Put the baseline in the first field and the candidate in the second. The direction matters. A field added to the new file becomes a removal if the inputs are reversed.
Choose comparable inputs
Pick two values representing the same part of your workflow. For example, compare two versions of a workshop configuration or two responses captured from the same stage of a test. Comparing a full response with just its data property will produce differences that mostly reflect the different starting points. If you only care about one section, copy that section from both values and compare them independently.
Use complete JSON values. An object needs both braces, and an array needs both brackets. A top-level string requires its double quotes. If you copied the data from a log or a code example, remove timestamps, code fences, and other text outside the JSON before pasting it. For a shared debugging example, use fictional data and keep the structure that reproduces the issue.
Decide what a meaningful change looks like for your application. Object properties have names, while array values have positions. The tool compares objects by their keys and arrays by index. It cannot decide that a reordered array is equivalent based on an item’s identifier. If the application defines arrays as ordered, their positions matter. If order is incidental, you can prepare comparable copies that put the same records in the same order.
Run the comparison in TinyToolbox
- Open JSON Difference Checker.
- Paste the original under First JSON value.
- Paste the revised value under Second JSON value.
- Select Run tool.
- Read the JSON list under Result, or choose Copy result to use it in your review notes.
The comparison runs in your browser. The parser accepts up to one million characters for each input. For a larger export, focus on complete sections that have the same shape and purpose. Record which fields you selected, because a comparison of excerpts only covers those excerpts.
If the tool reports a syntax error, check each side separately with JSON Formatter & Viewer. A correct first value and an incorrect second value still prevent the comparison. Look for trailing commas, missing quotes, or an incomplete copy near the end of an array. Once both inputs parse, run the difference checker again with the intended baseline first.
Read the paths and change categories
Suppose your first value is:
{
"workshop": {
"room": "North hall",
"seats": 20,
"notes": "Bring a pencil"
}
}
The second value moves the session and adds a waitlist:
{
"workshop": {
"room": "Main hall",
"seats": 20,
"waitlist": true
}
}
The report includes a change at /workshop/room, a removal at /workshop/notes, and an addition at /workshop/waitlist. The room change shows before and after values. For an addition or removal, the report gives the path and change category. Open the relevant input if you need the value from an added or removed path. The seat count is absent from the report because it stayed the same.
A leading slash separates the root from the first key. Further slashes mark nested steps. If a property name itself contains a slash, the path represents that character as ~1. A tilde in a property name appears as ~0. For example, the key room/main under workshop appears as /workshop/room~1main. That path points to one key below workshop, rather than to an object called room containing another key called main.
If both top-level values are different scalars, or an object is replaced by an array, the changed path can be the empty string. It refers to the entire JSON value. Likewise, when a nested object is replaced by a string, expect a change at the path of the object itself. The checker reports the two values at that point instead of walking into the old object and reporting a separate removal for each of its properties.
Account for array positions in the result
Imagine the baseline contains this sequence:
{"sessions":["Welcome","Questions"]}
The new sequence adds Setup before both entries:
{"sessions":["Setup","Welcome","Questions"]}
The checker compares index 0 with index 0 and index 1 with index 1. It can report changes at /sessions/0 and /sessions/1, plus an addition at /sessions/2. That is a description of the positions in the two inputs. The report does not infer that the intent was to insert one entry and shift the others.
For a to-do list, position could represent priority and those changes may be exactly what you want to see. For a collection of records whose order is arbitrary, compare copies arranged by a stable identifier if your workflow permits it. First check that the identifier is present and unique for every record. If two records share an identifier, choosing an order by that field alone may leave the pairing ambiguous.
You can also isolate two records and compare them directly. For example, find the workshop record with the same ID in both files, copy each complete object, and run the tool again. That reduces the noise from movement elsewhere in the array. Preserve the original array order when deciding whether a change in sequence is itself part of the problem.
Check value types and distinguish blank from missing
The number 20, the string “20”, and the boolean true are different values in JSON. If a form replaces a number with text, the checker should show a changed value even though both versions may look identical in a user interface. Inspect the quotation marks in the report and then check the field’s expected type in your application.
A missing property differs from a property set to null. If a record with “room”: null loses the property entirely, the report shows a removal. If it changes from null to an empty string, the report shows a changed value. An application might use those states to mean “unknown,” “cleared,” and “unset.” The checker helps you find that difference, while the schema or receiving application defines how to handle it.
Keep a baseline for values that look deceptively similar. A date stored as a string may have changed from one time zone spelling to another. The tool compares what is in the JSON and does not infer whether two differently written timestamps describe the same instant. If those variants should be equivalent in your workflow, normalize them with an agreed rule before comparing copies.
Interpret an empty result carefully
The result is an empty array when the parsed values match under the checker’s comparison. Changing indentation or reordering keys by itself does not create a difference. This is useful when you need to distinguish a formatting-only edit from a changed field, but it does not prove the files have the same bytes. Use a text comparison when formatting, spelling of escapes, or property order in the original file matters.
The input goes through JavaScript’s JSON parser. Duplicate object keys can collapse to a single parsed property, and unusually large integers may lose precision. If you are investigating exact numeric identifiers or how many times a property appears, inspect the raw inputs with a workflow that preserves those details. An empty report only describes the parsed values available to the comparison.
The result also does not validate a schema. Two inputs can match and both omit a required property. Two inputs can differ in a field that the receiving application ignores. Treat the report as a way to focus your review. Use the application’s normal checks to determine whether the differences are allowed.
Compare a response before and after changing a setting
Suppose a local booking application lets an organizer increase the number of seats. You expect changing the capacity from 20 to 24 to update /workshop/seats and leave the selected room and start time alone. Capture one synthetic response before the change and one after it. Keep the same workshop identifier and request options so the two responses describe the same record.
Run the checker and locate the capacity change. If a timestamp also changed, check which timestamp it is before deciding whether it is expected. An update timestamp might legitimately change on every save. A start time changing alongside the capacity could indicate a bug in how the editor sends the record. Record the expected change and the unexpected path separately.
If each response wraps the record in a larger envelope, you can compare the whole envelope first, then compare only the workshop object. That second pass makes the result easier to read when the outer object includes a request identifier or other values that change on every run. Treat the narrower result as a check of the record, and keep the broader comparison if the response envelope is part of the behavior you are testing.
Try the same comparison after fixing the issue. If the seat count changes and the start time stays the same, use the application’s ordinary test to verify the saved state. A JSON diff can point you to the field to investigate, while a fresh read from the application checks the value the workflow actually stored.
Turn the report into a practical review
Start with the changes you expected. If you meant to change the room and add the waitlist, locate those paths and check the values. Then inspect unexpected removals. An entire nested branch might be missing because the export was filtered or because you copied only one part of it. Compare the original files before drawing a conclusion.
When documenting the finding, note which value was first and which was second. Include the relevant path and a small example that illustrates the change. Recheck the files after fixing the issue, and confirm the new report contains only the intended differences. This keeps the review tied to the actual data the application will receive.
Check a nested change without confusing it with record movement
Suppose an export contains a jobs array and you expect only the enabled value on one job to change. Before comparing, find the job by its stable identifier in both inputs. If it stays in the same array position, a changed path under that position can point directly to the field. If a job was inserted earlier in the array, several paths may change because items moved to new positions.
When investigating a single job, copy its complete object from each source into JSON Difference Checker and compare those two objects. This focused run removes surrounding array positions from the comparison. Check the identifier before interpreting the result. Do the full-array comparison separately if you also need to know whether an item was added or the order changed.
In review notes, distinguish the location shown by the tool from the identity of the data it describes. For example, record the identifier, the changed field, and its value on each side. Keep the full input if ordering matters to the application. A focused comparison can confirm the intended field change, while the original comparison can still reveal an unexpected move or addition.