Text Diff — Compare Two Texts Online
Paste two texts and see added, removed and changed lines side by side or word by word, ignoring case or whitespace if you like. Runs in your browser.
About the text diff tool
Paste two versions of a text, code file, JSON document or API response and see exactly what changed between them. The comparison runs in your browser, so the text is not uploaded.
- Side-by-side, unified and word-level views, with added, removed and changed lines highlighted.
- Ignore case and ignore whitespace options, so formatting-only changes don't hide the real edits.
- Hide unchanged lines, toggle line numbers and line wrapping, and swap the left and right sides.
- Counts of added, removed and changed lines.
- Copy the differences as a patch, or download them as a diff.patch file.
The comparison is line by line, so if a whole paragraph is reflowed onto different lines it shows up as changed even when the words are the same; word view helps there.
Text Diff guides
- Text Diff Checker Online — Compare two texts and find differences online. Side-by-side text comparison tool. Free.