Free Online Text Diff & Compare Tool

Compare two blocks of text and see exactly what changed. Additions, deletions, and modifications are highlighted with color coding. Works entirely in your browser — nothing is uploaded or stored. Perfect for comparing code, documents, contracts, and configuration files.

0 added 0 removed 0 unchanged
Copied to clipboard

Frequently Asked Questions

The tool compares text line by line and highlights additions (green), deletions (red), and unchanged lines. It uses a standard diff algorithm.

Yes — paste any text including source code, JSON, XML, configuration files, or plain text.

Yes — all comparison happens in your browser. Nothing is sent to any server.

Yes. Paste an earlier draft on one side and the final on the other; the colour-coded changes show the text growing and being revised, which is the kind of process evidence that settles an AI-detection dispute. See what to do if your essay is flagged as AI.

There is no fixed line limit. Effort grows with the number of changed lines, not the file length, so a file with tens of thousands of lines and a few hundred edits compares in well under a second. If two long texts differ in more than about 3,000 lines, the tool asks you to compare smaller sections instead of freezing the tab.