Text Diff

Compare two text files side by side and instantly spot exactly what changed. The comparison runs in your browser, so neither text is uploaded.

Original / Before
Modified / After
Result:0 Additions0 Deletions0 Unchanged
Added
Removed
Unchanged
No content.
No content.

Frequently Asked Questions

How do I compare two texts online?

Copy and paste the older version into the "Original" pane on the left, and the newer version into the "Modified" pane on the right. The differences are highlighted below as soon as both boxes have text.

What is a diff and how does it work?

A diff, short for difference, compares two versions of a text and shows which lines were added, removed or left unchanged. It works out the smallest set of changes that turns the first version into the second, the same idea that Git uses.

What do the red and green colours mean in a diff?

In conventional software engineering layouts, pale red highlights represent text removed compared to the original payload. Conversely, light green identifies brand new terminology appended during the modification phase.

Can I ignore whitespace differences when comparing text?

Yes. Check the "Ignore Whitespace" toggle available inside the top toolbar. Our engine subsequently ignores excessive space bars, tabs, indentation styles, and trailing gaps allowing pure semantic evaluations.

This tool runs in your browser. What you enter is processed on your device and is not sent to our servers.

Building something bigger?

We design and build web and mobile applications and the APIs behind them.