Loading ToolDeck, please wait.

ToolDeck.online

INITIALIZING_

0%
DESIGNED BY SJ VISUAL FLOW STUDIOS
ToolDeck.onlineOpen. Build. Go.

Compare Two PDF Files Online: Find Text Differences Without Uploading

Drop the older PDF and the newer PDF and see every added and removed line side by side, with page numbers. Both files stay on your device. Honest note: this compares text only, so image and layout changes are not detected.

  • No upload
  • No sign-up
  • No watermark
  • Page numbers

Runs locally in your browser

Is your PDF a scan? Run OCR first.

For the best results, only compare PDFs that have real, selectable text. A scanned PDF is just a picture, so it cannot be compared accurately. Do OCR on each scanned file first, then come back here and upload both to compare.

Go to OCR PDF

File A — older version

Drop a PDF here or choose one

File B — newer version

Drop a PDF here or choose one

Live comparison starts automatically

Add both PDFs and they are compared at once, word by word. Both documents are shown side by side with every change highlighted. Use N / P to jump between changes.

Honest limits: the comparison is word by word on the text layer. Images, colours, fonts, layout, annotations and signatures are not compared. Scanned PDFs need OCR first. Everything runs in your browser and no file is uploaded.

How do I compare two PDF files for free?

Drop the older version into slot A and the newer version into slot B, then press Compare. ToolDeck PDF Compare extracts the text from both PDFs in your browser, runs a line-level diff, and shows every added and removed line with its page number. Nothing is uploaded and no account is needed.

Price
Free, no account, no watermark
Upload required?
No, both PDFs are read in your browser
Input formats
PDF files with a text layer (not scanned images)
What is compared
Extracted text, line by line, page by page
Diff algorithm
Longest Common Subsequence, so added and removed lines stay aligned
Output
Side-by-side view with highlights, plus added/removed counts
Not compared
Images, colours, fonts, layouts, annotations and digital signatures
Scanned PDFs
Need OCR first. This tool does not run OCR
Max file size
20 MB per file for reliable browser performance
Works on
Chrome, Edge, Firefox, Safari, iPhone, Android, Windows, Mac and Linux
  • iPhone
  • Android
  • Windows
  • Mac
  • Linux
  • Chrome
  • Safari
  • Edge
  • Firefox
  • Chromebook

How to compare two PDFs in 3 steps

  1. 1

    Add the older version first

    Drop the original PDF into slot A. Its lines will be the "removed" side. The order decides what counts as added and removed.

  2. 2

    Add the newer version

    Drop the revised PDF into slot B. Both files are read in your browser. Nothing is uploaded to a server.

  3. 3

    Read the changes

    See every added and removed line side by side, with page numbers. Check the summary counts, then copy the result.

When to compare PDF versions

A text diff is the fastest way to answer one question: what changed in the words and numbers between two versions of a document?

  • Contract and legal drafts

    Check what a counterparty changed between version 3 and version 4 before you sign. Pay attention to numbers, dates and defined terms.

  • Terms, policies and handbooks

    See which clauses were added or removed when a policy, privacy notice or employee handbook is updated.

  • Resumes, theses and reports

    Confirm that a revised document only changed the sections you meant to change before you resubmit it.

  • Quotes, invoices and price lists

    Spot a changed price, quantity or payment term between two versions of a quote without reading every line.

  • Manuals and specifications

    Track wording changes between two releases of a technical manual, datasheet or specification.

  • Exported vs original files

    Check that a re-saved or converted PDF still contains the same text as the original.

Use this tool when you need

  • Wording, number, date and clause changes
  • Private or confidential documents you do not want to upload
  • Quick checks on phone or laptop with no account
  • PDFs that already contain selectable text

Use a different tool when you need

  • Image, logo, colour, font or layout changes (use a visual overlay tool)
  • Scanned pages with no text layer (run OCR first)
  • Password-protected PDFs (remove the password first)
  • Certified or court-grade audits (always verify against the originals)

What is compared, and what is not

The tool reads the text layer of each PDF and compares line by line. Read this table so you know exactly what the report covers.

What is compared in browser-based PDF text comparison
ElementWhat the tool doesNotes
Text paragraphsEvery line of extracted text compared with the other versionAdded and removed lines highlighted
Page numbersThe page where each change appearsJump straight to the changed page
Word changes inside a lineThe whole line is flagged as changedRead the two versions side by side to spot the edited word
Inserted or deleted pagesEvery line on that page appears as added or removedCheck the page count in the summary
Reordered textAppears as removed at the old place and added at the new placeA matching pair of blocks usually means a move, not a rewrite
Images and logosNot compared. Only the surrounding text is checkedUse a visual PDF viewer if images matter
Fonts, colours and layoutNot compared. The tool reads text onlyUse an overlay comparison tool for visual changes
Scanned pages without a text layerNo text is extracted, so nothing can be comparedRun OCR first, then compare the searchable copy

