Text Diff

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

Free
Loading...

What is Text Diff tool?

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

How to use it

  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.

FAQ

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