Settings

Deleting a page in most PDF editors does not remove it from the file. A PDF can be saved by appending: the changed parts go after the existing bytes with a new cross-reference section pointing back at the old one, and nothing earlier is taken out. The reader shows you the newest version and hides the rest. Open the file in STRATA, which walks that chain and shows every earlier version still inside it (in the browser, with nothing uploaded), and then build a fresh document with STAPLE if you need the page genuinely gone.

Why a deleted page can still be in the file

A PDF is not rewritten from scratch every time it is saved. The format allows an incremental save: the objects that changed are written after everything that was already there, followed by a fresh cross-reference table whose /Prev entry points back at the previous one. The result is a file that ends with the current document and begins with every version it used to be.

This is not a defect. It is what makes signing a PDF possible at all (a signature covers a byte range, and later changes go after it so the signed bytes stay signed), and it is why a large document saves instantly instead of rewriting two hundred megabytes.

It does mean that “delete page 4, save” can produce a file which still contains page 4, plus a note saying it is no longer part of the document. Every reader honours the note. A reader that did not, or a tool that walks the chain, does not have to.

What else survives the same way

Pages are the obvious case and rarely the one that causes trouble. The same mechanism keeps:

  • Comments and annotations that were removed, including the ones somebody wrote to a colleague before the file went outside.
  • Form field values from earlier fills, which is how a form template can arrive carrying the previous applicant's details.
  • The earlier state of anything that was edited: a figure, a date, a bank account number, a name.
  • Redactions applied as black rectangles. A rectangle drawn over text is an object on top of the text, not a removal of it, and in an incrementally saved file the pre-redaction version may be present twice over. This is the mechanism behind a long run of published-document embarrassments.

How to find out what is in a file you have

  1. Look at it. STRATA finds every version boundary in the file and, for each consecutive pair, compares the document properties, the fonts each page uses, the decoded page content, the annotations, the form values, the signatures and how many bytes each one actually covers, and renders every page at the same scale to compare them pixel against pixel. It runs in the tab; the file is not uploaded, which matters because the documents worth checking this way are contracts, disclosure bundles and statements.
  2. Check the size. A three-page PDF of two megabytes is telling you something. Not proof (images are large), but worth a look.
  3. Try the crude test. Open the file in a text editor and search for %%EOF. A PDF that has been saved once contains it once. Several occurrences means several saves, each with whatever it carried. This finds the common case and misses the rest, which is why it is third.

Getting the page genuinely out

The reliable answer is to produce a new file rather than to edit the old one, because a new file has no chain to carry.

  • Export or “save as” rather than save, where your editor offers it. Some editors rewrite the whole file on Save As and append on Save, and the difference is invisible in the interface.
  • Extract the pages you want into a fresh document. STAPLE builds a new PDF from the pages you choose, so what was not chosen was never in the output.
  • Flatten it. FLATTEN burns filled-in form fields into the page, so there is no field left holding a value.
  • For a real redaction, remove the content rather than the view of it. A box over text is not a redaction. Take the words out before the PDF is made, or cover the area in the picture and rebuild the page from pixels, which is what SCREENSHIELD does for a screenshot.

Then check the result with STRATA before it goes out, rather than assuming. That step takes thirty seconds and is the only part of this that verifies anything.

If you are on the receiving end

The same mechanism works in your favour when a document arrives and the question is what it used to say. A disclosure bundle, a contract that came back amended, a report whose figures moved: the earlier versions are frequently still in the file, along with who saved it and when, and nobody sending it had any idea.

Where the file matters, record what you received before you examine it. PROVENANCE takes a digest and a note of where it came from, so the copy you analysed can be shown later to be the copy you were given. LINEAGE does the equivalent job for a Word file, which keeps its own editing history by a different mechanism.

Questions people ask about What a PDF keeps after you delete a page

If I delete a page and save, is the page gone?

Not necessarily. Most editors save a PDF incrementally: the change is appended and the earlier bytes stay where they are, with a cross-reference section marking the old version as superseded. Readers honour that marking and hide the page; the bytes are still in the file. STRATA shows you whether they are, in your browser, without uploading anything.

Does using Save As instead of Save fix it?

Often, and not reliably. Some editors rewrite the whole file on Save As and append on Save, others append either way, and the interface does not tell you which. The dependable approach is to build a new document from the pages you want (STAPLE does that) and then check the result rather than assuming.

Is a black rectangle over text a redaction?

No. A rectangle is an object drawn on top of the text; the text is still there underneath and can be selected, copied or extracted. On an incrementally saved file the unredacted version may be present twice over. What a black box does not remove goes through it.

Why does the format allow this at all?

Because it is what makes a signed PDF possible. A signature covers a byte range, so later changes have to go after the signed bytes rather than rewriting them, which is also how STRATA can tell you that a signature covers fewer bytes than the file contains, meaning material was appended after it was signed.

How can I tell quickly whether a PDF has been saved more than once?

Search the raw file for %%EOF. One occurrence means one save. Several means several, each carrying whatever the document was at the time. It catches the common case and misses plenty, which is why it is a first look rather than an answer.

Does printing to PDF strip the history?

A fresh print-to-PDF produces a single-version file with nothing behind it, which is why it is often suggested. It also discards text selection quality, accessibility tags and bookmarks, and it does not help if the source document still contains what you were trying to remove. Take it out of the source first.

Related tools

More on this

All 10 guides under “Was this changed, and is it genuine?”. Part of the reading for law firms.

A letter, now and then

An occasional letter when there is something worth reading: the new guides and what changed in the tools. Never more than once a month and nothing else, and you can leave at any time on the unsubscribe page.