Comparison not working? Try these fixes

  • The tool says no text was found

    The PDF is probably a scan without a text layer. Run it through OCR first, then compare the searchable copy. A photo of a page has no text to read.

  • Every line shows as changed

    The two files may be different documents, or one uses a different text encoding. Confirm you picked the correct older and newer versions.

  • A changed word is not highlighted inside a line

    This is a line-level comparison, not a word-level one. When any word in a line changes, the whole line is flagged. Read the two lines side by side to spot the edit.

  • The comparison is very slow

    Very long documents take longer because every page is read. Close other heavy tabs, or compare smaller sections of the document.

  • A file is rejected as too large

    The tool caps files at 20 MB. Compress the PDF first, or split it into chapters and compare them one at a time.

  • Page numbers do not line up after an inserted page

    An inserted or deleted page shifts every page after it. The highlights stay correct, but page N in A may pair with page N+1 in B from that point on.

  • Formatting or colour changes are not reported

    This tool compares text only. Use a visual overlay comparison if you need to see layout, colour or font changes.

  • Changes appear that you did not make

    Re-saving a PDF in another program can change line breaks, ligatures and hidden characters. The visible text may look identical while the extracted text differs.

ToolDeck vs typical online PDF comparison tools

Most comparison tools upload both PDFs to a server. That allows visual overlay and OCR, but it also sends your contracts and drafts to a third party. ToolDeck keeps both files local and focuses on the text changes that usually matter most.

Comparison of ToolDeck PDF Compare and typical upload-based tools
FeatureTToolDeckUpload-based tools
Free with no accountYesFree tier, account often required
No file upload to a serverYesNo
Works offline after page loadYesNo
Line-level text diff with page numbersYesVaries by tool
Visual overlay of pagesNoSome tools offer it
OCR for scanned PDFsNoSome tools offer it
Export of resultsCopy as text (PDF report planned)Varies by plan
Mobile friendly UIYesVaries

Competitor features vary by provider and plan. Based on commonly available behaviour; verify each tool before relying on it for legal or official documents.

What you get for free

  • Side-by-side text diff

    Every added and removed line is shown next to its counterpart, so you can read both versions without losing your place.

  • Page numbers on every change

    Each difference carries the page where it appears, so a 60-page contract is as easy to audit as a 2-page letter.

  • Accurate line alignment

    A longest-common-subsequence diff keeps unchanged lines paired and only flags what really moved, added or disappeared.

  • Summary at a glance

    See how many lines were added and removed, and how many pages each file has, before you read a single difference.

  • Private by design

    Both PDFs are parsed with pdfjs-dist inside your browser. No upload step, no temporary server copy, no account.

  • Built for every device

    Large touch targets, a stacked mobile layout and a side-by-side desktop view. Works in every modern browser.

How to compare safely

  • Add the older version first

    Slot A is the original and slot B is the revision. Swapping them flips every added line into a removed one, which is confusing when you read the report.

  • Read the summary before the detail

    A jump of hundreds of added lines usually means a whole section was rewritten, not a small edit. Skim the counts first, then read the changes.

  • Check any changed number by hand

    A changed price, date or percentage is the highest-risk edit and the easiest to skim past. Open the original PDF next to the comparison for those lines.

  • Keep the originals

    The comparison view is a report, not a new document. Keep both PDFs so you can re-check a change or produce a fresh comparison later.

PDF compare FAQ

Quick answers about privacy, text vs visual comparison, scanned PDFs, file limits and safety.

How do I compare two PDF files for free?

Open this page, drop the older PDF into slot A and the newer PDF into slot B, then press Compare. The tool reads the text of both files in your browser and shows every added and removed line side by side with page numbers. It is free and needs no account.

What is a PDF diff checker?

A PDF diff checker, also called a PDF comparison tool, finds the differences between two versions of a PDF. This one extracts the text of both files and lists every line that was added or removed, with the page number of each change.

Is my PDF uploaded to a server?

No. Both files are parsed with pdfjs-dist inside your browser, and the comparison runs locally. Your documents never leave your device. You can confirm this in your browser Network tab while comparing.

Is there a PDF comparison tool that does not upload files?

Yes. ToolDeck PDF Compare reads both PDFs locally in your browser, so no file is sent to a server. This is useful for contracts, financial documents and anything confidential.

