How to use JSON Compare (Diff) Tool
- Paste the first text into the left box and the second into the middle box. Press Load example if you want to see JSON Compare (Diff) Tool in action first.
- Your result appears on the right as you type. There is no convert button to hunt for.
- Click Copy result to paste it somewhere else, or Download to save it as a text file. Use result as input lets you run a second conversion on the output.
What is it good for?
Compare two JSON documents and list what was added, removed or changed, with the exact path. It saves you the tedious retyping that comes with doing this by hand.
It works on whatever you paste, line by line where that makes sense, and it handles non-English text properly, because it works with Unicode and not just plain English letters. People most often reach for it when checking what a token or encoded value really contains, moving data between JSON, CSV, XML and YAML and verifying a download against its checksum.
See it in action
Here is a quick example so you can see what to expect.
Tips for better results
For a repeated job, keep the tool open in a tab. You can paste a new text over the old one and the output refreshes straight away.
Special characters, accents and emoji are kept intact. The tool works on Unicode, so Hindi, Arabic, Chinese and other scripts do not turn into question marks.
Empty input gives an empty result, which is normal. Paste something, or press the sample button to see how the tool behaves.
Privacy
Everything you paste is processed by JavaScript in your own browser. It is not uploaded, logged or stored on our servers, so it is fine for private lists and drafts.
Read the guide
Want the background? JSON for Beginners: Format, Validate and Fix Errors explains it in plain language.
Frequently asked questions
Is JSON Compare (Diff) Tool free to use?
Yes, completely free. There is no sign-up, no watermark and no limit on how many times you use it.
Is my data safe when I use JSON Compare (Diff) Tool?
Your text is processed in your browser by JavaScript. It is not sent to our servers, so it stays private.
Does JSON Compare (Diff) Tool work on my phone?
Yes. The layout adapts to small screens, and the tool works in current versions of Chrome, Edge, Firefox and Safari.
Any tips for using JSON Compare (Diff) Tool?
Comparison is by value, so the order of keys does not matter.