TEXT · CODE · FILES
Compare Text and Code
Paste or upload two versions to find added, removed, and changed lines, with changed words and characters highlighted.
Compare Russian, English, and Unicode text locally in your browser. Choose side-by-side or unified view, adjust comparison filters, and download a patch or HTML report.
Before and after text
Original (before)
Modified version (after edits)
Display and precision settings
Comparison results
Paste the original and modified text above, or select Insert example.
ABOUT THIS TOOL
Online Diff Checker features
ExtraTools Visual Diff & Code Checker is a fast browser-based tool for comparing text, source code, and documents. It highlights additions, deletions, and edits between two versions of a file or text snippet.
The tool uses the sequence comparison algorithm Myers diff algorithmto find a shortest edit path between texts. It supports Unicode, so Russian and English text, punctuation, and special characters are handled consistently.
- 2 display modes: Side-by-side shows two columns with line numbers. Unified combines changes in one list with + and - markers.
- Word and character highlights: Changed words and characters are highlighted within each edited line.
- Syntax highlighting: Detect and highlight JSON, JavaScript, TypeScript, HTML, CSS, PHP, SQL, and plain text.
- Comparison filters: Ignore leading or trailing spaces, blank lines, or letter case when comparing documents.
- Export: Download standard patch files
.diff/.patchfor use with Git, or download a standalone HTML report. - Local and private: Text is processed in your browser. Source files are not uploaded to the server.