Text Diff

Compare two texts line by line and highlight additions and deletions for documents and configuration.

FreeBrowser
Click Compare to see differences.

About Text Diff

Compare two text blocks and inspect highlighted additions and removals. Use the difference view to review a configuration change, rewritten paragraph or code snippet.

How to use Text Diff

  1. Paste the original and revised text into their respective inputs.
  2. Inspect the highlighted differences.
  3. Review the changed lines in context before applying the revision.

Input and output example

Input and settings
Original: color=blue
Revised: color=green
Expected output
The changed value is highlighted as a removal and an addition.

When to use this tool

  • Review a configuration change.
  • Compare two versions of a short document.

Limits to know before using it

This compares text, not meaning or runtime behavior. It does not merge changes, validate code or establish which version is correct.

Data handling and cost

The main operation runs in your browser; tool input is not uploaded for processing. The site can still use session cookies and collect operational or usage data as described in the privacy policy.

Free to use in your browser, with no sign-in needed.

Frequently Asked Questions

The tool uses a line-by-line diff algorithm similar to the Unix diff command. Added lines are highlighted in green, removed lines in red, and unchanged lines are shown in grey for context.

No. The diff runs entirely in your browser. Your text is never sent to any server.

Yes. Paste any text content — code, prose, config files — into the two panels. The diff is purely text-based and works with any language or format.

Related Tools