How-to
How to make a unified diff patch file
Generate a .patch file or copy a unified diff from two versions of a text — useful for code review, backups, and documentation.
Prepare both versions
Open Free Diff Checker. Place the before text on the left and the after text on the right. File names from open left / open right appear in the patch headers when available.
Review the diff
Confirm the highlighted changes match what you expect. Toggle ignore whitespace or ignore case only for reading the UI — the exported patch still describes the real texts on both sides.
Copy or download
Click copy diff to put the unified diff on the clipboard, or save .patch to download a file. The format follows familiar unified diff conventions with --- / +++ headers and @@ hunk markers.
Apply elsewhere
On Unix-like systems you can often run patch -p0 < file.patch against a matching source tree. Always review patches before applying them in production.