Skip to content

Text diff checker

InspectExperimentalLimited support. Verify anything critical.

A text diff checker finds a longest common line sequence between an original and a changed version, then labels removed, added, and unchanged lines. It helps review configuration edits, code snippets, generated output, or prose without uploading either side to a collaboration service. The visual result includes explicit plus and minus prefixes so colour is never the only signal, and the complete unified-style output can be copied or downloaded.

Skip to the tool

This tool processes the values or files you choose on your device. They are not uploaded.

Output

Limits

  • Each side is limited to 800 lines and 1 MB.

Warnings

  • The current algorithm compares whole lines
  • not individual words or syntax trees.

How to use Text diff checker

Use stable line breaks

Line-oriented comparison is easiest to interpret when formatters have already normalized wrapping and indentation. A formatting-only change may otherwise look larger than the semantic edit.

Accessible change markers

Every row includes a textual plus, minus, or blank prefix in addition to its visual treatment, preserving meaning in monochrome and copied output.

How it works

  1. Enter what you haveType or pick your original text, changed text. Nothing is submitted anywhere.
  2. It runs in this tabThe calculation happens on your device, using your browser's own data.
  3. Take the resultRead the line diff, then copy, download, or share a link.

Implements a bounded longest-common-subsequence line comparison locally.

Basis
independent
Licence
MIT
Last reviewed

Frequently asked questions

Can I compare sensitive code?

The comparison runs locally and the page does not send either input to a processing endpoint.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close