Diff Checker
Compare two text blocks side-by-side and highlight inline differences. Word- and line-level diff for code, JSON, config files, and prose — runs in your browser.
Last updated:
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 JavaScript regular expressions online. Live match highlighting, capture group inspection, flag support (gim), and instant syntax error feedback.
Cron Expression Parser
Parse and explain cron expressions in plain English. See upcoming run times, validate syntax, and understand schedules for crontab, Kubernetes, and CI jobs.
JSONPath Tester
Test JSONPath expressions against JSON data online. Live results with example expressions.
.env Validator
Validate your .env file for syntax errors, deprecated variables, missing production requirements, naming conventions, and live secret leaks (AWS keys, GitHub PATs, Stripe live keys, Slack tokens, Google API keys, npm tokens, PEM private keys). Client-side — your file never leaves the browser.