How to check a PDF comment after redacting its page
3 November 2026
A reviewer can cover words on a page and still send a comment that repeats those words. Give the annotation its own inspection row. On a harmless test document, use a distinctive marker in a comment and record whether the saved candidate still contains it. A clean result when extracting page text does not answer that question.
Compare the saved files at the point where their results diverge
The inspection log below concerns a synthetic PDF and four derivatives. The recorded booleans refer to named markers, and the count refers to known plaintext tokens found in the decoded objects examined. The hashes identify the exact files tested. The final column gives a proposed decision from those observations. Redaction results
| File Identifier | Native Text Token | OCR Text Token | Annotation Token (annotation_token_present) | Metadata Token | Decoded Object Plaintext Tokens | SHA-256 Checksum | Decision for this marker check |
|---|---|---|---|---|---|---|---|
synthetic-original.pdf | True | True | True | True | 3 | 7d6a105b288e7fbc9af001dd3824e54ba08894364d0ec0b42b095c70391e7af3 | Hold. Unredacted baseline file. |
overlay-only.pdf | True | True | True | True | 3 | efe1e83444adb194d5a932039a69380606132c9d14fd0f96d39247e04a06280d | Hold. Visual box added; text and annotations intact. |
page-redacted-only.pdf | False | False | True | True | 3 | 50e8a1b15c3fe701afce2c6a4d17dfa8c74bf0e054f43aa1ffe004abfc75c477 | Hold. Neither named page-text token was found, but the named comment token remains. |
cleanup-attempt.pdf | False | False | False | True | 1 | dd98a0575db9726694d98440cf67dc4a0d5b680836ca45567634deff2385aa38 | Hold. The known annotation marker was absent, but the metadata check still found its marker. |
release-cleaned.pdf | False | False | False | False | 0 | 7701d8cc83903c538e79d7dd66eda4aab128eff176506a8a839cb29538dd6ee7 | The known markers were absent in the tested locations. Apply the remaining release checks. |
Start with the third row. In page-redacted-only.pdf the two page-text checks are negative, but the comment check is positive. The annotation itself is enough to hold the copy. In cleanup-attempt.pdf the annotation marker is absent while the metadata marker remains. Those two rows tell a release reviewer why a single “redaction passed” field loses useful information. Redaction results
Set up a review someone else can repeat
- Identify a harmless test comment and its page. Verify that the annotation inspector can find the marker on the original before interpreting any negative result.
- Apply the intended redaction, save to a separate file and open the candidate in an authorised viewer. Inspect the comments pane and read the annotation data using the approved inspection method. Record the page, marker identifier, viewer or tool and outcome.
- If an annotation still contains the marker, preserve the failing copy and refer it to the person responsible for the redaction. If permitted comments must remain, record which are authorised. Removing every comment could discard information the recipient is meant to have.
- Once a corrected candidate exists, repeat the check using its new digest. Verify the named page-text, annotation and other relevant locations separately. If part of the file could not be inspected, record that alongside the known results.
The reviewer can now point to a specific file, a specific comment check and the result on reinspection. A hash identifies the tested bytes. The business decision to release those bytes still depends on the whole release checklist and approval for the intended recipient. Redaction results
Part of the How to redact a PDF properly guide.
Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).
