Diff Checker
Compare two text blocks and highlight differences online. Free text diff tool.
Last updated:
Original
Modified
How to Use Diff Checker
- 1Paste the original text in the left panel.
- 2Paste the modified text in the right panel.
- 3Click "Compare" to see the diff.
- 4Click "Download .patch" to save as a unified diff file.
- 5Use the provided commands to apply or revert the patch.
Frequently Asked Questions
What format is the .patch file?
It uses the standard unified diff format, compatible with git apply and the patch command.
How do I apply the patch?
Save the .patch file and run "git apply diff.patch" in your repository, or "patch -p1 < diff.patch" for non-git projects.
How do I revert a patch?
Run "git apply -R diff.patch" or "patch -R -p1 < diff.patch" to reverse the changes.
Related Tools
Regex Tester
Test and debug regular expressions online. Highlight matches and capture groups.
Cron Expression Parser
Parse and explain cron expressions online. View next run times and human-readable descriptions.
JSONPath Tester
Test JSONPath expressions against JSON data online. Live results with example expressions.