Compare two documents
Drop files onto either box, or paste text directly.
Summary
- Unchanged
- 0
- Added
- 0
- Removed
- 0
- Similarity
- 0%
Result
Press Compare to see the differences.

Compare two texts or files line by line and word by word.
Drop files onto either box, or paste text directly.
Press Compare to see the differences.
Offline text and code diff checker. Compare two documents side by side or inline, with line-level and word-level highlighting, whitespace and case options, similarity scoring and exportable patch output.
Diff Checker is one of 50 free tools from CRMTECH Solutions. See all Developer & Data tools or browse every tool.
No. The diff is computed in your browser using a Myers-style longest-common-subsequence algorithm written in plain JavaScript. Nothing is transmitted, so it is safe for confidential contracts, source code and log files.
Line level finds which lines were added, removed or changed. Word level then looks inside each changed pair of lines and highlights only the words that actually differ, which makes small edits in long paragraphs easy to spot.
Yes. Export a unified diff patch that git apply and patch understand, an HTML report you can email, or a plain-text side-by-side listing.
Comfortably up to around 20,000 lines per side. Beyond that the algorithm is still correct but the page will take a few seconds, so the tool warns you before starting.
It is the proportion of lines that are identical in both documents, counted against the longer of the two. 100% means the documents match under your current comparison options.
Yes. Diff Checker is free for everyone and needs no sign-up to use. An account is only needed to export, download or print, because every export is recorded.
Yes. It works in current versions of Chrome, Edge, Safari and Firefox on phones, tablets and computers, with nothing to install.