PDF Tools

What Happens to a Digital Signature When You Edit a PDF

What Happens to a Digital Signature When You Edit a PDF

There are two very different things people mean by “a signed PDF.” One is a document with a picture of a signature on it — a scanned or photographed signature merged onto a page, which behaves like any other image and is unaffected by ordinary editing. The other is a genuinely digitally signed PDF, using cryptographic signing tied to a certificate, which is a fundamentally different thing and behaves very differently when the file is altered afterwards.

Why a genuine digital signature is fragile in a specific way

A cryptographic digital signature works by generating a unique value based on the exact content of the document at the moment it was signed. If even a single byte of that document changes afterwards — compression, adding a page, merging with another file, even some kinds of metadata changes — the document no longer matches what was originally signed, and the signature is flagged as invalid the next time someone checks it. This is by design: the whole point of a digital signature is to prove the document has not changed since signing, so any change, however small or well-intentioned, breaks that proof.

What commonly breaks a digital signature without anyone intending to

  • Compressing the file after it has been signed, even for a completely reasonable reason like fitting an upload limit.
  • Merging the signed document with other pages, even pages that are entirely separate from the signed content.
  • Converting the file to another format and back, which rebuilds the document from scratch rather than preserving the exact original bytes.
  • Some PDF viewers' own “save” or “print to PDF” actions, if used on an already-signed document.

How to tell if a PDF actually has a genuine digital signature

A visual signature image on a page does not, by itself, indicate a genuine cryptographic signature is present. Most PDF viewers show a specific signature panel or indicator, often near the top of the window, when a document contains an actual digital signature — this is different from simply seeing a signature-looking image within the page content. If you are not sure which kind of “signed” document you have, check for this dedicated indicator rather than assuming from appearance alone.

The right order of operations when both signing and other edits are needed

If a document needs both editing (merging, compressing, adding pages) and a genuine digital signature, do all of the editing first, finalise the document completely, and apply the digital signature last, as the very final step before the document is sent. Signing should be the last thing that happens to a document's content, not something done partway through a workflow that still has further changes ahead.

What to do if you need to compress a document that is already digitally signed

If a digitally signed document is too large and needs to be compressed, compressing it will invalidate the signature, so this is not a simple fix the way it would be for an unsigned file. The practical options are: go back to an unsigned version if one exists and compress that before it gets re-signed by whoever needs to sign it; or accept the file size and find another way to deliver it, such as a cloud link, that does not require altering the signed file at all.

Does this apply to a scanned signature merged onto a page?

No — a scanned or photographed signature that has been placed onto a page as an image, following the approach in our guide to combining a scanned signature page, is just image content like any other picture in the document. It carries no cryptographic verification and is not affected by later compression or merging the way a genuine digital signature is. It is a visual representation of a signature, not a technical proof of document integrity.

Checking a signature's validity before you rely on it

If you have received a document that is supposed to carry a valid digital signature and it matters that the signature is intact, check your PDF viewer's signature panel specifically, which will indicate whether the signature is still valid or has been invalidated by a change since signing. Do not assume validity just because the document looks normal and opens without any obvious error.

Frequently asked questions

Does opening and viewing a signed PDF ever break its signature?

No, simply opening and viewing a document does not alter its content; only an actual edit, save, or re-processing step can invalidate a signature.

Can I compress a signed PDF and then re-sign it afterwards?

Only if you or the original signer can re-apply a valid signature to the compressed version; the original signature cannot simply be carried over to altered content.

Does merging a signed page with unsigned pages break the signature on just that page, or the whole document?

The signature is tied to the document as signed; merging it into a different combined file generally invalidates that specific signature, since the surrounding document content has changed.

Is a scanned signature image less secure than a genuine digital signature?

They serve different purposes — a scanned image shows what a signature looks like but offers no cryptographic proof against tampering, while a genuine digital signature specifically provides that proof, at the cost of being fragile to any later edit.

Will every PDF viewer show me whether a signature is still valid?

Most current, mainstream PDF viewers do, though the exact presentation differs; if you are unsure, check your specific viewer's documentation for how it displays signature status.

Should I always sign a document last, after all other edits?

Yes, this is the safest general order when a document needs both editing and a genuine digital signature.

Are the editing tools here free either way?

Yes. No sign-up, no watermark, and files are removed from the server automatically about an hour after processing.

Related guides

← Back to all posts

Keep reading