Skip to content
GigAI Tools

Document Comparer: Compare Two Documents & See What Changed

Drop two versions of a contract, brief, README or report and instantly see every difference. The tool extracts the text from each PDF, Word, RTF, TXT or Markdown file right in your browser and paints a clean redline (removals struck in red, additions in green) with a live change count and line- or word-level granularity. No upload, no account, nothing stored.

100% browser processingFree · no sign-up
Loading tool…

What is the document comparer?

The Document Comparer shows exactly what changed between two files. Upload any two PDF, Word, RTF, text or Markdown documents and get a color-coded redline, additions in green and removals in red, at line or word granularity with a live added/removed count. Runs entirely in your browser. Nothing is uploaded.

The GigAI Document Comparer answers one question fast: what actually changed between these two files? Upload an original and a revision (PDF, Word (.docx/.doc), RTF, plain text or Markdown, in any mix) and the tool pulls the readable text out of each document entirely on your device: PDFs go through the pdf.js text layer, Word files through Mammoth, RTF through a built-in parser, and everything else is decoded as UTF-8. It then diffs the two texts and renders a color-coded comparison you can read at a glance: text present only in the original is shown struck through in red, text added in the revision is highlighted in green, and unchanged passages stay neutral so your eye jumps straight to the edits. A running tally reports how many lines or words were added and removed, and you can switch between line-level granularity (ideal for prose, contracts and READMEs, where you want whole rewritten sentences flagged) and word-level granularity (which pinpoints the exact words that moved inside an otherwise-identical paragraph). Copy the plain-text redline, download it as a.diff file, or reset and compare another pair in one click. Because the entire pipeline runs in your browser, confidential contracts, unreleased drafts and internal specs never leave your machine. There is no server to upload to and nothing is logged. One honest boundary worth stating up front: this compares the text of two documents, not their visual layout. It will not redline fonts, colors, images, tables or page breaks, and it can only compare text that actually exists as text. A scanned or image-only PDF has nothing to extract until it is run through OCR first.

Difficulty:
Easy
Typical time:
~15s
Processing:
100% browser processing

Last updated

How to use the document comparer

  1. 1

    Add the original

    Drop, paste or browse to your first document: the baseline you want to compare against. PDF, Word, RTF, TXT and Markdown are all accepted.

  2. 2

    Add the revision

    Add the second document (the changed or newer version) into the second slot. The two files don't have to be the same format.

  3. 3

    Choose line or word mode

    Pick line granularity for prose and contracts, or word granularity to pinpoint changes inside a paragraph. The diff recomputes instantly when you switch.

  4. 4

    Read the redline

    Scan the color-coded result (green for additions, red strike-through for removals) and check the added/removed count for the size of the change.

  5. 5

    Copy, download or reset

    Copy the diff to your clipboard, download it as a .diff file, or reset both slots to compare a new pair of documents.

What Document Comparer includes

  • Color-coded redline

    Removals appear struck through in red and additions highlighted in green, with unchanged text left neutral, so what changed jumps out instantly instead of hiding in a wall of identical prose.

  • Mix any two formats

    Compare a PDF against a Word doc, a Markdown file against plain text, or two revisions of the same file. Text is extracted from PDF, DOCX, DOC, RTF, TXT and MD before diffing, so formats never have to match.

  • Line & word granularity

    Switch between line mode for prose, contracts and READMEs and word mode to pinpoint the exact words that changed inside an otherwise-identical paragraph: recomputed live the moment you toggle.

  • Live change count

    A running tally shows how many lines or words were added and removed, so you can quantify the delta between two versions at a glance and confirm a revision is as small, or as large, as expected.

  • Copy or download the diff

    Copy the plain-text redline to your clipboard or download it as a.diff file to attach to a ticket, a review or an email. No screenshots, no retyping.

  • 100% in your browser

    Both documents are read and compared on your device. Nothing is uploaded, stored or logged, so you can safely diff confidential contracts, unreleased drafts and internal specs.

Why use our document comparer

See every edit in seconds

Instead of reading two documents side by side and hoping you spot the change, get a single color-coded view that flags every insertion and deletion for you.

Compare across formats

