The files you compare stay in this browser. This page does not post original text, a modified file, or a patch to a server.

Text diff checker online

Browser side-by-side text and code diff checker

Paste the original on the left and the modified file on the right. The comparison, in-line highlights, and the unified patch stay on this device.

The workbench needs JavaScript in this browser. Without it, you can still read the patch guide and examples, but live comparison, copy, and download will not run.

Comparison samples

Original

Modified

+ Added lines
0
− Removed lines
0
Unchanged lines
0
Changed hunks
0

Questions

Do I need an account?

No. The checker runs in this browser. There is no file to upload and no sign-in.

Does the comparison ever leave this device?

No. Line comparison, in-line highlights, copy, and the .patch or .diff download all stay in this page. Nothing is posted to a server.

What do Ignore whitespace and Ignore case do?

Ignore whitespace treats leading, trailing, and collapsed internal spaces as equal when lines are compared. Ignore case compares letters without regard to capitalisation. The displayed text stays as you typed it.

What is in the downloaded patch?

A GNU unified diff with --- / +++ file headers, @@ hunk ranges, three lines of context, and + / - / space markers. The same text is used for .patch and .diff; only the filename changes.

Related desks and references

These are other jmforu.com desks and an official note on the unified format this page writes. A link here is not a claim that a destination was probed from this build.