Text Diff
Compare two blocks of plain text line by line, highlighting additions, deletions, and changes between the original and revised versions.
Differences
About the Text Diff
A text diff tool compares two blocks of plain text line by line, highlighting additions, deletions, and changes between them.
How to use
1
Paste your original text into the first field.
2
Paste the revised text into the second field.
3
View the highlighted line-by-line differences.
Frequently asked questions
Can this compare paragraphs of writing, not just code?
Yes, this works on any plain text, including prose, making it useful for comparing document revisions or edited drafts.
Does whitespace affect the comparison?
Depending on the tool's settings, differences in whitespace alone may or may not be highlighted, so check the specific comparison mode if that matters for your use case.
Related tools
Explore more tools in the Developer category.