HomeRedaction Guides → Redact Dates of Birth

How to Redact Dates of Birth in a PDF

Dates of birth appear in HR records, court filings, medical documents, and public records. Target DOB labels and common date formats to avoid removing unrelated dates.

Important: PermanentRedaction permanently removes text from text-based PDFs. Scanned/image-only PDFs are not supported.
Quick notes
Tip: Many PDF editors can only mask text with black rectangles. Masking is not the same as permanently deleting text from the PDF layer.

Step-by-step

Step 1
Identify where dates of birth appear in the document (forms, intake sheets, identity records).
Step 2
Use a label-aware regex rule to target DOB fields.
See Example: DOB label + date
Regex
(?i)\b(?:dob|date\s*of\s*birth)\b\s*[:\-]?\s*(?:\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4})
Matches
  • DOB: 01/05/1982
  • Date of Birth 12-14-1991
Label-aware patterns help avoid removing other dates such as service dates or invoice dates.
Using regex rules in PermanentRedaction
PermanentRedaction supports deterministic redaction rules using regular expressions. Patterns like this can be applied across an entire document to permanently remove matching text.
Step 3
Preview matches across the document to confirm only DOB fields are captured.
Step 4
Export a final PDF with permanent removal.
Step 5
Verify the exported file using search and the verification report.

Common mistakes to avoid

Redacting every date
Many documents contain other dates such as filing or service dates.
Ignoring alternative formats
DOBs may appear in multiple formats within the same packet.
Skipping preview
Always preview matches before exporting the final PDF.

FAQ

Should I redact the entire date?
Many policies require removing the full DOB to avoid re-identification.
Do DOB formats vary?
Yes. Slashes, dashes, and written months are common.
Are scanned PDFs supported?
No. The PDF must contain a text layer.