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.
Continue Enhancing Your Images
Take your photo editing to the next level with these popular tools
Add Text to Image
Add captions and titles to your enhanced photo
Add Photo Border
Frame your effect with beautiful borders
Compress Image
Optimize your enhanced image for sharing
Resize Image
Change image dimensions
Photo to Cartoon
Try a different artistic style
Pencil Sketch
Create artistic pencil drawings
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.
usageSplit 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.
featuresYes. 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.
featuresThe 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.
technicalLine-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.
technicalNo. 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.
privacyUse 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
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
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
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
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
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
Pixoate