Text Diff

// Compare two texts and highlight differences

Enter text in both panels to see differences

#About Text Diff

Free online text diff tool. Compare two blocks of text side by side and see additions, deletions, and changes highlighted. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.

#FAQ

How does the text diff tool work?
The tool compares two blocks of text line by line using a diff algorithm. Added lines are highlighted in green, removed lines in red, and unchanged lines are shown for context so you can quickly spot every difference.
Can I use this to compare code files?
Yes, the diff tool works with any plain text including source code. Paste the contents of two file versions to see exactly which lines were added, removed, or modified between them.
</> Embed this tool

Copy this code to embed the tool on your website. Adjust the height to fit your layout.

<iframe src="https://www.browserutils.dev/embed/text-diff" width="100%" height="500" frameborder="0" title="Text Diff"></iframe>

#Related