Code Diff

Compare two code snippets or files with line and word-level highlighting. Ignore whitespace and case options included.

Snippet A

Snippet B

Paste text into both sides to see the differences.

How to use

  1. 1Paste the first code snippet into A.
  2. 2Paste the second into B.
  3. 3Toggle ignore-case or ignore-whitespace to focus on meaningful changes.

Frequently asked questions

Related tools