The other person sent a PDF and you have the Word original? No problem: the tool normalises both to text first, so you can diff a PDF against a DOCX, or Markdown against plain text, without converting anything by hand.

Keep confidential files private

Legal, HR and product documents never leave your machine. There is no server round-trip, so a sensitive contract or an unreleased spec is safe to compare here.

Quantify the change

The added/removed counter turns a vague 'they changed some things' into a concrete number, which is exactly what you want to note on a review or in a changelog.

Built for the way you work

From quick one-off fixes to daily workflows, see how people put this tool to use.

  • Legal / Contracts

    Redline a contract revision

    Compare the counterparty's returned PDF against your original Word draft to see exactly which clauses were added, cut or reworded before you sign.

  • Writer / Editor

    Spot edits between drafts

    Diff two versions of an article, chapter or brief to see every sentence an editor changed, without manually re-reading the whole thing line by line.

  • Developer / Docs

    Diff two READMEs or specs

    Compare an old Markdown README or a text spec against the new one to review exactly what was documented, deprecated or rewritten.

  • Student / Researcher

    Track changes across submissions

    Compare a returned essay or thesis PDF against your saved copy to see precisely what feedback altered, or confirm which passages a revision touched.

Supported formats

Accepts PDF, DOCX, DOC, RTF and TXT, and produces Diff and TXT, all processed locally in your browser.

Input formats
  • PDF
  • DOCX
  • DOC
  • RTF
  • TXT
  • MD
Output formats
  • Diff
  • TXT

Frequently asked questions

Common problems, solved

Hit a snag? Here are quick fixes for the issues people run into most.

  • My PDF shows as empty or almost no text is compared.

    The PDF is probably a scan or an image-only export, which has no selectable text to extract. Run it through an OCR tool first to add a text layer, then compare the OCR'd version.

  • The whole document shows as changed when I only edited a little.

    You're likely in line mode where a single reflowed or re-wrapped line reads as changed. Switch to word mode to see the exact words that differ, and note that PDF and Word extraction can wrap text differently, which shifts line boundaries.

  • Formatting, images or tables aren't shown as differences.

    This tool compares the text of two documents, not their visual layout. Fonts, colors, images, tables and page breaks are intentionally out of scope: only the readable text is diffed.

  • My .doc (old Word format) didn't extract cleanly.

    Legacy binary .doc support is best-effort. The modern .docx format extracts most reliably. If a .doc looks wrong, open it in Word or an editor and re-save it as .docx, then compare again.

Get the most out of it

  • Use line mode for contracts, essays and READMEs where you care about whole rewritten sentences. Switch to word mode to catch a single changed figure or name inside a paragraph.

  • Put the older version in the first slot and the newer one in the second so green reads as 'added in the new version' and red as 'removed from the old', the natural before/after direction.

  • Comparing a PDF against its Word source? Expect line boundaries to differ because the two formats wrap text differently. Word mode gives a cleaner read in that case.

  • For a scanned PDF, OCR it first. The comparer can only diff text that actually exists as text in the file.

  • Download the diff as a .diff file to attach it to a review, a ticket or an email instead of pasting a screenshot.

What's new

Recent updates and improvements to the document comparer.

  1. Initial release, compare two PDF, Word, RTF, text or Markdown documents with in-browser text extraction, a color-coded added/removed diff, line and word granularity, a live change count, copy, download-as-.diff and reset.

  2. Added word-level granularity alongside line mode, plus clearer guidance for cross-format (PDF vs. Word) comparisons where line boundaries differ.

  3. Improved handling of empty and scan-only PDFs with an explicit 'no text to compare' notice, and refined the added/removed counter for whitespace-only changes.

Your privacy is built in

Both documents are read and compared entirely in your browser. Neither file is ever uploaded to a server. PDF text is pulled with pdf.js, Word with Mammoth, and RTF with a built-in parser, all on your device. Nothing is stored, logged or transmitted. That means confidential contracts, unreleased drafts and internal specs are safe to compare here. Close the tab and every trace is gone.

  • Runs in your browser
  • No uploads
  • Nothing stored

Ready to try the document comparer?

Free, private and instant. Document Comparer runs right in your browser.