Diff Checker

Compare two texts and see the differences highlighted line by line.

0 lines · 0 characters

0 lines · 0 characters

View
Highlight

Runs entirely in your browser using the Myers diff algorithm (the same approach Git uses). Your text and files are never uploaded.

What can you compare?

Two versions of code, config or plain text

Paste or drop the files. Changed lines are paired and the exact words or characters that changed are highlighted.

Two Word documents (.docx)

The text is read in your browser and compared. Formatting changes such as bold or font size are not compared.

Two PDFs with selectable text

The text of every page is extracted and compared line by line.

Scanned PDFs, or how the pages look

Scanned pages have no text to read. Compare the page images visually instead, or run OCR first.

Compare PDF pages visually

JSON where only key order or formatting changed

Turn on "Format JSON (sort keys)" so reordered keys and spacing do not show up as changes.

Features

  • Side-by-side comparison

  • Line-by-line diff view

  • Added/removed highlighting

  • Line number display

  • Swap texts easily

  • Statistics summary

  • 100% client-side

  • No signup required

  • Word and character level highlighting

  • Ignore whitespace, trailing spaces or case

  • Compare Word (.docx) and PDF files

  • JSON compare with sorted keys

  • Jump between changes

  • Copy or download a unified .diff

Perfect For

Code Review

Compare code versions to identify changes and modifications.

Document Editing

Track changes between different versions of documents.

Configuration

Compare config files to spot differences between environments.

Contracts & Drafts

Open two versions of a Word or PDF document and see exactly which words changed.

Frequently Asked Questions

Was this tool helpful?

Help us improve by sharing your feedback