Compare PDF Text
Pick two versions of a PDF and see which lines of text were added or removed, with a similarity percentage. It compares text only (not layout or images) and runs inside your browser.
The tool
How to use
- Choose the first file (old version) and the second file (new version).
- Pick how to compare: line by line or sentence by sentence.
- Press “Compare” to see added (+) and removed (−) lines and the similarity percentage.
- Copy the difference report or download it as a .txt file.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: pdfjs (open-source libraries bundled with the site).
- Works offline after you open it once.
Frequently asked questions
What exactly is compared?
Text only. We extract the text of each file and compare it. Layout, fonts, colours, images and drawn tables are not compared.
How is similarity calculated?
Matching lines (or sentences) × 2 ÷ the total lines of both files. A line with a single changed word counts as entirely different, so the figure is approximate and is not a plagiarism check.
Why so many differences for a small edit?
If the edit re-wrapped a paragraph, all its lines look different. Try “Sentence by sentence”, which ignores where lines break.
Does it work on scanned files?
No, they are images with no text. Read each file with the “Image Text Recognition (OCR)” tool first, then compare the two texts.
Is there a size limit?
Yes: 50,000 lines per file, and if both files are large and very different we stop and tell you instead of freezing the browser.
Are my files uploaded to a server?
No. Extraction and comparison happen inside your browser.