Diff Checker - Compare Two Text Snippets Side by Side

Paste two text blocks and instantly see what changed, line by line. Split or unified view, optional ignore whitespace and ignore case. Runs entirely in your browser.

Original

Changed

About Diff Checking

Differences are computed with the longest-common-subsequence algorithm at the line level: matching lines are aligned, and the rest are marked as additions (green) or removals (red). Ignore-whitespace collapses runs of whitespace before comparing; ignore-case lowercases both sides.

Frequently Asked Questions

Paste the original text on the left and the changed text on the right. The differences are highlighted instantly — additions in green, removals in red — using a line-level longest-common-subsequence algorithm so matching lines stay aligned even when blocks move around.

usage

Split view shows the two snippets in parallel columns, which is the easiest way to read prose, contracts or translations. Unified view interleaves additions and removals in a single column with "+" and "-" prefixes — the same format Git uses, which is convenient for code review.

features

Yes. Toggle "Ignore whitespace" to collapse runs of spaces and tabs before comparing, which hides reformatting noise. Toggle "Ignore case" to lowercase both sides so "Apple" and "apple" are treated as identical. Both toggles can be combined.

features

The diff runs in your browser, so size is bounded by available memory rather than a fixed limit. Snippets up to a few hundred thousand characters compute instantly; very large files may take a moment, especially with both ignore-whitespace and ignore-case enabled.

technical

Line-level diffs do not detect moves — when a block disappears from one place and reappears elsewhere, both edits are reported separately. That is the same behaviour as Git's default diff, and it keeps the algorithm fast and predictable.

technical

No. Both snippets are diffed locally in your browser. Nothing is stored, nothing is transmitted and nothing is logged, so it is safe to compare confidential contracts, internal source code or unreleased copy.

privacy

Use Cases

Compare Code Versions Before Committing

Diff two snippets side by side to spot accidental edits before opening a pull request, especially when working without an IDE or staging copy-pasted patches from chat

technical

Spot Changes in Contracts & Agreements

Compare two versions of a contract, NDA or SOW to find every addition and removal lawyers and clients have made, even when the document has been retyped

business

Review Translation Variants Side-by-Side

Diff two translation drafts to see which phrases the editor changed, missed or rephrased, helping localisation teams audit copy quality across English, Spanish and French

creative

Detect Plagiarism in Essays & Papers

Compare a student's draft against a suspected source to highlight reused sentences and paragraphs for plagiarism review in schools, universities and journalism

educational

Check Edits to API Responses & JSON

Diff two JSON payloads, API responses or YAML configs to track schema drift, debug serialisation bugs and confirm a regression actually changed the output

technical

Track Document Revisions for Editorial Teams

Compare today's blog draft with yesterday's version to see exactly which sentences moved, were rewritten or removed during editorial review and copy fitting

business