Compare text (diff)
Compare two texts or files side by side or inline, by line, word or character, with changes highlighted and a downloadable patch.
Questions
Should I compare by line, word or character?
Line works best for code, lists and long documents. Word is best for prose, where one edited word should not mark a whole paragraph. Character shows the tiniest edits, such as a changed digit or a missing comma.
What is in the downloaded patch?
A unified diff of the two texts by line, the format git and patch use, with three lines of context around each change.
Are my files uploaded to compare them?
No. Both texts are compared by a script running in your browser, using the open source jsdiff library.