Diff Checker
Compare two texts and see exactly what changed, with word-level highlighting inside each changed line.
Runs entirely in your browser — nothing is uploadedOriginal
Drop a file or click to browse
or drop a fileChanged
Drop a file or click to browse
or drop a fileAbout the Diff Checker
Paste two versions of anything — a config file, a query, a log excerpt, a paragraph — and see precisely what changed between them. Toggle between a side-by-side view with synchronised scrolling and a unified view that reads like git diff.
Changed lines are highlighted at word level, so a one-character difference in a long line is immediately visible instead of the whole line being flagged. On extremely long lines — minified JavaScript or single-line JSON, past a few thousand characters — word-level highlighting is skipped to keep the page responsive, and the line is marked as changed as a whole. Use "Jump to next change" to walk through a large diff without scrolling manually.
Whitespace and case can be ignored, which is what you want when comparing SQL, indentation-reformatted code, or text pasted out of different editors.
Because it is local, this is safe for diffing production configuration, credentials-adjacent files, and anything under NDA — the usual reason people hesitate before pasting into an online diff tool.
Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.
Frequently asked questions
Can I compare two files rather than pasting?
Yes — drag and drop a file onto either pane, or use the file picker. The file is read locally and never uploaded.
Does it handle large files?
Comfortably into the tens of thousands of lines. Very large inputs slow down because diffing is inherently quadratic in the worst case; enabling "ignore whitespace" often speeds things up by reducing noise.
What algorithm is used?
A standard Myers diff over lines, then a secondary word-level diff within each changed line pair to produce the intra-line highlighting.
Is this safe for confidential code?
Yes. Nothing is transmitted. The comparison happens in your browser, which is exactly why this tool exists as a local one.