Diff Checker
Compare two versions and see exactly what changed.
- 100% Free
- No Sign Up
- Works in Your Browser
Diff checker
Compare two texts or code files
More Developer Tools
View all tools- Regex testerTest regular expressions live
- Cron expression parserExplain cron schedules in plain English
- Chmod calculatorUnix file permissions, numeric and symbolic
- JSON formatterPretty-print and indent JSON
- Base64 encode/decodeEncode and decode Base64 text
- JWT decoderDecode a JSON Web Token
- UUID generatorGenerate random v4 or time-ordered v7 UUIDs
- Timestamp converterConvert Unix epoch time to dates
- URL encode/decodePercent-encode and decode URLs
Every everyday developer tool, right in your browser.
No installs. No uploads. No signup.
Browse all 36 tools- Developer tools
- 36
- Cheat sheets
- 10
- Bytes uploaded
- 0
How to use the diff checker
Three steps, all in your browser.
- 1
Paste both versions
Put the original on one side and the changed version on the other.
- 2
Read the result
Matches, differences or the explanation update as you type.
- 3
Copy the result
Copy the output in one click. Nothing is saved or sent anywhere.
Diff Checker: what to know
The diff checker compares two versions of a text or code file and highlights what changed: removed lines in red, added lines in green. It uses jsdiff, an open-source implementation of the Myers diff algorithm, the same approach git diff uses, which finds the smallest set of changes that turns the original into the new version.
Paste the original on one side and the changed version on the other. Lines that were edited rather than added or removed are paired up, with the changed words highlighted inside them, and options can ignore differences in whitespace or letter case. It works for anything that's text: source code, config files, SQL, JSON, logs or translations. Both texts stay in your browser, which matters when you're comparing code or documents you can't share.
Whitespace and formatting differences show up as changes too. When comparing JSON, XML or code that was formatted differently, run both through the same formatter first so the diff shows only the changes that matter.
Popular uses
- Comparing two versions of a config file
- Checking what changed in a document or contract
- Reviewing code changes outside of Git
- Comparing API responses before and after a change
Tips for the best result
- Format JSON on both sides first with the JSON formatter for a clean comparison.
- Line ending differences (Windows CRLF vs Unix LF) can make every line look changed.
- For very long files, compare the section you care about.
Read how JustYourDev works and our privacy details. Code, data and files you use here are processed in your browser and are never sent to our server.