Text diff

Compare two texts and display added and removed lines.

Your files are processed here, on your device

We do not send your file or text contents to a processing server. No account is needed and there is no daily operation quota. Individual tools have size limits to protect your device’s memory.

A connection is needed to load the site and its resources. Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.

How we handle your data →

How to use this tool

  1. Paste each version in its corresponding field.
  2. Compare and read − as removal and + as addition.
  3. Inspect whole lines; whitespace can also produce a difference.

An example you can verify

Check which lines change between two text versions.

Example input

Original:
a
b
c

New:
a
x
c

Expected result

  a
- b
+ x
  c

Whole lines are compared. A one-character change displays the line as removed and added.

Settings and limits

Paste the original and new versions. Results use − for removed lines, + for added lines and two spaces for unchanged lines. Comparison works on complete lines.

Frequently asked questions

Does it show changes inside a word?

It shows the whole changed line rather than highlighting individual characters. The limit is 1 million line combinations.