Esc

↑↓ to moveEnter to open

Unified diff generator

Compare two texts and get a standard unified diff.

Runs in your browser. Nothing is uploaded, and there is nothing to sign up for.

How to use

  1. Fill in “Original text”, “New text” and “Context lines”.
  2. The result updates as you type.
  3. Copy or download the result.

More developer tools

See all 475