Your files stay on your device

# Diff JSON

Compare two documents semantically (objects by key, arrays in order, numbers exactly) or as text, then copy a verified RFC 6902 patch.
Autoid_idkeyIndexInsert sample pairClear both

Auto matches array objects by `id`, `_id`, or `key`, and keyless objects by content; Index matches by position and reads reorders as removed + added. Numbers compare by exact value, never by spelling.
Swap sides

Strict JSON (RFC 8259)

Strict JSON (RFC 8259)
Paste, drop, or type to begin. Everything stays on this device.

## More JSON tools

- [JSON formatter](/json/formatter)
- [JSON validator](/json/validator)
- [JSON sort](/json/sort)
[All JSON tools](/json)

---

Canonical HTML: https://nutter.tools/json/diff/
Markdown version: https://nutter.tools/json/diff/index.md
Plain-text version: https://nutter.tools/json/diff/index.txt
Agent index: https://nutter.tools/llms.txt

