Code Diff Merger

Side-by-side line diff of two code snippets with stats.

Support
Works Offline
Privacy First
No Login
No API

About the Code Diff Merger

Compare two blocks of code or text line by line with a side-by-side highlighted diff, and see counts of added, removed, and unchanged lines.

Examples

Compare functions

old code

Output

highlighted diff with +/- stats

Keyboard shortcuts

  • Copy the main outputCtrl / ⌘ + Shift + C
  • Download the resultCtrl / ⌘ + S
  • Share this toolCtrl / ⌘ + Shift + S
  • Reset the inputsAlt + R
  • Open the tool search paletteCtrl / ⌘ + K

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser