🆚 Text Compare

Spot every change between two versions of a contract, essay, config file or code snippet.

🔒 Runs in your browser · files never uploaded
0Added
0Removed
0Unchanged

How to use the Text Compare tool

  1. Paste the original text on the left and the changed version on the right.
  2. Choose line or word comparison and ignore-case/whitespace options.
  3. Review highlighted insertions and deletions, then copy or download a .diff.

Frequently asked questions

Should I compare by lines or by words?

Use lines for code, CSVs and config files where each line is a unit. Use words for prose – a single edited word is highlighted instead of the whole paragraph.

How are changes shown?

Added text has a green background and removed text has a red background with strikethrough, and line mode also prefixes lines with + and −, so changes are clear without relying on colour alone.

Is it safe to compare confidential documents?

Yes. The comparison runs in your browser with the open-source "diff" library; neither text is uploaded or stored.

Can I export the result?

Copy or download a standard unified .diff file, which works with git apply, patch and code review tools.

Related tools