Skip to content

Text Diff Visualizer

A real LCS line diff with a second word-level pass inside changed lines — side by side or unified, with collapsed context, line numbers, in-diff search and a downloadable .diff.

+3 added2 removed~2 changed6 unchanged lines
aOriginalbModified
#Original
1alpha2beta3gamma4delta6zeta7eta8theta
#Modified
1alpha2beta changed3gamma4delta6zeta7eta8 theta9omega
Unified diff source
--- a/original
+++ b/modified
@@ -1,4 +1,4 @@
 alpha
-beta
+beta changed
 gamma
 delta
@@ -6,3 +6,4 @@
 zeta
 eta
-theta
+ theta
+omega

About this tool

Lines are compared with a genuine longest-common-subsequence dynamic program, then each run of deletions is zipped with the insertions that follow it and refined by a second LCS pass over words, so you can see exactly which words moved. Nothing is heuristic and nothing is truncated silently — oversized input is capped at 1200 lines per side and the cell budget is reported in a visible warning. Both views share one edit script, and the unified output follows the usual --- / +++ / @@ format. Everything runs locally in your browser.

  • 100% free — no account needed
  • Runs in your browser
  • Nothing is uploaded

Frequently asked questions

Is Text Diff Visualizer really free?

Yes. Text Diff Visualizer is completely free on PureBrowser — every feature, with no account, no trial, and no credit card.

Does Text Diff Visualizer upload my data?

No. Text Diff Visualizer runs entirely inside your browser, so anything you type, paste, or open stays on your own device.

Do I need to sign up or install anything?

Neither. There is no account and nothing to download — open the page and Text Diff Visualizer is ready to use on desktop or mobile.

Does Text Diff Visualizer work offline?

Once the page has loaded, yes. All of the processing happens locally in your browser, so it keeps working without a connection.