Diff Checker
Paste two versions of text or code and instantly see what changed. Additions, deletions, and modifications are highlighted line by line and character by character, side by side.
Differences are highlighted here.About the Diff Checker
A diff (difference) shows exactly what changed between two versions of a file — which lines were added, removed, or altered. It is the foundation of code review and version control, and indispensable any time you need to reconcile two slightly different blobs of text.
Line-level diffs show the shape of a change, while character-level highlighting catches the subtle edits a line diff glosses over — a flipped digit, a changed flag, a typo. Comparing locally means you can diff configuration files or proprietary code without uploading either side.
How to use it
- 1Paste the original text into the left panel.
- 2Paste the changed text into the right panel.
- 3Review the highlighted additions and deletions between them.
Features
- Line-by-line comparison with added / removed highlighting
- Character-level diff to catch subtle one-character edits
- Side-by-side and inline views
- Works for prose, code, config files and logs
Frequently asked questions
What does a diff checker do?
It compares two pieces of text and highlights the differences — lines and characters that were added, removed, or changed — so you can spot exactly what is different.
Can I compare code and config files?
Yes. It works with any plain text: source code, JSON, YAML, logs, prose, and more. Paste both versions to compare.
Does it do character-level diffs?
Yes. Beyond line-level changes, it highlights the specific characters that differ within a changed line.
Is my text uploaded?
No. The comparison runs entirely in your browser, so nothing you paste leaves your device.