About this tool
Paste or open two versions of a file and get a side-by-side or inline view of what changed, with the exact words that differ marked inside each modified line. You can ignore case or whitespace, compare JSON structurally with keys sorted, and switch to word or character mode for prose. Both texts stay in your browser, which makes it safe for config files and private documents.
How to use Diff Checker
- Paste the original text on the left and the changed text on the right, or open files.
- Choose to compare by lines, words or characters.
- Turn on ignore options if spacing or case should not count.
- Review the highlighted differences, or copy them as a unified diff.
Frequently asked questions
Can I compare JSON whose keys are in a different order?
Yes. Tick Compare as JSON and both sides are parsed and re-printed with sorted keys, so only real value changes show up.
What is a unified diff?
It is the patch format used by git and the diff command, with - and + lines and @@ headers. You can paste it into a code review or apply it with git apply.
Is there a size limit?
There is no fixed limit, but very large or very different texts may take too long. In that case the tool tells you to compare smaller sections.