Diff Checker
Compare two texts, code or config files side by side — privately, in your browser.
Runs entirely in your browser — nothing you paste or open is uploaded.
About the Diff Checker
The iHACKER Diff Checker shows exactly what changed between two versions of a text — code, config files, JSON, logs, contracts or plain prose. It uses the same Myers diff algorithm as git diff, so you always get the smallest, most readable set of changes. Everything runs locally in your browser: nothing you paste or open is ever sent to a server.
Features
- Three diff modes: line (best for code), word (best for prose) and character (best for keys, hashes and IDs).
- Side-by-side or unified view, with line numbers and word-level highlighting inside changed lines.
- Ignore options: case, whitespace and blank lines — perfect for reformatted code.
- Collapse unchanged lines to focus on what matters, and expand any section with a click.
- Change navigation: jump to the next or previous difference.
- Stats: added, removed and modified counts plus a similarity percentage.
- Export: copy or download a standard unified
.patchthat works withgit applyandpatch. - Files: open or drag and drop files up to 5 MB each.
How to use
- Paste the original text into box A and the changed text into box B — or open/drop a file onto each.
- Pick Line, Word or Character mode and a view. Results update as you type.
- Use the arrows to step through changes, then copy or download the
.patchif you need it.
Frequently Asked Questions
Is my text uploaded to a server?
No. The comparison runs entirely in your browser, so the text and files you compare never leave your device.
What's the difference between line, word and character mode?
Line mode compares whole lines and is best for code and config files. Word mode highlights changed words in prose. Character mode shows every single changed character — handy for short strings, API keys and IDs.
Can I export the differences?
Yes. Copy or download a standard unified diff (.patch) that works with git apply and the patch command. The patch is always exact — it ignores the case/whitespace options so it applies cleanly.
How large can the texts be?
Files up to 5 MB each. Tens of thousands of lines compare in milliseconds; character mode automatically switches to word mode for very long texts.