Text diff
Compare two blocks of text and highlight every insertion and deletion.
Loading tool…
About the text diff
Compares two blocks of text and highlights every insertion and deletion, with a choice of word, line, character or sentence granularity and an option to ignore case. Word-level comparison is usually the most readable for prose.
Frequently asked questions
Which granularity should I pick?
Word for prose, line for code and config, character for spotting a single transposed digit in an identifier. Sentence granularity suits comparing rewritten paragraphs.
Can it show whitespace differences?
Character mode reveals them, since spaces and tabs are compared like any other character. It is the fastest way to find the trailing space breaking a comparison.