See every earlier version saved inside a PDF STRATA
When a PDF is saved by appending, every earlier version stays inside it. This digs each one out, shows the pages side by side, and reports what changed between them.
The PDF
It is read in this tab and never leaves it.
The versions inside it
Each one can be saved as a PDF of its own.
The pages, side by side
Pick a page to see every version of it, with what changed between each pair marked in red.
How it works
A PDF keeps its own history, and the reader hides it
A PDF can be saved by appending. The objects that changed are written
after the existing file, followed by a new cross-reference section whose
/Prev points back at the old one. Nothing earlier is removed.
A form that was filled in, a comment that was deleted, a paragraph that was
rewritten, a page that was replaced: all of it is still in the file, under
the newest version, and every reader shows you only the newest.
That is not a bug in the readers. It is what an incremental save is for, and it is what makes signing a PDF possible at all: the signature covers a byte range, and later changes go after it so the earlier bytes stay signed. It is also why documents are so regularly sent out with their revisions intact, by people who redacted something, saved, and reasonably assumed that saving removed it.
Why the bytes are read by hand
Ordinary PDF libraries cannot show you this, and not through neglect. They are built to hide it: read the newest cross-reference, repair whatever is broken, hand over one coherent document. That is exactly right for displaying a page and exactly wrong for finding out what the file used to say.
So this walks the chain in the bytes. It finds startxref,
follows each section's /Prev, handles classic cross-reference
tables and cross-reference streams alike, and reads
/XRefStm for a hybrid file. Each version ends where its own
startxref and %%EOF were written, and every
startxref in the file is a candidate boundary only if the
section it names is in the chain the file stands on today and
that section's own chain stays inside the cut. The second test is what
stops a linearised file, which carries two cross-reference sections for a
single version with a /Prev pointing forward, from being
counted twice, and stops a PDF embedded inside another from being mistaken
for the outer file's history.
What is compared between one version and the next
For each consecutive pair: the document properties and the XMP packet, the fonts each page uses, every page's decoded content stream, the annotations on it, the form field values, the signatures and how many bytes each one actually covers, and a rendering of every page at the same scale compared pixel against pixel.
The last two are the ones that decide arguments. A signature that covers fewer bytes than the file contains is a signature with material appended after it was applied: the document was signed and then added to, which looks entirely normal in a reader. And the pixel comparison catches what a structural diff cannot describe: a figure replaced, a number changed inside an image, a stamp moved.
Nothing is uploaded, which matters more here than for most tools: the documents worth examining this way are contracts, disclosure bundles, reports and statements, and those are precisely the files that must not become somebody else's HTTP request. Alongside it, LINEAGE reads the editing history a Word file keeps about itself, SCRUB and FLATTEN remove the history before a document goes out, and PROVENANCE records that the copy you examined is the copy you were given.
The guides: Was this PDF changed after it was signed? and What a PDF keeps after you delete a page
Questions people ask about STRATA
How can a PDF hold earlier versions of itself?
A PDF can be saved by appending: the new or changed objects are written after the old file, with a new cross-reference table that points back at the old one. Nothing earlier is removed. Acrobat does this when it signs, comments on or fills a form in a file, and many other tools do it too. The reader shows the newest version; the older ones are still in the bytes, and this page cuts them out.
What does it tell me about each change?
For every pair of consecutive versions: whether the producer, the dates or the title in the document properties and the embedded XMP metadata changed; fonts that were added; pages whose drawing instructions changed, with a pixel-by-pixel comparison of every page; comments and other annotations added, removed or altered; form field values added or changed; and, for a signed file, how much of the file the signature actually covers.
My PDF has one version. Does that mean it was never edited?
No. It means the last program to save it wrote the whole file afresh, which is what most editors do on an ordinary save. Only a file saved by appending keeps its past. A single version says nothing either way about what happened before that save.
Is a signed PDF with a later version a forgery?
Not by itself. Signing is itself done by appending, and a second signature or a filled form field after the first is normal. What matters is what the later version changed: a form field is one thing, a page’s content is another. The page reports both, and says how many bytes were added after each signature. Checking the signature itself is a job for PDFSIG.
Why is a version listed that a reader shows differently?
Each version is cut from the file exactly as it stood when its end-of-file marker was written, so it opens in any reader. A reader that repairs a damaged cross-reference table may show a version slightly differently from another, and a linearised file, which carries two cross-reference sections for one version, is counted as one.
Does it work on an encrypted PDF?
Partly. The versions are found and cut from the bytes, and the pages are rendered and compared if the file opens without a password. The text inside the document properties, the metadata and the form values is encrypted, so those are compared by their bytes and not shown. A file that needs a password to open is listed but its pages cannot be drawn.
Is anything uploaded?
No. The file is read, cut and drawn in this tab. Each version you save is written by your browser from the bytes already in memory. The page works with the network switched off once it has loaded.
Doing this often? PDF Studio compares two PDFs side by side, word by word and pixel by pixel, and marks what changed. On its own, US$2 a month; with everything else, US$5 a month or US$48 a year.