Skip to content
Developer & CodeLocal · Stays on device

Diff Checker

Compare two texts or code snippets line by line, word by word or character by character, side by side or as a unified diff.

Launch Diff Checker
  • Plain text, Source code, Unified diff output
  • Free to use
  • No sign-up or watermark
diff-checkerOn this device
1
2
3
4
5
6
7
8
9
10
1
2
3
4
5
6
7
8
9
10
Plain textSource codeUnified diff output
Open Diff Checker

About this tool

Paste an original and a changed version to see exactly what was added, removed or changed. Line mode pairs changed lines side by side and highlights the words that differ inside them; word and character modes show the edits inline, which suits prose, short strings and configuration values. Options ignore letter case, trailing whitespace or all whitespace, and blank lines.

Code mode (also at /tools/diff-checker?mode=code) is tuned for snippets: monospace, line numbers and indentation-insensitive comparison by default, so re-indented code doesn’t drown out real changes. Every comparison can be copied or downloaded as a standard unified .diff that git apply and patch understand. The texts are compared in your browser with the Myers algorithm used by git. Everything runs in your browser. Your data is never uploaded, logged or stored.

  1. Input

    Your code or text

    Plain text, Source code, Unified diff output

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Ready to download or copy

Local processing pipelineInstant, in-browser

How to use it

  1. 1

    Paste the original on the left and the changed version on the right.

  2. 2

    Choose lines, words or characters, and any whitespace or case options.

  3. 3

    Read the side-by-side view, or switch to the unified diff to copy or download it.

Zero-upload architecture

How to use Diff Checker for free, with no upload

Free, with no sign-up or watermark · Your files stay on your device

  1. 1

    Open Diff Checker

    Launch the app and add your file. There is nothing to install and no account to create.

  2. 2

    Work through it

    Choose lines, words or characters, and any whitespace or case options.

  3. 3

    Get your result

    Read the side-by-side view, or switch to the unified diff to copy or download it.

  • Local

    JSON Diff Tool

    Compare two JSON documents structurally: added, removed and changed values with JSON Pointer paths, side-by-side highlights and a JSON Patch export.

    Open tool
  • Local

    Text Cleaner

    Remove extra spaces, empty lines, HTML tags, smart quotes and invisible characters in one click.

    Open tool
  • Local

    Word Counter

    Count words, characters, sentences and paragraphs, with reading time and keyword density.

    Open tool
  • Local

    Patch Previewer

    Preview a git diff or patch file as a readable unified or side-by-side view, with per-file added and removed line counts.

    Open tool