Loading...
Please wait while we prepare your experience
Loading...
Please wait while we prepare your experience
Paste two blocks of text and instantly see every addition, deletion, and change highlighted line by line. Perfect for code reviews, config files, and document comparisons. Free, private, runs in your browser.
Find every difference between two texts in four steps.
Paste your original text
Enter the original version of your text, code, or config file in the left (Original) panel.
Paste the changed text
Enter the updated version in the right (Changed) panel.
Click Compare
Hit the Compare button to run the diff. The result shows every added line in green and every removed line in red.
Copy or download the diff
Use the Copy button to copy the unified diff to your clipboard, or Download to save it as a .txt file.
Six situations where a diff is the fastest way to see what changed.
Code reviews
Quickly spot what changed between two versions of a function, class, or configuration file before merging.
Document editing
Compare two drafts of a document, contract, or article to see exactly what was added, removed, or reworded.
Config file changes
Diff two versions of a JSON, YAML, or .env file to audit changes before deploying to production.
API response comparison
Paste two API responses to find which fields changed, were added, or were removed between versions.
Proofreading
Compare an original text against an edited version to review all changes made by an editor or collaborator.
Database migrations
Compare SQL schema files or migration scripts to verify that only the intended changes were made.
Everything you need to know about the diff checker.
Found a problem with Diff Checker? Let us know.
Your feedback helps us improve.