Diff Checker
Compare two blocks of text line by line and see exactly what was added, removed or left alone.
Result
Saving needs a Dex account. The tool never does.
How it works
- Paste the original on the left and the changed version on the right. The difference appears underneath as soon as both sides have content.
- Added lines are green, removed lines are red, and unchanged lines sit between them so you can see where the change landed rather than just what changed.
- The summary counts added, removed and unchanged lines, and says so plainly when the two versions are identical.
- The comparison runs in the page. Config files, drafts and contracts are never uploaded.
Examples
Checking a config change before deploying
Paste the version from the repository and the version on the server. The coloured rows show the one line that drifted, which is often a value someone edited by hand.
Reviewing an edit
Paste the draft and the revision. Removed lines are what a reader lost; added lines are what they gained.
Frequently asked questions
How is the difference calculated?
Line by line, with a longest-common-subsequence diff. Reordered blocks therefore show as a removal and an addition rather than a move.
Does it ignore whitespace?
Not currently. A line with different indentation counts as changed, because that is often exactly what you are looking for in YAML or Python.
Is there a size limit?
The comparison is in memory, so a few thousand lines is comfortable. Very large files are better diffed in a terminal.
Is my text uploaded?
No. Both versions are compared in the page and neither is transmitted, so a config file or a contract stays on your machine.