Free tools for developers

Diff Checker

Paste two pieces of text to compare them. Additions are highlighted green, deletions red. Everything runs in your browser.


What is a Diff Checker?

A diff checker compares two pieces of text and shows you exactly what changed between them. Lines that were added are shown in green. Lines that were removed are shown in red. Lines that stayed the same are shown in grey. This is the same format used by Git when you run git diff in a terminal.

Diff checkers are used by developers to review code changes, by writers to compare document versions, and by anyone who needs to quickly spot what changed between two versions of a text file.

How to Use This Tool

  1. Paste the original text in the left box.
  2. Paste the changed or updated text in the right box.
  3. Click Compare to see the differences highlighted.
  4. Green lines were added. Red lines were removed. Grey lines are unchanged.

Frequently Asked Questions

Does this work for code?

Yes. Paste any code into both boxes and compare. It works for any plain text including code, prose, configuration files, and JSON.

Is my text sent to a server?

No. The comparison runs entirely in your browser. Your text never leaves your machine.

How does it compare - line by line or character by character?

This tool compares line by line which is the standard diff format. Each line is marked as added, removed, or unchanged. This matches the output of the Unix diff command and Git.