Skip to tool

Text Diff Compare

Text Diff Compare

Unified diff

Run compare to see line changes.

How to Use This Tool

  1. Paste the original text on the left.\n2. Paste the revised text on the right.\n3. Run compare to view the unified diff output.

About

Line-level comparison using a classic longest-common-subsequence approach on split lines.

Examples

Small change

Input
{
  "left": "a\nb",
  "right": "a\nc"
}
Output
{"diff":" a\n-b\n+c",...}

Use Cases

  • ENV file drift
  • Release notes
  • Copy tweaks

Frequently Asked Questions