File A
No file selected
Supported formats include .json (as well as .csv/.xml, if converted to JSON).
File B
No file selected
Supported formats include .json (as well as .csv/.xml, if converted to JSON).
Base
Sorting
A
Result
B

How to merge two JSON files online

Upload two JSON files, such as translation files for different languages or app versions. The tool compares them key by key, highlights differences, and shows keys that exist on only one side.

For every key you can pick the source of the value: take it from file A, from file B, or leave the automatic choice. The result is built in the middle column, where you can edit it by hand, validate it, and download it.

Files are processed in your browser. View modes include tree, flat keys, and plain JSON, with an "only differences" filter and search by keys and values.

Frequently asked questions

How do I compare two JSON files?

Choose file A and file B. Turn on "Only differences" to see keys with different values and keys present in just one file.

Can I merge i18n translation files?

Yes, the tool is built for localization files. Pick a base file and missing keys are pulled from the other one; you resolve conflicting values yourself.

What if my JSON is invalid?

Click "Validate JSON" to see the error, or "Fix JSON" to replace typographic and single quotes with standard double quotes.

Is my data sent to a server?

No, comparing and merging happen in your browser.