How to compare two files
- Paste or drop the original text on the left and the new version on the right.
- Press Compare. Removed lines are red, added lines green; changed words inside a line are marked more strongly.
- Switch between side by side and unified, and use Ignore whitespace to hide re-indentation noise.
- Download the result as a unified
.patchthatgit applyandpatchunderstand.
Comparing JSON or code that was formatted differently
If two files differ only in formatting, every line shows as changed. Run both through the matching formatter first — the JSON formatter with Sort keys on is ideal — then compare. Only the real changes remain.