Skip to content

Code Compare

Compare two source files: line numbers, word-level differences and navigation between changes.

—

PDF report

This button sends your text to the server. Everything else on this page runs in your browser and your text goes nowhere; the PDF is the one exception, because the document is built on the server. The text you send is not stored: the report is generated, then dropped from memory, and it is never written to a log.

What changes in code mode

Word-level difference is on by default: if only a variable name changed on a line, that name is highlighted rather than the whole line. In code, where lines run long, that is what makes the actual change easy to spot.

Patch files

You can download the result as a unified diff. That is the standard format read by git apply and patch — the format you attach to an email when you want someone else to apply your change.

Merging

For each block of changes you choose whether to keep the left or the right side, producing a third text. Choices can be undone, and you can write the result back into the right panel to carry on comparing against a third version.

Other comparison tools