Obvious content to redact: names, addresses, account numbers, social security numbers, medical information, and any text the document explicitly requires to be removed before release.
Less obvious content that is frequently missed:
Images containing text — If a page contains a photograph or scanned image that includes sensitive information, the image itself must be redacted (the pixel region overwritten), not just a text overlay above it. PDFs with embedded images store the original image data regardless of any text layer on top.
Metadata referencing redacted content —
PDF metadata (XMP and Document Information Dictionary) may contain the title, author, or keywords that include sensitive information. A document titled "Re: John Smith Drug Test Results" reveals a name in its metadata even if the body text has been redacted.
Bookmarks and annotations — Bookmarks that quote redacted text, sticky note annotations containing the sensitive content, and form field values that reference it may all remain in the file after content-stream redaction.
OCR text layers on scanned documents — A
scanned PDF with an
OCR text layer has two representations of its content: the image pixels and the invisible text stream. Redacting the image pixels without also removing the corresponding OCR text layer entries leaves the text extractable.
Embedded attachments — PDFs can contain embedded files (via PDF/A-3 attachment mechanisms or general /EmbeddedFile objects). If these attachments contain the sensitive information, redacting the parent PDF body leaves the data present in the attachments.