Skip to content

Install ALink Tools

Free browser tools for images, PDFs, media, text and web checks. Most tools process files locally on your device.

  1. Tap the Share button in the Safari toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. ALink Tools then opens from your Home Screen like an app.

Text Diff Checker

See exactly what changed between two versions of a contract, article, config file or code snippet.

Runs in your browserNothing uploadedSide by side or inline
1

Original & changed text

Limits

  • Plain text only: Word, PDF and other binary files must be copied as text first.
  • Very large inputs (over about 2 MB or 50,000 lines per side) can be slow; character mode is slowest.
  • Moved blocks are shown as a deletion plus an insertion, not as a move.
2

Differences

Differences appear here. Your text stays on this device.

How to use Text Diff

  1. Add both versionsPaste the original on the left and the changed text on the right, or load two text files.
  2. Choose optionsCompare by line, word or character, and ignore case or whitespace if you like.
  3. ReviewRemoved text is red, added text is green. Switch between side-by-side and inline views, or download a unified .diff.

How the comparison works

The tool uses the jsdiff library (BSD-3-Clause), an implementation of the Myers diff algorithm, the same approach used by Git. Line mode highlights changed words inside changed lines.

Everything runs in your browser, so you can compare confidential documents without uploading them.

Frequently asked questions

Can I compare two files?

Yes. Use the Load file buttons above each box to read a .txt, .md, .csv, .json, code or other plain-text file from your device.

Is my text sent anywhere?

No. Everything runs in your browser tab with JavaScript. Nothing you type or paste is uploaded, logged or stored.

What do the colors mean?

Red with a minus sign is text that was removed from the original; green with a plus sign is text that was added in the changed version.

Can I get a patch file?

Yes. Download diff saves a unified diff (.diff) that tools such as git apply and patch understand.

Related tools

All tools