Free Text Diff Checker
Compare two blocks of text or code and see exactly what changed: line by line, word by word, or character by character.
What this does: compares two blocks of text and highlights additions, deletions, and changes between them, entirely in your browser via the jsdiff library. Choose to compare by line, word, or character. No signup, no server upload: your text never leaves your device.
Frequently asked questions
Is my text uploaded anywhere when I use this diff checker?
No. The comparison runs entirely in your browser using the jsdiff library. Your text is never uploaded to a server, and the tool works with no signup required.
What is the difference between comparing by line, word, or character?
Line mode highlights entire lines that were added or removed, which is best for code or paragraphs. Word mode highlights individual changed words, and character mode highlights the smallest possible changes, useful for spotting typos.
Can I compare two versions of code, not just plain text?
Yes. The tool treats any pasted content as plain text, so it works equally well for source code, configuration files, or prose. Toggle 'Ignore whitespace' to skip indentation-only differences.