Diff Checker

Paste two texts and instantly see the differences highlighted line by line or word by word. Your text never leaves your browser.

Free Private In-browser
Original (A)
Changed (B)
or edit text — updates live

Frequently Asked Questions

What is a diff checker?

A diff checker compares two pieces of text and highlights what's different between them — showing added, removed, and unchanged lines (or words). It's the same concept as the diff command in Unix/Linux or the diff view in Git and code editors.

Is my text sent to a server?

No. All comparison is performed entirely in your browser using JavaScript. Your text never leaves your device, making this safe for sensitive, confidential, or proprietary content.

What does "Word-level diff" do?

Standard line diff marks entire lines as added or removed. Word-level diff goes further and highlights the specific words within a changed line that are different, making it easier to spot small changes in long lines.

Can I compare code files?

Yes. Paste any plain text including source code, JSON, YAML, CSV, Markdown, or prose. The diff compares text line-by-line and is not language-aware, but the visual highlight makes differences easy to spot.