MarkdownPDF

Compare PDF Files & Text

Paste two versions — or open two PDFs or Word files — and see exactly what changed, down to the word. Nothing is uploaded.

Compared on your device — nothing is uploaded

Find the change they did not mention

A contract comes back “with a few small fixes”. A policy is updated. A colleague sends the “final” version of a report. Reading both versions side by side is slow and unreliable; a diff shows every changed word in seconds, including the ones nobody pointed out.

Comparing PDFs works on their text, so the result is only as good as the extraction: for scanned documents, the OCR reading is what gets compared — see OCR vs text extraction. To keep a document's text for later comparison, save it with PDF to Text or Word to Markdown.

How to compare two PDF files

  1. In the Original box, click “Open a file” (or drop the file on the box) and choose the earlier version. Its text is extracted in your browser; scanned pages go through OCR.
  2. Do the same with the newer version in the Changed box.
  3. The comparison runs by itself. The summary counts added, removed and changed lines; inside a changed line, only the words that differ are highlighted.
  4. Switch between Side by side and Unified, tick “Ignore case” or “Ignore spacing” if those differences do not matter to you, and download the result as a .diff file to keep a record.

The two sides do not have to be the same kind of file: a PDF can be compared with a Word document, or with text pasted from an email.

What the comparison finds — and what it does not

It finds every difference in the words: a changed number, a new clause, a deleted sentence, a date moved by a week. It does not compare how the pages look — fonts, colours, images, margins and page breaks are ignored, so a PDF that was only re-laid-out compares as identical. PDFs and Word files are read as Markdown-style text, so a heading shows up with its # marker. A paragraph moved to another page appears as removed in one place and added in the other.

When it is worth checking

  • Contracts and agreements. Compare the version you approved with the one sent for signature, before you sign it.
  • Successive versions of a document. Policies, specifications, terms of service, manuscripts: see what changed between v3 and v4 without relying on a change log someone else wrote.
  • Word vs the exported PDF. Check that the PDF you are about to publish says the same thing as the Word draft that was last reviewed.
  • AI rewrites. Paste your text and the version an assistant returned to see every word it changed, not just the ones it mentioned.

Frequently asked questions

Still stuck? Ask us.

Can I compare two PDFs?

Yes — by their text. Open a PDF on each side and its text is extracted (with OCR for scanned pages) and compared. This finds changed wording, numbers and dates; it does not compare layout, images or formatting. Word documents and Markdown files work the same way.

Can I compare a PDF with a Word document?

Yes. Each side reads its own file, so you can open a PDF as the original and a .docx as the changed version (or the other way round). Both are turned into text first, which is what makes the comparison possible; differences in layout between the two formats are not reported.

Why are some lines shown as changed rather than removed and added?

When a line is edited, it is shown once on each side with only the changed words highlighted, so “30 days” → “45 days” is obvious instead of hidden in two full lines. Lines that are genuinely new or deleted are shown as added or removed.

What do “Ignore case” and “Ignore spacing” do?

They decide what counts as a difference. Ignore case treats “Total” and “total” as the same; ignore spacing treats runs of spaces and tabs, and spaces at the ends of lines, as equal. The text itself is shown unchanged.

Is anything uploaded?

No. Both versions stay in your browser — useful when you are comparing drafts of a contract, a policy or anything confidential.

What is the .diff download?

A unified diff, the standard format used by Git and the diff command. It can be attached to a review, applied as a patch, or opened in any code editor with diff highlighting.

Is there a size limit?

There is a time limit: if two texts are so long and so different that comparing them would take more than a few seconds, the tool stops and says so rather than freezing the page. Documents of hundreds of pages with ordinary edits compare quickly.

Limitations

Guides