Browser-only processing. JSON input is not saved and is not sent to ToolGarage.
What is JSON Compare?
JSON Compare is a browser-based tool that checks two JSON documents and shows values that were added, removed, changed, or kept the same. It is useful when reviewing API responses, application settings, exported data, test fixtures, and structured content before and after a change.
How to use this JSON diff tool
Paste JSON into JSON A and JSON B, or load .json and .txt files from your device. The tool compares the data automatically by default, and you can also click Compare whenever you want. Use the options to include or ignore key order, array order, string case, and value type differences.
Useful for API response reviews
When API fields are added, removed, renamed, or changed from one type to another, those changes can be difficult to spot in a large response. This tool highlights each path, making it easier to review release changes, debugging output, mock data, and integration test results.
Useful for configuration checks
JSON configuration files often change by small but important amounts. Comparing two versions helps confirm whether a feature flag, endpoint, timeout, locale, or nested setting changed as intended. The text export is also handy for leaving a compact review note.
Works well with JSON Formatter and JSON to YAML
For messy or minified JSON, use JSON Formatter first, then compare the result here. If your workflow uses both JSON and YAML, the JSON to YAML converter can help you inspect equivalent data structures across configuration formats.
Your input is not sent to the server
The comparison runs entirely in your browser. ToolGarage does not upload, store, or transmit the JSON you paste into this page. Only non-sensitive preferences such as options, favorite tools, and recently used tool links may be stored in localStorage.
FAQ
Is my JSON saved?
No. JSON input is processed in your browser and is not sent to the server.
Does key order create differences?
By default, key order differences are ignored.
Is array order compared?
Yes. Array order is compared by default.
Can I compare API responses?
Yes. It is useful for checking changes in API responses.
Can I load JSON files?
Yes. You can load .json and .txt files.
Does it work on smartphones?
Yes. The layout switches to one column on smaller screens.
Next Useful Tools