Diff Checker

Compare two blocks of text and instantly see the differences highlighted line by line

Enter text in both fields and click Compare to see the differences.

How to Read a Text Diff Well

What a diff shows

The minimal set of changes (additions, deletions, unchanged parts) between two texts β€” the everyday tool for code review, document revisions, and config changes.

Practical tips

  • Whitespace surprises: texts that look identical can differ by tabs vs. spaces, trailing spaces, or CRLF vs. LF line endings. Suspect these first when a diff looks empty-but-isn't.
  • Granularity: line-level diffs flag a whole line for a one-character change; word-level comparison reads better for prose edits.
  • Comparing JSON/configs: format both sides with the same tool first β€” meaningless ordering and indentation differences disappear, leaving only real changes.

Everything is processed in your browser and never uploaded, so internal documents are safe to compare here.

Frequently Asked Questions

Related Tools

Content last reviewed: 2026-08-22