Home › Blog › Redacting a Signed PDF

Redacting a Digitally Signed PDF: Why It Breaks the Signature (and What to Do Instead)

Redacting a digitally signed PDF invalidates the signature. That is not a bug in a particular tool — it is how PDF digital signatures are designed to work under ISO 32000-2 and the PAdES standard (ETSI EN 319 142): the signature is a cryptographic hash over the exact bytes present when it was applied, so changing so much as one pixel behind a redaction box breaks it. If you need both a clean release copy and a document that still verifies, the redaction has to happen before the signing, not after.

Key takeaways

  • A PDF digital signature is a hash over a byte range of the file. Any content change after signing — including redaction — makes that hash no longer match, so the signature shows as invalid.
  • This is true whether you draw a vector box, delete the underlying text, or rasterize the page. Rasterizing is still the correct way to redact; it just cannot also preserve a prior signature.
  • A "certification" signature can use DocMDP to pre-authorize form filling, digital signing, or annotations after the fact — but not content edits like redaction. No DocMDP level covers redaction.
  • The reliable order is: decide who needs to sign what and when, apply redactions first, then have the appropriate party sign the redacted version. The original signed document stays in the file of record.
  • Redacting locally, in your own browser, means the file behind a signature never has to pass through a third-party server just to have a rectangle drawn on it.

What does a PDF digital signature actually sign?

A PDF digital signature is not a picture of a signature pasted onto a page — that's a stamp or an image, and it proves nothing. A real digital signature, as defined in ISO 32000-2 (the ISO standard for PDF 2.0) and profiled for European use by ETSI's PAdES standard (EN 319 142), works by taking a cryptographic hash of a specific byte range of the file and encrypting that hash with the signer's private key. The signature dictionary records exactly which bytes were covered.

When a viewer checks the signature, it recomputes the hash over that same byte range and compares it to the decrypted value. If they match, two things are confirmed: the file has not changed since signing, and the signature came from whoever holds the matching private key (assuming the certificate chain checks out).

A PDF digital signature is a cryptographic hash over a defined byte range of the file (ISO 32000-2), not an image. Verification recomputes that hash and compares it to the signed value — any difference fails the check.

This is fundamentally different from an "electronic signature" in the everyday sense — a typed name, a scanned wet-ink signature, or a click-to-sign checkbox. Those can be embedded as ordinary page content with no cryptography behind them at all. A document can look signed and not be digitally signed in the ISO 32000-2 sense; only the latter breaks when you redact it, because only the latter is actually bound to the file's bytes.

Why does redacting a signed PDF invalidate the signature?

Because redaction is a content change, and the signature's hash covers content. It does not matter which redaction technique you use:

All three modify bytes the signature covers, so all three produce the same result in a viewer: a warning that the document has been altered since it was signed, and a signature marked invalid. There is no redaction method — vector or raster — that can remove content and leave a prior full-document signature intact, because "leave the signature intact" and "remove this content" are contradictory requirements on the same bytes.

There is no way to both remove content from a signed PDF and keep its original signature valid. The two operations act on the same bytes by definition. Any tool claiming otherwise is either not truly redacting, or not truly re-verifying the signature.

Can a certification signature allow changes? What DocMDP does and doesn't cover

PDF distinguishes two kinds of signature. An approval signature is an ordinary signature — anyone can add one, and multiple people can sign in sequence. A certification signature is special: it must be the first signature applied to the document, and it can carry a DocMDP (Document Modification Detection and Prevention) permission that pre-authorizes specific kinds of later changes without invalidating itself.

ISO 32000-2 defines three DocMDP permission levels:

