Diff Checker
Compare two texts or JSON documents and export a unified patch.
Differences
Paste two texts to compare.
Your input is processed locally in this browser tab.
How to use Diff Checker
Paste or open the original and modified texts or JSON files in each editor.
Switch between Text / code line diff and JSON (semantic) diff, or pick Side by side vs Unified layout.
Toggle Ignore whitespace or Ignore case in text mode, or export a standard unified .patch file.
Frequently asked questions
How does JSON (semantic) mode differ from Text mode?
JSON mode parses both inputs and sorts object keys canonically before diffing so formatting and key order differences are ignored.
Can I swap left and right inputs?
Yes. Click Swap in the toolbar to flip original and modified text in place.