Code Tools
Popular
Recently added

Code Diff

Paste original and changed code to review additions and removals in a two-column diff view.

Features

  • Side-by-side layout
  • Line-level add/remove highlighting
  • Works for any text/code
  • Local-only comparison

How to use Code Diff

  • 1
    Paste original code on the left and changed code on the right.
  • 2
    Scroll the highlighted diff grid below.

Examples

Function change

Input
add(a,b) vs add(a,b,c)
Output
Highlighted changed lines

About Code Diff

Code Diff Viewer provides a side-by-side line comparison for snippets so you can review edits without leaving the browser.

Frequently asked questions

No - it compares whole lines.

No.

This view emphasizes a two-column code review layout; Text Diff is a unified list.