Local · Private · Free

Text Diff

Compare two versions of text and see exactly what changed, line by line, on your device. Added lines are green, removed lines are red.

Runs entirely on your device, nothing is sent anywhere.

About Text Diff

Text Diff is a free, private text comparison tool that runs entirely in your web browser. Paste two blocks of text into the Original and Changed boxes, click Compare, and every addition and deletion is highlighted instantly. Because everything happens locally on your device, your content is never uploaded to a server. There is no sign-up, no installation, and it keeps working offline. It is useful for comparing code, documents, config files, essays, or any plain text.

What you can do

How to use Text Diff

  1. Paste your original text into the left box and your changed text into the right box.
  2. Tick Ignore case or Ignore whitespace if you want those differences skipped.
  3. Choose Unified or Side by side view, then click Compare.
  4. Review the highlighted result. Green lines were added, red lines were removed.

Frequently asked questions

Is Text Diff free?

Yes, Text Diff is completely free for everyone. No sign-up, no account and no usage limits.

Is it private? Are my files uploaded anywhere?

No. Text Diff runs entirely in your browser on your own device, so your data never leaves your computer and nothing is uploaded to a server.

Does it work offline?

Yes. This tool is a Progressive Web App, once the page has loaded it keeps working offline, and you can install it as an app from your browser.

Do I need to install anything or create an account?

No. Just open the page and start using it. Installing it as an app is optional and only adds offline convenience.

What does Text Diff do?

It compares two blocks of text line by line and highlights every addition in green and every deletion in red. You can view results in a unified or side-by-side layout, and optionally ignore case or whitespace differences.