LevelWhat it permits after certification
P=1No changes at all. Any modification invalidates the signature (aside from adding a timestamp or revocation data to the document's own security store).
P=2Filling in form fields, and adding further signatures — nothing else.
P=3Everything in P=2, plus creating, deleting, or modifying annotations (comments, highlights, sticky notes).

Notice what's missing: none of the three levels authorizes deleting or replacing page content. Filling a form field or adding a comment does not touch the existing content stream; redacting does. So even the most permissive certification signature (P=3) does not, and cannot, survive a redaction pass — DocMDP was designed to let people fill out and countersign a certified form, not to let anyone quietly cut content out of it later while the original certification still reads as valid.

In practice, most PDF viewers implement this conservatively too: Adobe Acrobat, for example, treats form-filling and annotation as the only changes a certified document tolerates, and flags essentially any other edit — redaction very much included — as breaking the certification.

Does rasterizing a signed PDF avoid the problem?

No — and it shouldn't try to. Rasterization is still the right way to redact a page, because it is the only method that reliably destroys the text layer, hidden objects, and anything sitting behind the visible redaction box. But rasterizing a signed page is exactly as much of a content change as any other edit, so it invalidates the signature exactly the same way.

The one class of change that genuinely does not break a signature is adding data to the document's Document Security Store (DSS) or a document timestamp — infrastructure PAdES uses for long-term validation, added as an incremental update that ISO 32000-2 explicitly carves out as not counting as a modification. That carve-out exists to let a signature stay verifiable for years after the signing certificate expires. It has nothing to do with redacting page content, and no comparable carve-out exists for content edits.

The right order: redact first, then sign

Once you accept that redaction and signature preservation cannot both apply to the same signed bytes, the fix is a process fix, not a tooling fix:

  1. Work out who needs to see the signed original, and who needs the redacted copy. The party who is entitled to the full record (a court, a counterparty, an auditor) gets the originally signed file, untouched. Everyone else gets a separate, redacted copy.
  2. Redact before anyone signs, whenever the workflow allows it. If a contract, affidavit, or form is going to be shared with a third party in redacted form, prepare and finalize the redacted version first, then route it for signature. The resulting signature covers exactly the bytes the recipient will see — no conflict.
  3. If the document is already signed and must be redacted anyway, treat the redacted output as a new, unsigned copy — and have the correct party sign it again if a signature is still required on the released version. Keep the original signed file as your unaltered record of what was actually executed; the redacted copy is a derivative document with its own, later signature (or no signature, if none is required for that release).
  4. Never try to "fix" an invalidated signature after redacting. There is no legitimate way to restore validity to a signature over bytes that no longer exist. A tool that appears to do so is either not actually redacting the content or not actually re-checking the hash.

Special cases: court filings, notarized deeds, and long-term validation

A few contexts make this collide with a real deadline:

A practical workflow for a signed document that needs redaction

When you're handed an already-signed PDF and asked to release a redacted copy of it:

  1. Confirm the file is actually digitally signed, not just typed or image-stamped. Most PDF viewers show a signature panel; if there is no cryptographic signature to check, none of the above applies and you can redact normally.
  2. Keep the signed original untouched in your records. It remains the authoritative, verifiable copy.
  3. Work on a copy in a redaction tool that runs locally in your browser, so the signed file never has to be uploaded anywhere just to black a few lines out of it.
  4. Draw boxes over everything that must go, then export in Secure mode so the page is rasterized and the underlying text and any hidden objects are destroyed — not just visually covered.
  5. Remove metadata on export, since author and software fields can survive independently of the page content.
  6. Expect — and accept — that the redacted copy shows no valid signature. That's correct, not a defect. If the recipient needs the redacted copy signed, route it to the appropriate signer as a new document.
  7. Verify the result: open the exported file, select all, copy, and paste into a plain text editor. If any redacted word appears, the redaction failed regardless of what happened to the signature.

You can do this entire workflow with SladdPDF, a free browser-based redaction tool. Files are processed locally with JavaScript and WebAssembly and are never uploaded to a server — an advantage specifically for signed documents, where routing a file through a third-party redaction service adds an extra copy of a document whose integrity already matters enough that someone bothered to sign it.

Redact a signed PDF without uploading it anywhere

SladdPDF runs entirely in your browser — the file never leaves your device. Free with no page limit; Pro unlocks high-resolution 300 DPI export.

Redact a PDF now

Frequently asked questions

Will redacting a PDF always invalidate its digital signature?

Yes, if the PDF carries a real cryptographic digital signature (as defined in ISO 32000-2 / PAdES) rather than just a typed name or a scanned signature image. The signature is a hash over the file's bytes at signing time; redacting changes those bytes, so the hash no longer matches and the signature shows as invalid. This is true for vector redaction boxes, deleted text, and rasterized pages alike.

Does a certified PDF with DocMDP allow redaction without breaking the signature?

No. DocMDP's three permission levels allow, at most, form filling, further signing, and annotations (comments, highlights). None of the levels covers deleting or replacing page content, which is what redaction does. Even the most permissive certification (P=3) is invalidated by a redaction pass.

What should I do if I need to release a redacted copy of a signed document?

Keep the originally signed file as your unaltered record. Redact a separate copy — ideally before anyone signs it, if the workflow allows sequencing it that way. If the redacted copy still needs a signature for its own purposes, have the appropriate party sign that copy as a new document; don't expect the original signature to carry over.

If I rasterize a signed page instead of drawing a box, does the signature survive?

No. Rasterizing a page is still a content change — arguably the largest one, since it replaces the whole page with a new image — so it invalidates the signature exactly like any other redaction method. Rasterizing remains the correct technique for actually destroying redacted content; it just cannot also preserve a prior signature, because nothing can.

Is there a PDF feature that lets you add data to a signed file without breaking the signature?

Yes, but it doesn't help with redaction. ISO 32000-2 and PAdES allow incremental updates that add only a document timestamp or Document Security Store (DSS) data — used for long-term signature validation — without counting as a modification. That carve-out is scoped narrowly to validation infrastructure, not to editing or removing page content.

Sources
  1. ISO 32000-2:2020 — Document management — Portable document format — Part 2: PDF 2.0 (ISO Online Browsing Platform)
  2. ETSI EN 319 142-1 — Electronic Signatures and Infrastructures (ESI); PAdES digital signatures; Part 1: Building blocks and PAdES baseline signatures
  3. Library of Congress — Sustainability of Digital Formats: PDF 2.0, ISO 32000-2
  4. Adobe Acrobat — Permissions and limitations of signed PDFs
  5. Adobe Acrobat — About certificate-based signatures and DocMDP