Redact sensitive data before sharing PDFs
PDF Anonymizer scans your document for emails, phone numbers, NIK, NPWP, bank accounts and credit cards — then lets you drop permanent black redaction boxes over them. Everything runs in your browser. Your file never leaves your device.
How to use PDF Anonymizer
Five simple steps — your PDF is scanned and redacted entirely in your browser and never uploaded anywhere.
Load your PDF
Drop a PDF on the dropzone, or click to browse. The file is read into memory on your device — nothing is uploaded. The first page renders in the center viewer.
Review auto-detected items
The auto-detect panel scans every page for emails, Indonesian phone numbers, NIK, NPWP, bank accounts, credit cards and dates of birth. Toggle detectors on or off, and uncheck any item you want to keep visible.
Add manual redactions
Click-drag on the page to draw a black box over anything the auto-detect missed — signatures, photos, addresses, anything. Each rectangle is listed in the right panel and can be deleted individually.
Apply & export
Click "Apply redaction & export". pdf-lib draws filled black rectangles over every redaction area on every page and produces a new PDF — redacted-YYYYMMDD-HHMMSS.pdf — ready to download.
Flatten for max security
For highest security, open the exported PDF and use your browser's "Print to PDF" option. This flattens the layers so the underlying text cannot be recovered via OCR or copy/paste.
Smart auto-detect
Regex-based scanners for email, Indonesian phone (08xx, +62, 021), 16-digit NIK, NPWP, bank accounts near "rekening", and credit cards verified with the Luhn algorithm.
Manual redaction boxes
Click-drag anywhere on the rendered page to drop a black box. Useful for signatures, photos, addresses, or anything the auto-detect missed.
Truly private
Your PDF is processed entirely in your browser. It is never uploaded, never stored, never logged. Verify it yourself in the browser's Network tab.
Works Browser-based
Both pdf-lib and pdfjs-dist are bundled locally — no CDN required. After the first load, disconnect from the internet and keep redacting.
Page-by-page control
Prev / next / jump-to-page navigation, zoom in and out, per-page detection list, per-page clear button, and a global redaction list showing every box across the whole document.
Permanent black boxes
Exported PDFs have opaque black rectangles drawn over the redaction areas using pdf-lib. Combined with the print-to-PDF flatten step, the result is true burn-in redaction.
Frequently asked questions
No. PDF Anonymizer runs entirely in your browser. Your PDF is read into memory on your own device, scanned and redacted there, and the result is offered as a download — it never touches any server. Open your browser's DevTools → Network tab and you'll see no PDF data is sent anywhere while you work.
It catches the most common Indonesian PII patterns: emails, phone numbers (08xx, +62, 02x landlines), 16-digit NIK, NPWP, bank-account-like digit runs near "rekening"/"account" keywords, credit cards that pass the Luhn check, and dates of birth near "lahir"/"DOB". It does NOT detect names, home addresses, or photos — use the manual click-drag redaction for those.
The exported PDF has opaque black rectangles drawn on top of the redaction areas. Visually the content is fully covered. However, the underlying text is still present in the PDF data stream and may be extractable via OCR or copy/paste in some viewers. For maximum security, after exporting, open the file and use your browser's "Print to PDF" option — this flattens the layers and burns the black boxes permanently into the page, making the underlying text unrecoverable.
Yes — the manual click-drag redaction works on any rendered page, including scanned image-only PDFs. However, auto-detect relies on the PDF's text layer, so it will not find sensitive data in pure-image scans. Use the manual redaction tool to draw black boxes over the visible text in the scan.
Every redaction is listed in the right sidebar with its page number, size and position. Click the trash icon next to any item to delete it. You can also clear all redactions on the current page, or clear every redaction in the document, with the two buttons at the bottom of the sidebar.
If the PDF requires a password to open, the app cannot read it. Remove the password first (e.g. open in your PDF reader, then "Print to PDF" without the password) and load the unprotected copy. PDFs with owner-password restrictions but no open password usually work.
There is no artificial limit. The only constraint is your device's memory — both pdfjs (for rendering) and pdf-lib (for export) keep the document in RAM. For most devices, PDFs up to a few hundred MB and a few thousand pages work fine. Very large files may slow down on low-memory devices.
Any modern browser released in the last few years: Chrome 90+, Firefox 88+, Safari 14+, Edge 90+, and equivalent mobile browsers. Internet Explorer is not supported.