Compare PDF Text

Upload an original and updated PDF to see added and removed selectable text lines by page, then copy or download a TXT report.

Local browser processing

Compare selectable text in two PDFs

See added and removed lines by matching page number. Your PDFs and opening passwords stay in this browser.

Original PDF

Choose or drop one PDF up to 50.00 MB and 100 pages.

Updated PDF

Choose or drop one PDF up to 50.00 MB and 100 pages.

Text is compared by the same page number in each PDF. Inserted pages can shift later results. Scans need OCR; images, formatting and layout are not compared.

Comparison results

Choose both PDFs and run a comparison to see page-by-page text changes.

Steps

How to use

  1. Choose an original and updated PDF, each up to 50 MB and 100 pages.
  2. Enter an opening password beside either PDF if one is required.
  3. Compare the files and select each changed page to inspect line differences.
  4. Copy or download the TXT report, and verify significant findings against the original PDFs.
Examples and use cases
  • Review a revised contract draft for wording changes.
  • Compare two report versions for added or removed paragraphs.
  • Check text changes in an updated brochure.
Privacy, limits and tool details

Key facts

Best use case
Reviewing text changes in two selectable-text PDF revisions
Input and output
Two PDFs to an on-page line diff and copyable or downloadable TXT report
Alignment
Same page number in each PDF; no automatic shifted-page matching
File and page limit
50 MB and 100 pages per PDF
Text limit
500,000 characters per PDF, 250 lines per page, 2,000 characters per line
Privacy
Local browser processing with no PDF or text upload
Main limitation
Selectable text only; no OCR, image comparison or visual layout diff
Privacy

Privacy and processing

Processing method: PDF.js 6.3.289 extracts existing text sequentially with getTextContent() and scripting and dynamic evaluation disabled. ToolMint normalizes spacing and uses a bounded line-based LCS comparison on matching page numbers. The PDF files are not rewritten.

Privacy model: PDFs, filenames, opening passwords, extracted words and report text stay in the browser tab. Analytics contain only coarse operation status, file count, total file size, page count and changed-page count.

Limitations

Limitations

  • Image-only scans need OCR before comparison; a page lacking comparable selectable text is never reported as equal.
  • Pages are compared by number, so an insertion or deletion can shift all later results.
  • Text extraction order and spacing can differ from the visual page, especially in tables and columns.
  • Images, layout, formatting, links, annotations and signed status are not compared.
  • Unsupported encryption, malformed PDFs and large complex documents may fail in the browser.

Page freshness

Published
Sep 28, 2026
Last updated
Oct 25, 2026
Features

Benefits

Page-level review

Jump directly to added or removed text lines on matching page numbers.

Private comparison

Both PDF files and their text remain in the browser.

Shareable text report

Copy or download a plain-text summary of the comparison.

Tips

Pro tips

  • Compare PDFs with corresponding page numbering.
  • Inspect columns and tables against the visual pages.
  • Use an OCR workflow before comparing scans.
Watch out

Common mistakes to avoid

  • Treating a text match as proof that the pages look identical.
  • Assuming inserted pages are automatically realigned.
  • Expecting image-only scans to contain selectable text.

Sources

Detailed Compare PDF Text guide

The ToolMint Compare PDF Text tool compares the selectable text of two PDF files in your browser. Choose an original PDF and an updated PDF, enter an opening password for either one if necessary, then inspect added and removed lines on matching page numbers. You can copy or download the comparison as a TXT report. Neither PDF nor the extracted words are uploaded to ToolMint.

Try with a fictional practice file

Compare the fictional two-page order as the original with the revised practice order. Page 1 changes from Quantity: 2 to Quantity: 3; page 2 keeps Delivery: standard. Review the removed and added lines, then copy or download the TXT report. The image-only PDF has no text layer and cannot establish text equality. This tool does not compare visual layout or image pixels.

How to compare two PDFs

Choose or drop one original and one updated PDF. Each file can be up to 50 MB and 100 pages. If a PDF needs an opening password, enter it next to that file. Choose Compare PDF text and wait while the tool extracts pages sequentially. The results list all page numbers, show how many lines were added and removed, and highlight the changes on the selected page.

A green plus means a line appears in the updated PDF but not in the matched original page. A red minus means a line appears in the original PDF but not in the matched updated page. Unchanged lines remain visible for context. When both pages have selectable text, a page is unchanged if its normalized lines match in order. Repeated spaces are collapsed, while case and words still matter.

Choose a page from the list to inspect it. Download TXT report saves the page statuses and line changes without the original PDF files. Copy report uses your browser clipboard when permitted. The report can contain confidential document text, so review it before sharing.

What the comparison means

The tool matches page 1 to page 1, page 2 to page 2 and so on. A new or deleted page can shift all later page numbers; review the PDFs yourself before treating every later difference as a content edit. It does not align pages by similarity.

PDF.js extracts existing selectable text with getTextContent(). The same text conversion approach as ToolMint's PDF to Text Extractor then reconstructs rough line breaks. PDF content order and spacing can differ from what you see on screen. Text in columns, tables, overlays or positioned boxes may compare differently even when a page looks similar. Image changes, visual styling, page layout, links, annotations and digital signatures are not compared.

An image-only scanned PDF contains no selectable text unless OCR text was previously added. The tool cannot compare two PDFs if either has no selectable text anywhere. When one or both matching pages have no selectable text, that page is marked no text rather than falsely marked equal or changed. An added or removed page can still be identified by its page number even when it contains no text.

Browser and privacy limits

Each PDF is limited to 50 MB, 100 pages and 500,000 extracted characters. A single page is limited to 250 comparison lines and 2,000 characters per line so the browser can build a bounded line diff. Complex PDFs may still use substantial device memory below these limits. Use shorter or simpler copies if your browser cannot complete the comparison.

PDF.js 6.3.289 reads the files locally with scripting and dynamic code evaluation disabled. An optional opening password stays in this browser tab. ToolMint does not upload filenames, passwords, PDF bytes, extracted text or report content. Analytics contain only coarse operation status, file count, total byte size, page count and changed-page count. Reset or close the tab after comparing sensitive documents on a device you control.

Common questions

Can it compare scanned PDFs? Not without existing OCR text. Image-only scans need an OCR workflow first.

Will it detect a changed photo or layout? No. This is a comparison of extracted text lines, not rendered page pixels or document objects.

Why are so many pages marked changed after one new page? Pages are aligned by number. An inserted page moves later content to different page numbers.

Can I compare a password-protected PDF? If PDF.js supports its encryption and you know the opening password, enter it next to that PDF. Unsupported encryption may still fail.

Use the PDF to Text Extractor to copy or download text from just one PDF. The Text Diff Checker compares text you paste manually. Use PDF Page Organizer to reorder pages or PDF Splitter to keep selected pages as PDFs.

Frequently asked questions

No. It compares only selectable text lines extracted from matching page numbers.

Only if they already contain selectable OCR text. This tool does not perform OCR.

No. Both PDFs and the report stay in the browser tab.

Pages are matched by number; extra pages are identified, but later pages are not aligned by similarity.
7 min read Works in browser Privacy notes