Skip to content

Text diff

Compare two texts line by line.


About this tool

Compare two blocks of text and see exactly what was added, removed or changed. Ideal for reviewing edits, configs and versions.

Why use it

  • Highlights differences line by line.
  • Spot small changes that are easy to miss by eye.
  • Comparison happens locally — nothing is uploaded.

Common use cases

  • Review what changed between two drafts of a document.
  • Compare two config files to find a stray difference.
  • Check edits a collaborator made to your text.

Tips

  • Normalize line endings first if one side was edited on a different OS.
  • Trim trailing spaces to avoid noisy, meaningless diffs.
How to use
  1. Paste two texts.
  2. Compare.
FAQ
How does the text diff work?
Paste two versions and the added and removed parts are highlighted so changes are easy to spot.
Is my text uploaded?
No. The comparison runs in your browser.
Can I compare code or prose?
Yes, it works for any text including code, documents and configuration.
Does it compare line by line?
Yes, differences are shown per line so you can review each change.
Will whitespace count as a change?
Yes, spacing differences show up; normalize your text first if you want to ignore them.
Is there a length limit?
No fixed limit; very large inputs just take a little longer to compare.