Text comparison guide: review changes accurately
How to compare two versions of a text
Paste the earlier version on the left and the revised version on the right. The comparison refreshes after you edit; you can also press Compare texts. Start with the blue rows to locate changes, then inspect the red and green words. Use Swap inputs to reverse the review direction, and copy the report when you need to share the changes.
Line differences and word-level changes
Changed lines have a pale blue background. Removed words on the left are red; added words on the right are green. Word comparison updates automatically after editing.
Whitespace, case and line endings
Windows and Unix line endings are normalized before comparison. Ignore case compares lowercase forms. Ignore whitespace collapses spaces and tabs and ignores surrounding whitespace; in word mode, spacing-only tokens do not affect matching. An equal result therefore means equal under the selected options, not byte-for-byte identical. Turn ignore options off when spacing or case matters.
Reading and copying the difference report
The display keeps unchanged context from the original text. The copied report uses + for additions and - for deletions; it is a readable review report, not a unified patch file. Alignment has bounded input and matrix sizes to avoid freezing the page. If a limit is reached, shorten the inputs rather than assuming the texts match.
Frequently asked questions about text comparison
Why is a whole line blue when only one word changed?
Blue marks the line containing a difference; it does not mean every word changed. Red and green marks show the precise removed and added units. Unchanged words keep their normal appearance within a blue row.
Why can two different-looking texts have no differences?
Check the ignore-case and ignore-whitespace options. They deliberately suppress selected differences, while line endings are normalized in all comparisons. Turn the options off to inspect case and spacing changes. This tool does not certify byte-for-byte file identity.
Can I compare Chinese, Japanese or source code?
Yes, you can paste Unicode text, including code. Word boundaries depend on the browser tokenizer, so highlighted units are not always linguistic words. Code is treated as plain text and is not executed or syntax-checked. For JSON field and value comparisons, use JSON Compare instead.
Can the copied report be applied as a patch?
No. The report is for human review and uses plus and minus prefixes to describe changes. It has no file headers or patch coordinates and should not be passed to patch commands. The original texts remain editable and are not modified by copying the report.
Why does a large comparison stop, and is my text uploaded?
Comparison runs locally with size and alignment limits to keep the page responsive. If a limit is reached, compare smaller sections; an error does not mean the texts match. Inputs are not uploaded for comparison, although shared website resources may load. Paste text extracted from PDF or Word files; file layout and formatting are not compared.
Local processing and related tools
Inputs are processed in your browser, without uploading them for calculation. Copy exports the current result only. Shared website resources may still load. Editing an input clears the previous result to prevent accidental reuse.