Text Diff
Paste two pieces of text below to instantly see line-by-line differences.
About the Diff Checker
This diff checker compares two texts line by line and highlights additions and deletions, so changes stand out instead of having to be hunted for. It runs in your browser, which makes it safe for contract drafts and unreleased code.
A diff checker answers "what actually changed" when two versions of something look nearly identical. A contract returned with edits, a config file that works on one server and not another, a paragraph a colleague revised, or two API responses that should match but do not.
Comparison is by line, with removals and additions marked separately so a modified line reads as one of each. That is the same model git uses, and it makes the scale of a change obvious — three edited lines look very different from a wholesale rewrite.
Because everything happens in your browser, this is usable for material you should not paste into a hosted service: legal drafts, credentials in a config file, customer data in a response body, or unreleased code.
How to use the Diff Checker
- Paste the original. Put the first version in the left input.
- Paste the changed version. Put the second version in the right input.
- Read the highlights. Additions and deletions are marked line by line.
- Copy what you need. Take either side, or note the changed lines.
Diff Checker features
- Line-by-line comparison of two texts
- Additions and deletions highlighted separately
- Works for prose and for code
- No length limit beyond your device memory
- Runs entirely in your browser
- Free with no account or signup
Frequently asked questions
How are differences shown?
Line by line, with additions and deletions highlighted separately. A modified line appears as one deletion and one addition.
Can I compare code as well as prose?
Yes. The comparison is line based, which suits source code, config files and plain text equally.
Is my text uploaded?
No. The comparison runs in your browser, so contract drafts and unreleased code stay on your machine.
Is there a size limit?
Nothing fixed. Large files are limited only by your device's memory.
How is this different from the three-way merge tool?
This compares two versions. The diff and merge tool compares three, which is what you need to resolve a conflict.