What is the best free way to compare two PDF files?

It depends on what changed. For wording, number and clause changes, a free text diff like this one is fast and private. For layout, image or font changes, use a visual overlay comparison, such as the Compare Files feature in Adobe Acrobat Pro (a paid feature at the time of writing).

How do I find the difference between two versions of a contract PDF?

Put the older contract in slot A and the newer one in slot B. Review the summary counts, then read each added and removed line. Check every changed number, date and defined term against the original PDF before you sign.

What exactly does it compare?

It compares the extracted text layer of each PDF, line by line. Added and removed lines are highlighted, and every change carries the page number where it appears.

How is the comparison calculated?

The tool extracts the text of each page with pdfjs-dist, then runs a Longest Common Subsequence diff over the lines. Lines that appear in both files stay paired. Lines found only in A are marked removed and lines found only in B are marked added.

Does it compare images, fonts or layout?

No. This is a text comparison. Images, colours, fonts and layout are not checked. If two versions differ only in a logo or a font, the tool will report them as identical. Use a visual overlay viewer when appearance matters.

Can it compare scanned PDFs?

Only if the PDF already has a text layer, for example after OCR. A raw scan is a picture of words, so there is nothing to compare. Run the scan through OCR first, then compare the searchable copy.

Why is a whole line flagged when only one word changed?

The comparison is line-level, not word-level. When any word inside a line changes, the whole line is reported as removed from A and added to B. Read the two versions side by side to spot the exact edit.

What happens when a page is inserted or deleted?

Every line on the affected page appears as added or removed, and every page after it shifts by one. The highlights stay correct, but page N in file A may pair with page N+1 in file B from that point on.

What is the maximum file size?

We recommend files under 20 MB each for reliable browser performance. Very large documents may run out of device memory, especially on phones.

Does it work on iPhone and Android?

Yes. It works in Safari on iPhone and Chrome on Android. For best results on mobile, keep each PDF under 10 MB.

Can I compare more than two PDFs at once?

The tool compares exactly two files at a time: the older version and the newer version. To compare a third version, run another comparison against the one you already trust.

Does it work offline?

Once the page has loaded, both PDFs are read locally and the comparison runs without further network requests. Opening the page initially needs internet.

Will the comparison be stored anywhere?

No. There is no server storage and no account. The comparison exists only in your browser tab until you close it or clear the files.

Can I export the differences?

Yes. You can copy the summary and the changed lines as text. Downloading a formatted report PDF is on the roadmap.

Does it detect comments or annotations?

No. Only the body text layer is compared. Comments, highlights, sticky notes and markup are not read.

Is it safe for confidential contracts?

Yes, because the files are processed locally. For extra caution, use a private browsing window so cached data is cleared when you close the tab.

What if both files are identical?

The summary shows zero added and zero removed lines, and the view states the documents are identical in text. Any visual difference will not be detected.

Why does the comparison show changes I did not make?

Text extraction can differ when a PDF was re-saved by a different program, even if the visible text looks the same. Line breaks, ligatures, whitespace and hidden characters sometimes shift.

Can I use it for legal or official documents?

You can, but treat the output as a helper, not a certified audit. For legal work, review every flagged line against the original PDF and keep both versions on file.

Which browsers are supported?

Current Chrome, Edge, Firefox and Safari on desktop and mobile. Keep your browser updated for the best PDF parsing support.

Can I compare a PDF with a Word document?

Not directly. Convert the Word file to PDF first, then compare the two PDFs. Both files need a text layer for the comparison to work.

What is the difference between this and a visual PDF comparison?

A visual comparison renders both pages as images and overlays them, so it catches layout and image changes. This tool reads the text, so it catches wording and number changes precisely but misses anything visual.

Can I compare password-protected PDFs?

No. If a PDF is encrypted with a password, the browser cannot open it. Remove the password first, then compare the unlocked copies.

How long does the comparison take?

Small documents compare in 1 to 3 seconds. A 100-page contract may take 10 to 20 seconds depending on your device. You will see progress while both files are read.

Does it handle right-to-left languages?

Text extraction works for most languages, but line alignment can be less accurate for right-to-left scripts. Check the flagged lines carefully for Arabic, Hebrew or Urdu documents.

Does it change or edit my PDFs?

No. Both files are opened read-only in memory. The originals on your device are never modified.

Merge, compress, convert or edit PDFs. Nothing uploaded, ever.

See all ToolDeck tools

Your PDFs stay on your device

There is no upload step and no account. Both PDFs are parsed with pdfjs-dist inside your browser and the comparison runs locally. The results exist only as long as this tab is open. Read how we keep it private.