About Diff Checker
Diff Checker compares two pieces of text and shows you every difference between them. Use it to see what an editor changed in your article, which clause moved in a contract, what changed between two versions of a config file, or why two lists that should match don't.
How the comparison works
The tool uses the Myers diff algorithm, the same method behind git diff. It finds the smallest set of additions and removals that turns the original into the changed version. In Lines mode, each line is one unit; when a line was edited, the changed words inside it are highlighted, so you don't have to hunt for a single changed comma.
- Lines: best for code, lists, CSV and config files.
- Words: best for prose, such as articles, essays, emails and contracts, where one sentence often wraps over several lines.
- Characters: best for short strings such as IDs, URLs, serial numbers or passwords that look identical but aren't.
Options that cut the noise
Ignore case treats "Total" and "total" as the same. Ignore whitespace skips extra spaces, tabs and indentation, which is useful when code was reformatted. Hide unchanged lines collapses long identical sections and keeps two lines of context around each change, like a code review.
What you can use it for
- Writers and editors: compare drafts and see exactly what was rewritten.
- Developers: compare code, JSON, logs or .env files without opening a terminal, and export a unified .diff.
- Students and teachers: check how much a text was changed from its source.
- Legal and admin work: spot edits between two versions of an agreement, policy or form.
- Data checks: find the rows that differ between two exported lists.
Tips for the best results
- Copying from a PDF or Word file can add line breaks in odd places. Switch to Words mode to compare the text itself rather than the layout.
- Sort both lists the same way before comparing them, or every line will look moved.
- Format JSON with the JSON Formatter first, so both files use the same indentation and each key sits on its own line.
- Use Swap if you pasted the texts the wrong way round: additions and removals switch places.
Private by design: many online diff tools send both texts to their server. This one compares them in your browser, so contracts, source code and unpublished drafts never leave your device.