Diff Checker

Compare two texts and highlight every added, removed and changed line — side by side or inline.

0 lines

0 lines

Options

View
0
Added
0
Removed
0
Same

Differences

Enter text in both panels to see the differences.

About the Diff Checker

This free diff checker compares two pieces of text and highlights exactly what changed — added lines in green, removed lines in red, and edited lines with the changed words marked inline. Paste your original text on one side and the changed version on the other and the comparison updates as you type. It works for source code, configuration files, contracts, articles or any text at all, and everything runs in your browser, so nothing you paste is ever uploaded.

Switch between a side-by-side Split view and an inline Unified view, ignore case or whitespace differences when you only care about the substance, and choose whether edits are highlighted word by word or character by character. The running totals of added, removed and unchanged lines make it easy to gauge how much really changed — useful for reviewing edits, proofreading versions of a document, or checking what differs between two files.

Frequently asked questions

Answers to the questions we hear most about this tool.

What is a diff checker?

A diff checker (or text compare tool) takes two pieces of text and shows you exactly what changed between them — which lines were added, which were removed, and which were edited. It is the same kind of comparison developers see in code reviews, but it works for any text: contracts, essays, configuration files, translations or notes. Paste your original text on the left and the changed version on the right and the differences are highlighted instantly.

How do I compare two pieces of text?

Paste the first version into the "Original" box and the second into the "Changed" box. The comparison updates as you type: removed lines are shown in red, added lines in green, and edited lines show the changed words highlighted within the line. Use the Split view to see the two versions side by side, or the Unified view to read the changes inline like a Git diff.

Can I ignore case or whitespace differences?

Yes. Turn on "Ignore case" so that "Hello" and "hello" are treated as the same, and "Ignore whitespace" so that differences in indentation or leading and trailing spaces no longer count as a change. You can also choose whether edited lines are highlighted word by word or character by character, which is handy for spotting a single changed letter or a moved word.

What is the difference between split and unified view?

Split view places the two texts in side-by-side columns, so you can read the original and the changed version in parallel — best on a wide screen. Unified view stacks everything in a single column with added and removed lines marked, the way Git and most code tools display a diff — best for long files or narrow screens. Both show the same information; pick whichever is easier to read.

Is the diff checker free and private?

Completely free with no sign-up or limits. The entire comparison runs in your browser with JavaScript, so the texts you paste are never uploaded to or stored on any server — you can safely diff confidential documents, contracts or source code, and the tool keeps working offline once the page has loaded.