Diff Viewer

Paste two versions of anything and see what changed. Line-level additions and deletions are highlighted, computed locally so you can safely diff config files containing real credentials.

Runs entirely in your browser. Nothing you paste is uploaded.

Diff
Line differences will appear here...

About the Diff Viewer

The comparison uses a longest-common-subsequence algorithm, the same family that powers git diff. It finds the largest set of lines appearing in both inputs in the same order, then marks everything else as added or removed.

Line-level diffing is the right granularity for config files, logs and structured data. For prose, where a single word changes inside a long paragraph, a word-level diff communicates more.

Frequently asked questions

Is my text uploaded?

No. The diff is computed in your browser, which makes it safe for config files and logs that contain secrets.

Why does one small change mark the whole line?

This is a line-level diff, so any change within a line marks the entire line as replaced. That granularity suits code and config better than prose.

Does whitespace count?

Yes. Trailing spaces and indentation changes register as differences, which is usually what you want when comparing YAML or Python.