Compare two texts or files online and find every added, removed and changed line, down to the exact characters. Side-by-side or unified view, jump between changes, and compare JSON ignoring key order.
Result
+0 added
−0 removed
~0 changed
Ready to compare
Ctrl + Enter to compare
Frequently asked questions
How do I compare two texts?
Paste the original text on the left and the changed text on the right, then press “Compare texts”. Added, removed and modified lines are highlighted, including the exact characters that changed.
Can I compare two JSON files ignoring key order?
Yes. Turn on “Compare as JSON” and both sides are normalized first: keys are sorted and formatting is unified, so only real data differences are shown.
Are my texts sent to a server?
No. The comparison runs in your browser, so your texts and files never leave your device.