Skip to main content
SiteIndex

Developer

Text Diff Documentation

Use the free Text Diff →

Compare two text blocks and highlight the exact additions, removals, and changes between versions.

What does it do?

Compare two text blocks and highlight the exact additions, removals, and changes between versions.

How does it work?

The browser aligns lines with a minimal-edit diff, pairs changed lines, and highlights changed words. Use a side-by-side or unified view, and hide unchanged context when needed.

When to use it
  • Compare configuration or source text after inserted or removed lines.
  • Review word-level changes and export a patch for another tool.
Inputs and outputs
Input
Text, files, or values entered in the browser, depending on the tool.
Output
A result shown in the browser that can be reviewed or copied where supported.
Limitations
  • Line alignment minimizes inserted and deleted lines; changed words are highlighted within paired replacement lines.
  • Downloaded patches include the complete compared text rather than contextual hunks.
Privacy and data handling

Inputs for this browser-side tool are processed locally and are not sent to SiteIndex. Normal page analytics may still be collected as described in the Privacy Policy. Read the Privacy Policy.

How to use it

  1. Paste the original text on the left.
  2. Paste the updated text on the right.
  3. Choose side-by-side or unified view, optionally show changes only, then download a patch if needed.

Related tools