Diff Checker

Paste two versions of a text to see exactly what changed, line by line and word by word.

0 lines
0 lines

Paste text into both boxes to see the differences.

How to read the result

Removed lines are shaded red on the left and added lines green on the right. When a line was edited rather than replaced, the exact words that changed are highlighted inside it. Switch to “Characters” to highlight single-letter changes such as typos and punctuation.

Split and unified views

Split view shows the two versions side by side, which is easiest to read on a wide screen. Unified view lists removals and additions in one column, like a code review, and works better on phones. “Download .diff” saves the changes as a standard patch file that tools like Git understand.

Private by design

Many online diff tools upload your text to their servers so they can save or share it. Wordformat compares everything inside your browser, so contracts, code, and drafts never leave your device.

What people compare

Two versions of a contract or policy, to catch a changed clause; a document before and after someone else edited it; configuration files that behave differently; code snippets; translations against the original; or an essay against the draft you submitted. Turn on “Ignore extra spaces” when the only differences you care about are words, and “Ignore upper/lower case” to skip capitalization changes.

How the comparison works

The checker uses the Myers diff algorithm, the same approach Git uses by default, which finds the smallest set of added and removed lines that turns one text into the other. Edited lines are then compared word by word (or character by character) to highlight exactly what changed. Long runs of unchanged lines are folded so you can focus on the changes.

Frequently asked questions

Is there a size limit?

There’s no fixed limit. Documents of several thousand lines compare in a moment on a typical computer, because the work happens in your browser.

Can I compare Word or PDF files?

Copy the text out of each file and paste it into the two boxes. Formatting such as bold or fonts isn’t compared, only the words.

Is my text saved or shared?

No. Nothing is uploaded, so there is no link to share and nothing to delete afterwards.

Can it ignore differences in capitals or spacing?

Yes. Tick “Ignore upper/lower case” to treat A and a as equal, and “Ignore extra spaces” so that added or removed spaces are not reported.

Can I save or share the differences?

“Copy as diff” and “Download .diff” give you the changes in the standard unified diff format, which developers’ tools can read. Nothing is stored online, so there is no link to share.