Compare the text of two PDF files
See what text was added, removed or changed between two versions of a PDF, with the page numbers in both files. Variant forms of the same character count as equal, so a change such as "m²" to "m2" is not reported.
Your file is processed in this browser tab and is not uploaded. Exactly two PDF files, up to 100 MB each.
This tool needs JavaScript. If it does not start, enable JavaScript in your browser and reload this page.
This browser cannot run the tool. Please use a current version of Chrome, Edge, Firefox or Safari.
No file selected yet.
The first file counts as the old version, the second as the new one. To swap them, choose them again in the other order.
Changes
Only the text layer is compared; images, layout and fonts are not. Scans: make them searchable first.
How to use it
- Choose two PDFs: the older version first, then the newer one.
- Select Compare.
- Read the list of changes, or save it as a text report.
What it does
- Aligns the whole text of both files, so an inserted or removed page shows as one change and the pages after it still line up.
- Lists each change as added, removed or changed, with the old and new text and the page numbers in both files.
- Compares Chinese, Japanese and Thai character by character, other languages word by word. Before comparing, both texts are normalised (Unicode NFKC): superscript and subscript digits, full-width letters and ligatures such as "fi" count as their plain forms, so changes between them are not reported.
What it does not do
- It does not compare images, layout, fonts or colours. Compare the pages side by side for visual changes.
- It does not compare scans. Make both files searchable first.
- It does not give a result when the files differ too much to be aligned (for example two different documents); it says so instead of listing everything.
File limits
- Exactly two PDF files, up to 100 MB each.
Questions
- Why are some changes larger than what I changed?
- If a sentence was reworded, the whole changed stretch is shown as one change. Moving a paragraph shows as removed in one place and added in another.
- Does spacing count?
- Only where it splits or joins words. The number of spaces or line breaks between words does not matter, so text that only reflowed is not reported. But a space added inside a word or removed between two words changes the words ("AB" and "A B" differ), and that is reported. Chinese, Japanese and Thai text is compared character by character, so spaces there do not count.
Privacy
- The file is read and processed by code running in this browser tab. It is not uploaded to our server or to any other service.
- The tool loads its own program files from this site; it does not contact other services while it works.
- Nothing is kept after you close the tab. Results exist only until you save them.