WebPiki

Diff Checker

Compare two texts and highlight differences line by line

Overview

Place two texts side by side and see line-by-line differences highlighted. Useful for comparing config file changes, code reviews, or verifying document edits. Added lines show in green, removed lines in red, making changes easy to spot at a glance.

Key Features

  • Line-by-line diff highlighting (added / removed / changed)
  • Side-by-side layout
  • Quick navigation to changed sections
  • Option to ignore blank lines and whitespace
  • Paste directly from clipboard

How to Use

  1. Paste the original text on the left and the modified text on the right.
  2. Click Compare to highlight differences with color.
  3. Use the navigation controls to jump between changes.
  4. Toggle the whitespace ignore option if needed.

Tips

  • Especially useful for reviewing config file changes (YAML, JSON, etc.).
  • Enable 'ignore whitespace' to focus on substantive changes when only spaces or tabs differ.
  • Paste Git diff output here for a more readable visual comparison.

FAQ

How long can the compared texts be?
Texts can be compared up to the browser's memory limit. A few thousand lines work fine, but tens of thousands of lines may slow things down.
Can I upload files to compare?
Currently only paste is supported. Copy the file contents and paste them into the text areas.
Can I compare binary files?
No, this tool only supports text-based comparison. Use a dedicated diff tool for binary files.