100% local

Text Diff

Compare two texts side by side and highlight changes.

Runs in your browser Works offline No uploads, no sign-up

Original (A)

Changed (B)

Diff

+0−0

How to use the Text Diff

See additions, removals, and unchanged lines between two snippets. Great for configs, copy, and code reviews.

  1. 1Paste the original text on the left and the changed text on the right.
  2. 2Additions and removals are highlighted line by line as you type.
  3. 3Turn on Ignore whitespace to hide indentation-only changes.

Frequently asked questions

Can I compare code or config files?

Yes. The diff is line-based like git diff, which works well for source code, JSON, YAML, .env files and logs.

Is my data uploaded anywhere?

No. Everything runs as JavaScript inside this browser tab. The site’s Content-Security-Policy blocks network requests to any other origin, so your input has nowhere to go. It also works offline once loaded.