Redact a Bank Statement PDF Locally
Mask account numbers, routing codes, tax IDs, card digits and contact details with deterministic rules. Generate a tamper-evident SHA-256 receipt — all in this browser tab.
1. Load statement text
Paste statement text or CSV, upload a .txt / .csv file, or load a fictional sample.
Paste text or load a sample to begin.
2. Redaction rules and mask style
3. Redacted preview and hit audit
| Rule | Hits |
|---|
The audit table reports how many matches each rule found. It never echoes the matched plaintext.
4. SHA-256 audit receipt and downloads
The receipt hashes the redacted output with Web Crypto crypto.subtle.digest('SHA-256', ...) so you can prove which redacted file you reviewed.
Downloads and hashing run in this tab.
5. Automated PDF Black-Box Overlay & Residue Scanner (Zero-Upload)
Inspect an actual .pdf binary locally before emailing or uploading it to a lender. The byte parser decompresses streams in-browser to spot fake black rectangles over live BT...ET text, hidden OCR glyphs (3 Tr), unapplied annotations, form field values, and lingering /Info metadata.
| PDF Structural Layer Checked | Status | Measured Finding (Zero Plaintext Echo) | Required Remediation |
|---|---|---|---|
Content Streams (re f + BT..ET) |
FAIL | 1 black filled box co-occurs with readable text operators (2 PII matches) | Re-rasterize pages to clean bitmap or use true PDF redaction flattening |
Annotations & AcroForm (/Annots / /V) |
FAIL | 1 unapplied /FreeText annotation carrying masked routing digits |
Flatten and delete annotation dictionaries prior to external share |
Invisible OCR Layer (3 Tr) |
CLEAR | 0 hidden OCR text rendering operators detected | No OCR ghost layer found in scanned content streams |
| Document Info & XMP Metadata | FLAGGED | 1 /Author identity string retained inside trailer Info dict |
Strip /Author, /Title, and XMP packets on export |
Preloaded Fake Black-Box PDF Sample (browser-local binary inspector ready).
6. Why a black box over a PDF can fail (fake redaction self-check)
Text layer still holds the original characters
Drawing a black rectangle only hides pixels. PDF readers can still select, copy and search the underlying text unless the text layer itself is removed or sanitized.
Glyph stream can be reconstructed
The glyph stream maps characters to positions. Even if text is hidden, the mapping can expose what was once visible.
Metadata may retain author, title or account hints
Document properties, producer strings and embedded names can survive visual redaction and leak context.
Annotations can cover but not remove content
A filled annotation sits on top. Removing the annotation restores the content underneath.
Exported text files need the same review
After redaction, extract the text again and run this checker. If sensitive values reappear, the source PDF needs deeper sanitization.
You have reviewed 0 of 5 fake-redaction risks.
Frequently asked questions
Does redaction happen on a server?
No. All matching, masking and hashing run in this browser tab with Web Crypto. The statement is never uploaded.
Why can a black box over a PDF still leak?
A black rectangle only hides pixels. The text layer, glyph stream and document metadata can still contain the original characters and be copied or searched.
What does the SHA-256 receipt prove?
It records the exact hash of the redacted output plus the rules and timestamp, so you can later prove which redacted file you reviewed.
Does the audit table show my sensitive values?
No. The audit only shows the number of hits per rule. It never echoes the matched plaintext.
What does a SAFE PDF scan result mean?
It means the scan found no residue in the structures it checked. The scanner does not analyze visible text baked into images or prove that a PDF is safe to share.