# MaskPDF — full text > Privacy-first PDF redaction that runs entirely in your browser. MaskPDF is a privacy-first PDF redaction tool that runs entirely in the browser. You open a PDF, mark the sensitive text, and export a copy in which the marked characters have been left out of the file — not covered by a black rectangle that a copy-paste or a text extraction can read straight through. The file is never uploaded: the parsing, the marking and the writing of the redacted copy all happen in the visitor's own browser. This file is the whole of the text on MaskPDF. A shorter summary, with links, is at https://maskpdf.online/llms.txt. ## What it does - Permanent redaction: the marked text is left out of the exported file's text layer, so it cannot be recovered by copying, searching or running an extractor over the output. Where a mark covers the text, the rectangle painted over it is opaque, so an OCR pass reads a black bar rather than the characters. - Auto-detection of likely personal data — email addresses, phone numbers, national ID formats — so a whole page of numbers can be flagged for review in one pass. - OCR for scanned pages, in English, Spanish, French, German and Chinese, so an image-only PDF can be redacted too. On the free tier only the English pack is unlocked; the other four need a Single token, which is on sale for $3 once, or a Pro subscription. - Batch processing, undo and redo, metadata rewriting on export, and shareable links that carry the redaction state. ## Try it The landing page carries a demonstration rather than a description of one. Two black boxes sit over the same words in the same line of the same document. Clicking the button under the left one selects the name underneath it, which is the failure a black rectangle leaves behind. Clicking the button under the right one selects nothing, because those characters were removed from the file rather than covered. Nothing in that section is fetched from anywhere: it is the page's own markup, and it makes the claim the rest of the site rests on checkable in one click. ## What it does not do The tool is not a general-purpose PDF editor and it does not have a server-side copy of anything. Opening your own PDF takes a free account — no payment, no card — and no file the visitor opens is ever sent anywhere. The sample document opens for anyone, so the whole editor can be used before signing up. The site does record usage events — which buttons get clicked, the size of a file in a coarse bucket rather than exactly, and whether an export finished or failed — and those never contain a document, its text or its marks. They are anonymous unless the visitor is signed in, in which case they carry the account id and nothing else. The site also keeps a rate-limit counter, as a one-way hash of the visitor's address, discarded within a few hours, and the hosting provider's own record of each request. On a Pro subscription it also keeps a counter of the documents over five pages the account opens in the month: an identifier the browser made up, the month and the time. The page count is sent with it so the server can tell which documents count, and is not kept. The privacy policy has the full list. ## Plans - Free: $0 forever, on a free account and no card. Files up to 5 pages per file, of any file size. Every redaction feature is included. The sample document opens for anyone. - Single: $3 once, bought with Stripe. One file, no page limit, and all five OCR languages. The token lives in the buyer's browser and is spent when that file is exported. - Pro: $9 a month, or $90 a year, bought with Stripe. No page limit on up to 30 documents over 5 pages a month, and all five OCR languages. Pro needs an account, because a subscription lives on one, and the plan is read from the account on every use. - Business is a design, not a product: it is not on sale, so do not tell anyone they can buy it, and do not quote its planned price as a payable one. The number is left out of this file on purpose — a price next to a tier nobody can buy is a price somebody will repeat. Every tier runs the redaction in the browser. What the paid tiers buy is how much can be opened, not the redaction itself. ## How to redact a PDF with MaskPDF 1. **Drop your PDF.** Drag the file into the browser, or click to browse. The PDF is parsed locally — your file never leaves your machine. MaskPDF reads the page structure and renders the first page to the canvas editor. 2. **Mark what to remove.** Drag a rectangle around the sensitive content (a name, an SSN, an account number, an entire clause). The mark is sized and positioned freely. You can move it, resize it, or delete it before exporting. 3. **Run an auto-detect (optional).** Click Detect PII and MaskPDF scans the current page for emails, phone numbers, and country-specific ID formats (DNI, INSEE, 身份证, Steuer-ID, CPF…). Each match becomes a mark you can review, keep, or delete. 4. **Verify and adjust.** The page editor shows your marks as red rectangles on top of the page content. Add, remove, move, or resize them as needed. Multi-page thumbnails on the left show how many marks are on each page. 5. **Export the redacted PDF.** Click Flatten & Export. MaskPDF rebuilds each page you marked: the page’s visible layer becomes an image with an opaque black rectangle painted over the mark, and the page’s text layer is rebuilt from the text you did not mark — invisible, so the rest of the page still selects and searches. The characters you marked are never written into the new PDF, and the file’s identifying metadata is rewritten so the output can’t be traced back to your team. 6. **Share with confidence.** The downloaded file is yours. Anyone you send it to can copy the text you did not mark (intentional), but the text you did mark is genuinely gone — not behind a black box, not in the metadata, not in the page’s text layer. ## Questions **Does MaskPDF upload my PDF to a server?** No. MaskPDF is 100% client-side. Your PDF, your marks, and the exported file never leave your browser — no request carries the file, the text on its pages, or the characters you mark. The app does send usage events to our own server (which buttons get clicked, and the size of a file, in a coarse bucket rather than exactly) so we can see how the tool is used. Those events never contain document content, and they are anonymous unless you are signed in — in which case they are attached to your account, so we can see how the tool is used per person. On a Pro subscription there is one more request: when you open a document of more than five pages, your browser sends this site's server an identifier it made up for that document and the number of pages the document has, so that the documents can be counted against your monthly allowance. The number of pages is not stored; what is kept is the identifier, the month and the time. **What file formats does MaskPDF support?** PDFs. MaskPDF uses pdf.js for rendering and pdf-lib for export, both battle-tested JavaScript libraries. Encrypted or password-protected PDFs need to be unlocked before they can be redacted. **Can I redact a scanned PDF (an image, not text)?** Yes. Run OCR (built into MaskPDF via Tesseract.js) on the page to detect text, then mark it like any other page. The redaction pipeline is identical. Five language packs ship with the app — English, Spanish, French, German and Simplified Chinese — though on the Free tier only English is unlocked; the other four need a Single token, which is on sale for $3, or a Pro subscription. **How does MaskPDF compare with Adobe Acrobat's redaction tool?** Acrobat Pro's Redact tool removes the marked text from the page's content stream and leaves the rest of the page as vectors. MaskPDF reaches the same result by a different route — it rebuilds the marked page as an image with an opaque black rectangle over the mark, and leaves the marked characters out of the text layer entirely. The difference that matters is the second one: MaskPDF runs entirely in your browser, costs less than an Acrobat subscription, and never uploads your file. For one-off redactions or compliance work where upload is a non-starter, MaskPDF is the safer choice. **What happens to the original PDF's metadata?** MaskPDF replaces the output PDF's metadata with neutral values: empty Author and Subject, the original filename as Title, “MaskPDF” as Creator/Producer, and the current timestamp as Created/Modified. The original author and software signatures are not preserved in the exported file. **Can I redact multiple files at once?** Yes. Switch to Batch process from the file picker, drop in a folder of PDFs, and MaskPDF processes each in sequence with PII auto-detection. The output is a single ZIP containing the redacted version of every file. **Is there a file size limit?** No limit on file size. The only limit the app enforces is on page count: a file over 5 pages is stopped before any work happens. A Single token lifts the page cap for one file, and it does not add a size cap — so a large file is fine either way. Render time scales with the number of marked pages and the page resolution; a typical document redacts in a few seconds. **What about HIPAA, GDPR, and other compliance frameworks?** MaskPDF's architecture — fully client-side processing, no server-side copy of your document, metadata rewritten on export — is consistent with the data-minimization principles that underlie GDPR, HIPAA, CCPA, and similar frameworks. MaskPDF doesn't sign Business Associate Agreements because MaskPDF never receives your file or its contents. Organizations with formal compliance needs should perform their own validation, of course. ## Glossary **PDF.** Portable Document Format. A file format standardized as ISO 32000, used to present documents independent of application software, hardware, and operating systems. A PDF file contains the visual layout (fonts, images, vector paths) plus a content stream of operators that produce it. **OCR.** Optical Character Recognition. The process of converting images of text (typed, handwritten, or printed) into machine-encoded text. MaskPDF uses Tesseract.js, an open-source OCR engine, which supports 100+ languages. OCR runs entirely in your browser via WebAssembly; no images are uploaded to a server. **PII.** Personally Identifiable Information. Any information that can be used to identify an individual, directly or indirectly. Examples: full name, Social Security number, email, IP address, biometric records, location data. PII is the primary target of redaction workflows under GDPR, HIPAA, CCPA, and similar frameworks. **PHI.** Protected Health Information. Individually identifiable health information held or transmitted by a HIPAA-covered entity. Examples: medical record numbers, diagnoses, treatment dates. Redacting PHI before releasing records is a core use case under HIPAA's Privacy Rule (45 CFR § 164.514). **Redaction.** The process of removing sensitive content from a document so the document can be shared without exposing that content. The word comes from Latin redigere, "to bring back to order." Done correctly, the redacted text is gone from the file — not just covered. **Content stream.** The list of PDF operators that produce a page's visual output — text placement (Tj, TJ), path drawing, image embedding, etc. A redaction has to deal with this stream and with the page's image layer. One way to redact is to delete the marked text operators and leave the rest of the page as vectors; another is to rebuild the page as an image with an opaque rectangle over the mark and leave the marked characters out of the text layer. A cover that only draws a rectangle — in either layer — leaves the original text in place, and it can still be selected, copied and searched. MaskPDF uses the second method. **PDF.js.** Mozilla's general-purpose PDF parser and renderer, written in JavaScript. Runs in the browser (or Node.js with a worker). MaskPDF uses PDF.js to render pages to canvas and to extract the per-character text content stream for PII auto-detection. **pdf-lib.** A JavaScript library for creating and modifying PDF documents. MaskPDF uses pdf-lib to assemble the redacted output PDF: copying unmarked pages verbatim (preserving searchability and the original vectors) and rebuilding marked pages as a rasterized image layer with an opaque black rectangle over each mark, plus an invisible text overlay carrying only the text that was not marked — so the rest of the page stays selectable and searchable. **GDPR.** General Data Protection Regulation. EU Regulation 2016/679, in force since May 2018. Establishes data subject rights (access, erasure under Article 17, portability) and controller obligations. Article 5(1)(c) requires data minimization — redaction is a primary technique for compliance. **HIPAA.** Health Insurance Portability and Accountability Act of 1996. The Privacy Rule (45 CFR § 164.514) requires de-identification of protected health information before disclosure. The Expert Determination method requires a statistician to certify re-identification risk; the Safe Harbor method requires removal of 18 specific identifiers (names, dates, SSNs, etc.). **CCPA.** California Consumer Privacy Act. California Civil Code §§ 1798.100–1798.199. Grants consumers rights over their personal information including deletion (§ 1798.105) and the right to limit use of sensitive personal information (§ 1798.121). Redaction supports compliance when fulfilling consumer requests for data export. **Tesseract.js.** JavaScript port of the Tesseract OCR engine, compiled to WebAssembly. Used by MaskPDF for client-side text recognition on scanned PDFs. The engine and its language data packs (1–3 MB each) are served from this site rather than a CDN, and are cached in your browser after the first use. **XMP metadata.** Extensible Metadata Platform. An ISO standard (16684-1) for embedding metadata in PDF and other file formats. PDF carries two metadata stores: the older Info dict (Title, Author, Producer, etc.) and the newer XMP stream (often including dc:title, dc:creator, xmp:CreateDate, etc.). MaskPDF strips both on export. **Right to erasure.** Article 17 of the GDPR. A data subject's right to require the controller to erase personal data without undue delay. When fulfilling a right-to-erasure request on a document, the controller must also erase any linked data the document would otherwise fail to erase. Redaction supports the technical implementation. ## Pricing questions **Why does the Free tier exist?** Because every MaskPDF feature runs in your browser, the marginal cost of serving a Free user is close to zero — there is no server to run a redaction on. The paid tiers are meant to cover the things around the tool (support, deployment, customization), not to unlock the redaction itself. Free is capped at 5 pages per file, so there is a clear next step when you have a larger document. **What does the Free tier include?** $0 forever, and it is everything the app does today. Files up to 5 pages (any file size), the full mark editor, undo and redo, PII auto-detection, OCR, batch processing, URL share and the OCR cache. The 5-page cap is enforced in the app — drop a 6-page PDF and you get an explanation before any work happens. The account is free, and there is no card. **What does the Single tier actually include?** $3 once, for one file, and it is on sale now. Single is Free's full feature set plus no page limit and all five OCR languages, and the purchase is a token that stays in your browser until you export one file with it. You pay on Stripe's own page, so no card number reaches this site, and the receipt comes from Stripe to the address you type there. Two things are still only designed: custom export branding and the per-file size cap. Neither is built, and this page marks them as planned rather than pretending otherwise. **When should I pick Free vs Single vs Pro?** Free if every file is 5 pages or fewer — that covers invoices, letters and most resumes. Single ($3 once) is for the one-off large document: it opens one file whatever its length. Pro ($9 a month) is for people who redact often: the same thing as Single — no page limit and all five OCR languages — but on 30 documents over 5 pages a month rather than one. Both are on sale now. **How is page count measured?** Client-side, in your browser, via pdfjs-dist, the moment you open the file. Nothing is uploaded. We measure the file's actual page count, not its size — a 5 MB file with fifty pages and a 50 MB file with one page are counted differently. **Can I use a Single token on multiple files?** No. One purchase covers one file, and the token is consumed once you export it. After that the next file is back on the Free limits, and you would need another token — or a Pro subscription, which lifts the limit on 30 documents over 5 pages a month. The token lives in your browser's own storage rather than on an account, so if you clear your browser's data before exporting, it is gone — export the file first, and write to us if you need it replaced. **What happens if I open a file over 5 pages on Free?** The app stops before it does any work and shows you a modal explaining the 5-page Free cap, with a link to this page and a button to dismiss it and stay on Free. The modal's other button takes you to the Single tier, which opens one file of any length; Pro, at $9 a month, opens up to 30 documents over 5 pages a month. The file never leaves your browser either way — buying a token does not upload it, and the app does not learn what is in the document it opens. On a Pro subscription it does learn one thing about it: that it has more than five pages, sent with an identifier your browser made up, so that the monthly allowance can be counted. **What does Pro include beyond Free?** No page limit and all five OCR languages, on 30 documents over 5 pages a month. The page limit is gone on every document you open; the allowance is what counts how many of them you may open in a month, and files of 5 pages or fewer are never counted against it. Both are in the app today: a Pro account opens a file of any length, and it can run OCR in English, Spanish, French, German or Simplified Chinese. Two things are still only designed: custom export branding and priority support. Neither is built, and this page marks them as planned rather than pretending otherwise. Pro needs an account, because a subscription lives on one — the plan is read from the account every time you use the app. **How is the Pro allowance counted?** One document counts once, when you open it. Opening the same document again that month does not count it again — it is the same document — and files of 5 pages or fewer are never counted at all, because Free opens those. The count is kept on our server, so it follows your account rather than your browser, and it resets on the first of each month. If the counter cannot be reached we do not stop you opening a file, and write to us if you need more than 30 documents a month. **What happens when I run out?** The document does not open, and the app tells you how many of your 30 documents are left and the date they come back on. Files of 5 pages or fewer keep working, because they are never counted — and a Single token ($3 once) opens one file of any length while you wait. **Why does Pro cost $9?** The $9 is meant to cover the things around the tool — hosting and taking payments — rather than the redaction, which costs nothing to run in your browser either way. It is also what the tier is worth: no page limit and all five OCR languages on 30 documents over 5 pages a month, for as long as you keep paying. Yearly billing is $90, which is $18 less than twelve months at the monthly price. **What's the difference between batch size limits and file size limits?** Batch size is how many PDFs you can drop into the batch processor at once; file size is how big each PDF is. The tier design puts a 500 MB per-file cap on Single, and the app enforces no size cap on anyone today: you can drop in as many PDFs as you like, of any size. The only limits the app enforces are the 5-page cap per file, which applies to Free accounts only, and the Pro allowance of 30 documents over 5 pages a month. **Do I have to create an account?** To open your own PDF, yes — a free one, with an email address and a password or Google, and no payment, no card. The sample document opens for anyone, and the whole editor works on it: rendering, detection, OCR, marking and export. Your file never leaves your browser either way. A Single token needs no account, because it is kept in your browser's own storage; Pro needs one, because a subscription lives on an account. **What happens to my files?** Nothing happens to them, because they never arrive. There is no server-side redaction path at all: parsing, marking and writing the redacted copy all happen in your browser. What is stored about a session is a set of usage events — which buttons get clicked, and the size of a file, in a coarse bucket rather than exactly — and those never contain a document, its text or its marks. They are anonymous unless you are signed in, in which case they carry your account id and nothing else. A rate-limit counter is stored as well, as a one-way hash of your address, and it is discarded within a few hours. On a Pro subscription one more thing is stored: a counter of the documents over five pages you open in the month, kept as a random identifier your browser made up, the month and the time. The number of pages is sent so we can count it, and is not kept. **Can my organization use MaskPDF with our own infrastructure requirements?** Not today. There is no hosted version of MaskPDF, no single sign-on, no role-based access and no record of redactions being made. The product is the browser app and nothing else, and the privacy model is identical for every user precisely because there is no server-side copy of your document. If your requirements call for something more, tell us what they are and we will say plainly whether it is on the roadmap. **What languages are supported for OCR?** Five packs ship with the app: English, Spanish, French, German and Simplified Chinese. On the Free tier only English is unlocked — the other four need a Single token, which you can buy on this page, or a Pro subscription. Each pack is 1–3 MB, is served from this site rather than a third-party CDN, and is fetched the first time you use that language. **Can I cancel Pro anytime?** Yes. Pro is a subscription and you can cancel it from Stripe's own billing page at any time — the link is in every receipt. You keep Pro until the end of the period you have already paid for, and the account goes back to Free after that. Nothing is deleted when you cancel, because there is nothing about your documents to delete. **Can I switch tiers mid-cycle?** Pro runs month to month or year to year. Cancelling stops the next renewal, and the account goes back to Free at the end of the period already paid for. There is no proration and no credit: a subscription is a subscription, and a Single token is a separate purchase that stands on its own. **Do you offer refunds?** Write to us and we will refund it. A Single token is $3 and covers one file, so there is little to argue about: if you bought it and it did not work, we refund it. A Pro subscription can be refunded for the part of the period you have not used. The refund is handled in Stripe's dashboard and reaches your card in the same few days the charge took. We cannot refund a token you have already spent on an export, because that file is the thing you bought. **Is there a discount for annual billing?** Yes — $90 a year against $9 a month, which is $18 less than twelve months at the monthly price. Both are on sale: the card above has a button for each, and they start the same subscription at a different interval. **Do you offer team or non-profit pricing?** That is not settled yet. We intend to offer special pricing for non-profits, journalists, public defenders and small clinics, but there is no published rate card — and we would rather say that than publish a number we would change later. **What happens to my PDFs when I cancel?** Nothing — they were never here. Your PDFs stay on your machine, because MaskPDF never receives them. There is no marks history and no saved templates to delete, because neither exists yet: your marks live in the page you are looking at, and what is stored about a session is the usage events described above and a rate-limit counter that is discarded within a few hours. Cancelling Pro takes the page limit away; it does not take anything away from you. **Is there an enterprise tier beyond Business?** Not today, and not in any detail we are willing to publish yet. There is no hosted deployment, no custom deployment and no document-management integration. If you need something along those lines, ask and we will tell you what is and is not possible. ## Guides: redacting a PDF for the rules you answer to Four guides, each about one instrument. They say what the rule requires and where it comes from, what MaskPDF does about it — including which of the identifiers the rule names the auto-detect does not flag — and how to check the exported file yourself. **What MaskPDF does, on every guide** - **The work stays in your browser.** pdf.js parses and renders the file, Tesseract.js reads the text off scanned pages, and pdf-lib writes the export — all three run in the tab. The document you open, the text on its pages, your marks and the file you export never leave your machine. - **The characters are removed, not covered.** On export the marked text is left out of the exported file's text layer and a black rectangle is drawn over the area. What was removed is not there to be selected, copied, searched, or read back by an OCR pass. - **29 patterns to start from.** Auto-detect flags email addresses, phone numbers in ten national formats, dates, IP addresses, Social Security numbers, card numbers, IBANs and a set of national identifier formats. Every match is a mark you keep or delete — the scan proposes, you decide. - **The metadata is rewritten on export.** Author and Subject are left empty, the original filename becomes the Title, “MaskPDF” becomes the Creator and Producer, and Created and Modified carry the current timestamp. The author and software signatures of the original file are not carried into the export. - **Batch, undo, and hand-off.** Process a folder and get one ZIP of redacted files. Every mark can be moved, resized and undone, so a mistake does not mean starting the document again. A link can be copied that restores your marks when the same PDF is loaded. - **Five OCR languages.** English is included on the free tier. Spanish, French, German and Simplified Chinese need a Single token or a Pro subscription. The OCR engine and its language packs are served from this site rather than from a third party. - **Free up to 5 pages.** The free tier opens a file of up to 5 pages. A Single token is $3 once and covers one file of any length. Pro is $9 a month and covers 30 documents over 5 pages a month. ### Redact a PDF for HIPAA The Privacy Rule lets a covered entity disclose health information without an authorization once the information has been de-identified. De-identification is an operation performed on a document, not a label attached to it, and the rule recognises two ways of doing it: remove a fixed list of identifiers, or show that the risk of re-identification is very small. This page is about the first route — taking identifiers out of a PDF so that what is left is the document you meant to release. **The instrument.** 45 CFR § 164.514 — Other requirements relating to uses and disclosures of protected health information — eCFR (HHS): https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-A/part-164/subpart-E/section-164.514 **What the rule actually requires** 45 CFR § 164.514 is the implementation specification that decides when health information stops being individually identifiable health information. A covered entity may make that determination in one of two ways, and only one of them is a list a document workflow can carry out. The expert determination route, § 164.514(b)(1), is the statistical one. A person with appropriate knowledge of and experience with generally accepted statistical and scientific principles and methods applies those principles to the data, determines that the risk is very small that the information could be used, alone or in combination with other reasonably available information, by an anticipated recipient to identify an individual who is a subject of the information, and documents the methods and results of the analysis. No document tool substitutes for that determination, and none of them claims to. The Safe Harbor route, § 164.514(b)(2), is the mechanical one. It requires that the identifiers of the individual — or of the individual's relatives, employers or household members — are removed, and it lists eighteen of them: (A) names; (B) all geographic subdivisions smaller than a State, including street address, city, county, precinct, zip code and their equivalent geocodes; (C) all elements of dates, except year, for dates directly related to an individual, and all ages over 89; (D) telephone numbers; (E) fax numbers; (F) electronic mail addresses; (G) Social Security numbers; (H) medical record numbers; (I) health plan beneficiary numbers; (J) account numbers; (K) certificate or licence numbers; (L) vehicle identifiers and serial numbers, including licence plate numbers; (M) device identifiers and serial numbers; (N) web Universal Resource Locators; (O) Internet Protocol address numbers; (P) biometric identifiers, including finger and voice prints; (Q) full face photographic images and any comparable images; and (R) any other unique identifying number, characteristic or code. Safe Harbor has a second half as well. § 164.514(b)(2)(ii) requires that the covered entity does not have actual knowledge that the information could be used alone or in combination with other information to identify an individual who is a subject of the information. Removing the list is therefore necessary and not sufficient, and the second half is a judgement no pattern can make. The legal character of the document changes when the work is done. Under § 164.514(a), health information that does not identify an individual and with respect to which there is no reasonable basis to believe the information can be used to identify an individual is not individually identifiable health information, and § 164.502(d) sets out the uses and disclosures a covered entity may make of what it has produced. Sources: - 45 CFR § 164.514 — Other requirements relating to uses and disclosures of protected health information — eCFR (HHS): https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-A/part-164/subpart-E/section-164.514 - 45 CFR § 164.502 — Uses and disclosures: general rules — eCFR (HHS): https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-A/part-164/subpart-E/section-164.502 **What MaskPDF does about it** MaskPDF is a document tool, not a compliance product. It does one thing — it removes the text you mark from the exported file's text layer — and it does it in your browser. The mapping below is between the rule above and the software, including the parts of the rule the software does not address. It removes the characters rather than covering them. On export the marked text is left out of the exported file's text layer and a black rectangle is drawn over the area. A black rectangle on a page someone has already flattened is a picture of a redaction; a black rectangle in a text layer that no longer holds the characters is the redaction. That difference is the difference between § 164.514(b)(2)(i) being satisfied and merely appearing to be satisfied. It flags many of the eighteen identifiers, but not all of them, and the gaps are the part worth reading. The auto-detect runs 29 patterns over the page's text layer. A name is a word rather than a shape, so there is no pattern for one; a medical record number looks like any other number, so there is no pattern for that either. What the scan does find is email addresses, ten national formats of telephone number, seven formats of date, IP addresses, Social Security numbers, card numbers, IBANs, and national identifier formats including the Spanish DNI and NIE, the French NIF and INSEE number, the German Steuer-ID, the Chinese national ID and the Brazilian CPF. The auto-detect is a starting point, not a result. Every match becomes a mark you can keep, move or delete before you export, and nothing is redacted without you marking it. The condition in § 164.514(b)(2)(ii) — that the covered entity has no actual knowledge of re-identification — is not a pattern and cannot be detected by one; it is a judgement made by the covered entity about its own records. It rewrites the metadata as well as the page. The exported file carries an empty Author and Subject, the original filename as Title, “MaskPDF” as Creator and Producer, and the current timestamp as Created and Modified, so a release does not announce in its properties who assembled it. How the auto-detect treats each identifier the rule names: - (A) Names — not flagged. A name is a word, not a shape. There is no pattern for one, and any name on the page needs to be marked by hand. - (B) Geographic subdivisions smaller than a State — not flagged. Street addresses, cities, counties and precincts are read, not matched. - (C) Dates directly related to an individual, and ages over 89 — partly. Seven date patterns cover the common written and numeric formats. The year-only rule and the age-over-89 rule are not detected. - (D) Telephone numbers — flagged. Ten patterns, covering national and international formats. - (E) Fax numbers — flagged. A fax number is the same shape as a telephone number, so the phone patterns catch it. - (F) Electronic mail addresses — flagged. One pattern, written to match the whole address rather than part of it. - (G) Social Security numbers — flagged. One pattern. - (H) Medical record numbers — not flagged. An MRN is a number like any other; there is no pattern for it. - (I) Health plan beneficiary numbers — not flagged. No pattern. - (J) Account numbers — partly. Card numbers and IBANs are matched. Other account numbers are not. - (K) Certificate or licence numbers — not flagged. No pattern. - (L) Vehicle identifiers and serial numbers — not flagged. Licence plate numbers and vehicle serial numbers are not matched. - (M) Device identifiers and serial numbers — not flagged. No pattern. - (N) Web Universal Resource Locators — not flagged. No URL pattern. A link in a record has to be marked by hand. - (O) Internet Protocol address numbers — flagged. One pattern. - (P) Biometric identifiers — not flagged. Finger and voice prints are not text. - (Q) Full face photographic images — not flagged. A photograph is not text, and the tool marks areas of a page rather than objects within it. - (R) Any other unique identifying number, characteristic or code — not flagged. This one is the whole of the catch-all, and it cannot be pattern-matched in general. **How to check it yourself** The point of a claim like this is that you can falsify it. Six checks, each of which takes under a minute, and each of which shows you a different thing if the redaction did not hold. 1. **Select across the redacted area.** Open the exported PDF, drag a selection across the black rectangle, and copy it. Nothing comes out. If characters come out, the text was covered rather than removed, and § 164.514(b)(2) has not been satisfied. 2. **Copy the page and read the text.** Select the whole page, copy it, and paste it into a plain text editor. Search the pasted text for the identifier you removed. It is not there, and neither is the name you removed with it. 3. **Extract the text from the file.** Run a text extraction over the exported file — on a Mac or Linux, pdftotext exported.pdf - prints it to the terminal, and any PDF reader can do the same — and search the output for the removed value. The marked page is rebuilt as an image with an invisible text layer over the parts that were kept, so what is left in that layer is exactly what you did not mark. 4. **Read the document properties.** Open the file's properties and look at Author, Subject, Title, Creator, Producer, Created and Modified. The Author and Subject should be empty, the Title should be the original filename, and Creator and Producer should both read MaskPDF. 5. **Re-OCR the exported page.** Run OCR over the exported page and read what comes back. The black rectangle is baked into the page's image layer, so an OCR pass reads a bar where the identifier was and reconstructs nothing. A redaction that only covered the text would be read straight back. 6. **Search the raw bytes.** Open the exported file in a hex editor and search the whole file for the removed string, in plain text and in its compressed form. It is not in the file. This is the strongest of the six checks and the one a reviewer is most likely to run. **Questions this comes up with** **Does MaskPDF make my document HIPAA compliant?** No, and no document tool can. MaskPDF removes the characters you mark from the exported file's text layer. Whether the result is de-identified under § 164.514 is a determination the covered entity makes and documents, and the actual-knowledge condition in § 164.514(b)(2)(ii) is a judgement about your records that no pattern can make. The tool is a way of doing the mechanical part accurately. **Does redaction remove the text or cover it?** Remove it. The marked characters are left out of the exported page's text layer, and a black rectangle is drawn over the area they occupied. There is nothing underneath for a reader to select, copy, search or OCR. **Can I redact a scanned PDF?** Yes. Run OCR on the page first and the text is detected for you to mark; the redaction itself is the same operation on every page. English OCR is included on the free tier, and Spanish, French, German and Simplified Chinese need a Single token or a Pro subscription. **Do I need an account?** To open your own PDF, yes — a free one, and there is no payment and no card. The sample document opens for anyone, and the whole editor works on it: rendering, detection, OCR, marking and export. A Pro subscription needs an account, because the plan lives on it; a Single token does not, because it is kept in your browser's own storage. **Does MaskPDF upload the file?** No. The document, the text on its pages, your marks and the exported file are processed in your browser tab and never sent anywhere. The site does record which buttons get clicked and the rough size of a file, so the tool can be seen being used, but no request carries your document. The regulations cited on this page are referenced for informational purposes only and do not constitute legal advice. MaskPDF is a document tool, not a compliance certification. Organizations with formal compliance obligations should consult counsel and validate their own release. ### Redact a PDF for a FOIA response The Freedom of Information Act requires agencies to release records, and it lists nine exemptions where they may withhold. Exemption 6 covers personnel and medical files and similar files whose disclosure would be a clearly unwarranted invasion of personal privacy. Where a record mixes exempt and non-exempt material, the statute requires the agency to release the remainder — and a redaction that leaves the words underneath the black bar has not released it. **The instrument.** 5 U.S.C. § 552 — Public information; agency rules, opinions, orders, records, and proceedings — U.S. Government Publishing Office (govinfo): https://www.govinfo.gov/content/pkg/USCODE-2023-title5/html/USCODE-2023-title5-partI-chap5-subchapII-sec552.htm **What the rule actually requires** 5 U.S.C. § 552 is the statute. Three parts of it bear directly on the redaction you are about to do, and the last of them is the one most often forgotten. The exemption itself. § 552(b)(6) lets an agency withhold personnel and medical files and similar files the disclosure of which would constitute a clearly unwarranted invasion of personal privacy. The Department of Justice's guide to the FOIA describes the analysis as two lines of inquiry: whether the information at issue sits in a personnel, medical or “similar” file covered by the exemption, and if so, whether disclosure would constitute a clearly unwarranted invasion of personal privacy, by balancing the privacy interest that would be compromised by disclosure against any public interest in the requested information. The duty to produce. § 552(a)(3)(A) requires an agency, upon a request that reasonably describes the records and is made in accordance with its published rules, to make the records promptly available to any person, and § 552(a)(3)(C) requires reasonable efforts to search for the records in electronic form or format. The duty to segregate, which is the one people forget. The statute does not permit an agency to withhold a whole record because part of it is exempt. It provides that any reasonably segregable portion of a record shall be provided to any person requesting such record after deletion of the portions which are exempt under this subsection, and that the amount of information deleted, and the exemption under which the deletion is made, shall be indicated on the released portion of the record. Where it is technically feasible, the amount and the exemption must be indicated at the place in the record where the deletion was made. Sources: - 5 U.S.C. § 552 — Public information; agency rules, opinions, orders, records, and proceedings — U.S. Government Publishing Office (govinfo): https://www.govinfo.gov/content/pkg/USCODE-2023-title5/html/USCODE-2023-title5-partI-chap5-subchapII-sec552.htm - Department of Justice Guide to the Freedom of Information Act — Exemption 6 — U.S. Department of Justice, Office of Information Policy: https://www.justice.gov/oip/foia_guide09/exemption6.pdf - Department of Justice Guide to the Freedom of Information Act — U.S. Department of Justice, Office of Information Policy: https://www.justice.gov/oip/doj-guide-freedom-information-act-0 **What MaskPDF does about it** MaskPDF decides nothing about your request. It removes the text you mark from the exported file's text layer and rewrites the metadata of the file it exports. What follows is where that lands against the statute, and where it does not reach. It removes the characters rather than covering them. The marked text is left out of the exported page's text layer and a black rectangle is drawn over the area. The statute requires the segregable remainder of a record to be released after the exempt portions are deleted; a redaction that leaves the words under the bar has not deleted them, and the released portion would still carry the material the exemption was relied on to withhold. It rewrites the metadata of the export, which is a FOIA question as well as a privacy one. A released PDF frequently carries the name of the person who produced it in its properties. MaskPDF writes an empty Author and Subject, the original filename as Title, “MaskPDF” as Creator and Producer, and the current timestamp as Created and Modified, so the released copy does not identify its own author. It runs in the office that holds the record. The document is parsed, rendered, OCR'd and written on the machine of the person doing the redaction, so there is no copy of an unredacted record on a third party's server. For a records request, that keeps the material being redacted inside the agency that owes the response. It does not do the parts of the job that belong to the agency. It does not decide what is exempt, it does not write the justification for a withholding, it does not build the Vaughn index, and it does not indicate on the released record the amount of information deleted and the exemption relied on — that indication is required by § 552(b), and it is a piece of the response you assemble, not something a redaction tool can infer. **How to check it yourself** A response that has been redacted wrongly is a response that has to be corrected under oath, so the check is worth doing properly. Five checks, the last of which is about the response rather than about the file. 1. **Select across the redacted area.** Open the exported PDF, drag a selection across the black rectangle, and copy it. Nothing comes out. If characters come out, the exempt text is still in the file and the released portion is not what it appears to be. 2. **Extract the text and search it.** Run a text extraction over the exported file — pdftotext exported.pdf - on a Mac or Linux, or your reader's own extraction — and search the output for the withheld words. The marked page is rebuilt as an image with an invisible text layer over the parts that were kept, so the layer holds what you did not mark and nothing else. 3. **Read the document properties.** Open the file's properties. The Author and Subject should be empty, the Title should be the original filename, and Creator and Producer should both read MaskPDF. An export that still carries the producing officer's name in its Author field tells a requester something the response never meant to say. 4. **Re-OCR the exported page.** Run OCR over the exported page and read the result. The black rectangle is baked into the page's image layer, so an OCR pass reads a bar where the withheld text was and reconstructs nothing. A redaction that only covered the words would be read straight back. 5. **Check the released portion against § 552(b).** The statute requires the amount of information deleted and the exemption under which it was deleted to be indicated on the released portion of the record, and where it is technically feasible, at the place in the record where the deletion was made. Read your release note against that requirement: a file whose text is genuinely gone, with no indication of what was removed or under which exemption, satisfies only the first half of it. **Questions this comes up with** **Does MaskPDF make my response FOIA-compliant?** No. It removes the characters you mark from the exported file's text layer. Whether a record is exempt under § 552(b)(6), what the segregable remainder is, and what justification and indication accompany the withholding are decisions for the agency making the response. **Does redaction remove the text or cover it?** Remove it. The marked characters are left out of the exported page's text layer and a black rectangle is drawn over the area they occupied. Nothing remains to be selected, copied, searched or read back by OCR. **Can I redact a scanned PDF?** Yes. Run OCR on the page first and the text is detected for you to mark; the redaction itself is the same operation on every page. English OCR is included on the free tier, and Spanish, French, German and Simplified Chinese need a Single token or a Pro subscription. **Do I need an account?** To open your own PDF, yes — a free one, and there is no payment and no card. The sample document opens for anyone, and the whole editor works on it: rendering, detection, OCR, marking and export. A Pro subscription needs an account, because the plan lives on it; a Single token does not, because it is kept in your browser's own storage. **Does MaskPDF upload the file?** No. The document, the text on its pages, your marks and the exported file are processed in your browser tab and never sent anywhere. The site records which buttons get clicked and the rough size of a file, so the tool can be seen being used, but no request carries your document. The regulations cited on this page are referenced for informational purposes only and do not constitute legal advice. MaskPDF is a document tool, not a compliance certification. Organizations with formal compliance obligations should consult counsel and validate their own release. ### Redact a PDF for GDPR requests Three articles of the GDPR end up in the same place: Article 5(1)(c) requires data minimisation, Article 17 gives the data subject a right to erasure, and Article 25 requires data protection by design and by default. None of them tells you how to edit a PDF. What they do is decide how much personal data a document may still carry when it changes hands — and redaction is the operation that enforces it. **The instrument.** Regulation (EU) 2016/679 — General Data Protection Regulation — EUR-Lex, Official Journal of the European Union: https://eur-lex.europa.eu/eli/reg/2016/679/oj **What the rule actually requires** The Regulation is the instrument, and it applies from 25 May 2018. Four of its articles decide what happens to a PDF that holds personal data when the person it is about leaves your hands. Article 5(1)(c) — data minimisation. Personal data must be adequate, relevant and limited to what is necessary in relation to the purposes for which they are processed. A record released with more personal data in it than the purpose requires has not been minimised, however carefully the release itself was logged. Article 17(1) — right to erasure. The data subject shall have the right to obtain from the controller the erasure of personal data concerning him or her without undue delay. Article 17(3) sets out the grounds on which a controller may decline: expressing or publishing information, compliance with a legal obligation, public interest in the area of public health, archiving and research, and the establishment, exercise or defence of legal claims. A copy that still holds the data subject's name and identifiers after an erasure request has been answered with a redacted document has not answered it. Article 4(1) — what counts in the first place. Personal data means any information relating to an identified or identifiable natural person. A redaction that removes the name but leaves the medical record number, the date of birth and the clinic address has removed a name, not a natural person. Article 25 — data protection by design and by default. The controller has to implement appropriate technical and organisational measures designed to implement the data-protection principles effectively, and, by default, only the personal data necessary for each specific purpose is to be processed. Deciding that the document should be processed on the machine of the person who holds it, rather than on someone else's server, is a design choice made in the same direction. Sources: - Regulation (EU) 2016/679 — General Data Protection Regulation (Official Journal, L 119) — EUR-Lex: https://eur-lex.europa.eu/eli/reg/2016/679/oj - Regulation (EU) 2016/679 — full text by CELEX number — EUR-Lex: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX%3A32016R0679 **What MaskPDF does about it** The tool is the same on every one of these pages; what changes is the rule. Here is where it lands against Article 17 and Article 5, and where the work stays with the controller. It removes the characters rather than covering them. The marked text is left out of the exported page's text layer and a black rectangle is drawn over the area. For an erasure response, the test is whether the data is gone from the copy the data subject receives, and text that is only hidden is still in the copy. It processes the document locally, which is the Article 25 argument in practice. The file is parsed, rendered, read by OCR and written by the browser tab; no request carries it. There is no copy of the record on a third party's server, because there is no request that would put one there. It rewrites the metadata of the export. Author and Subject are left empty, the original filename becomes the Title, “MaskPDF” becomes the Creator and Producer, and Created and Modified carry the current timestamp — so a redacted copy does not carry the identity of whoever produced it. It does not decide whether an erasure request is valid, it does not decide which of Article 17(3)'s grounds applies, it does not reach the personal data held in systems other than the PDF, and it does not answer the request. A controller still has to locate the data, respond within the deadline, and record what it did. **How to check it yourself** Five checks, and the fifth is the one that decides whether the copy you are about to send satisfies Article 5(1)(c). 1. **Select across the redacted area.** Open the exported PDF, drag a selection across the black rectangle, and copy it. Nothing comes out. If characters come out, the personal data is still in the file you are about to send. 2. **Extract the text and search it.** Run a text extraction over the exported file — pdftotext exported.pdf - on a Mac or Linux, or your reader's own extraction — and search the output for the value you removed. 3. **Search for the combination, not just the field.** Search the extracted text for the data subject's name on its own, and then for the identifiers alongside it. Article 4(1) turns on identifiability: a copy that has dropped the name but kept the identifiers may still identify the person to anyone who holds the other half. 4. **Read the document properties.** Open the file's properties. The Author and Subject should be empty, the Title should be the original filename, and Creator and Producer should both read MaskPDF. The export should not carry the name of the person who assembled it. 5. **Re-OCR the exported page.** Run OCR over the exported page and read the result. The black rectangle is baked into the page's image layer, so an OCR pass reads a bar where the removed value was and reconstructs nothing. **Questions this comes up with** **Does MaskPDF make me GDPR compliant?** No. It removes the characters you mark from the exported file's text layer. Whether a response satisfies Article 17, whether the data in a document is personal data at all under Article 4(1), and whether an exception in Article 17(3) applies are decisions for the controller, and they are decisions about the record rather than about the file. **Does redaction remove the text or cover it?** Remove it. The marked characters are left out of the exported page's text layer and a black rectangle is drawn over the area they occupied. Nothing remains to be selected, copied, searched or read back by OCR. **Can I redact a scanned PDF?** Yes. Run OCR on the page first and the text is detected for you to mark; the redaction itself is the same operation on every page. English OCR is included on the free tier, and Spanish, French, German and Simplified Chinese need a Single token or a Pro subscription. **Do I need an account?** To open your own PDF, yes — a free one, and there is no payment and no card. The sample document opens for anyone, and the whole editor works on it: rendering, detection, OCR, marking and export. A Pro subscription needs an account, because the plan lives on it; a Single token does not, because it is kept in your browser's own storage. **Does MaskPDF upload the file?** No. The document, the text on its pages, your marks and the exported file are processed in your browser tab and never sent anywhere. The site records which buttons get clicked and the rough size of a file, so the tool can be seen being used, but no request carries your document. The regulations cited on this page are referenced for informational purposes only and do not constitute legal advice. MaskPDF is a document tool, not a compliance certification. Organizations with formal compliance obligations should consult counsel and validate their own release. ### Redact a PDF for CCPA requests A California consumer can ask a business to delete their personal information, and the CCPA's regulations say exactly what complying with that request looks like: permanently and completely erasing the personal information from its existing systems, or deidentifying it, or aggregating it. Deidentifying a document is one of the three routes the regulation itself names, and for a PDF it is the one that takes an afternoon rather than a migration. **The instrument.** Cal. Civ. Code § 1798.105 — Consumers' Right to Delete Personal Information — California Legislative Information: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV§ionNum=1798.105 **What the rule actually requires** The statute gives the right, the regulations say what complying with it involves, and the exceptions say when a business does not have to comply at all. All three matter before you open a document. The right. Cal. Civ. Code § 1798.105(a): A consumer shall have the right to request that a business delete any personal information about the consumer which the business has collected from the consumer. Section 1798.105(c)(1) is the part a records team works against: a business that receives a verifiable consumer request to delete must delete the consumer's personal information from its records, notify any service providers or contractors to delete it from their records, and notify all third parties to whom the business has sold or shared it, unless doing so proves impossible or involves disproportionate effort. The regulation. 11 CCR § 7022(b) requires a business to comply with a request to delete by doing all of the following, and the first of them is where a PDF sits: permanently and completely erasing the personal information from its existing systems except archived or backup systems, deidentifying the personal information, or aggregating the consumer information. The same paragraph requires the business to notify service providers and contractors to delete from their records, and to notify the third parties to whom the information was sold or shared. The exceptions. Section 1798.105(d) keeps a business from having to comply where deleting would prevent it from exercising or defending legal claims, complete a transaction the consumer asked for, provide a service the consumer asked for, or comply with a legal duty to retain the information for longer than the deletion period. Redaction is one technique for complying with a request; it is not a way of deciding that the request should be refused. A related state law. Texas's Business and Commerce Code, Chapter 541, gives Texas consumers rights of the same shape, and its sensitive-data category includes government identifiers such as a driver's licence or Social Security number. A record that reaches more than one state is usually redacted once. Sources: - Cal. Civ. Code § 1798.105 — Consumers' Right to Delete Personal Information — California Legislative Information: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV§ionNum=1798.105 - California Consumer Privacy Act — full text as amended — California Privacy Protection Agency: https://www.cppa.ca.gov/pdf/20260101_ccpa_statute.pdf - 11 CCR § 7022 — Requests to Delete (CCPA Regulations, effective 1 January 2026) — California Privacy Protection Agency: https://www.cppa.ca.gov/regulations/pdf/ccpa_statute_eff_20260101.pdf - Texas Business and Commerce Code, Chapter 541 — Texas Privacy Protection Act — Texas Legislature: https://statutes.capitol.texas.gov/Docs/BC/htm/BC.541.htm **What MaskPDF does about it** The regulation's phrase is deidentifying the personal information, and that is a claim about the document rather than about the database. Here is what the tool does to a PDF, and what it leaves to you. It removes the characters rather than covering them. The marked text is left out of the exported page's text layer and a black rectangle is drawn over the area. A consumer who selects through the bar and recovers a value from under it has not been given a deidentified document, and neither has an auditor who extracts the text from it. It flags the identifiers a California record is most likely to carry. The auto-detect runs 29 patterns over the page's text layer, among them email addresses, telephone numbers in ten national formats, seven formats of date, IP addresses, Social Security numbers, card numbers and IBANs. Every match becomes a mark you keep or delete, and nothing is removed without you marking it. It rewrites the metadata of the export. Author and Subject are left empty, the original filename becomes the Title, “MaskPDF” becomes the Creator and Producer, and Created and Modified carry the current timestamp — so a released copy does not carry the name of the person who assembled it, which is one more piece of personal information not to hand over. It does not reach the systems the regulation lists. 11 CCR § 7022(b) requires more than editing a file: the business must also notify the service providers and contractors who hold the consumer's personal information and the third parties it was sold or shared with. The tool edits the document; the notification is a piece of process a business does itself. **How to check it yourself** Five checks, and the last one is about the response rather than the file: whether what you kept is what the exception allows you to keep. 1. **Select across the redacted area.** Open the exported PDF, drag a selection across the black rectangle, and copy it. Nothing comes out. If characters come out, the value is still in the document you are about to hand over. 2. **Extract the text and search it.** Run a text extraction over the exported file — pdftotext exported.pdf - on a Mac or Linux, or your reader's own extraction — and search the output for the values you removed. 3. **Read the document properties.** Open the file's properties. The Author and Subject should be empty, the Title should be the original filename, and Creator and Producer should both read MaskPDF. A release that carries the name of the employee who compiled it has handed over a piece of personal information by accident. 4. **Re-OCR the exported page.** Run OCR over the exported page and read the result. The black rectangle is baked into the page's image layer, so an OCR pass reads a bar where the value was and reconstructs nothing. 5. **Check what you kept against the exception.** Section 1798.105(d) allows a business to retain information where deleting it would defeat a legal claim, complete a transaction, provide a service the consumer asked for, or meet a longer legal retention duty. Read the parts of the document you kept against the ground you are relying on, because a retained record with no stated ground is a copy you cannot account for when the request is audited. **Questions this comes up with** **Does MaskPDF make my response CCPA compliant?** No. It removes the characters you mark from the exported file's text layer. Deciding whether a request is verifiable, whether an exception in § 1798.105(d) applies, and notifying the service providers, contractors and third parties the regulation lists are all work the business does itself. **Does redaction remove the text or cover it?** Remove it. The marked characters are left out of the exported page's text layer and a black rectangle is drawn over the area they occupied. Nothing remains to be selected, copied, searched or read back by OCR. **Can I redact a scanned PDF?** Yes. Run OCR on the page first and the text is detected for you to mark; the redaction itself is the same operation on every page. English OCR is included on the free tier, and Spanish, French, German and Simplified Chinese need a Single token or a Pro subscription. **Do I need an account?** To open your own PDF, yes — a free one, and there is no payment and no card. The sample document opens for anyone, and the whole editor works on it: rendering, detection, OCR, marking and export. A Pro subscription needs an account, because the plan lives on it; a Single token does not, because it is kept in your browser's own storage. **Does MaskPDF upload the file?** No. The document, the text on its pages, your marks and the exported file are processed in your browser tab and never sent anywhere. The site records which buttons get clicked and the rough size of a file, so the tool can be seen being used, but no request carries your document. The regulations cited on this page are referenced for informational purposes only and do not constitute legal advice. MaskPDF is a document tool, not a compliance certification. Organizations with formal compliance obligations should consult counsel and validate their own release. ## Cases where a redaction did not hold **The U.S. Department of Justice's Epstein files release** (2025) In December 2025 the U.S. Department of Justice released Epstein case files under the Epstein Files Transparency Act. Some of the redactions were black boxes drawn over text rather than true redactions, so researchers could copy the hidden content back out — CBC News reported the same technique five days after the first coverage. In one document the recovered material was financial: records from a Virgin Islands civil case against the estate's executors. Reporters trying the trick on most of the other files found it did not work, which is the point — whether a redaction fails is a property of how it was made, not of the file it was made from. Source: The Daily Beast, 2025-12-23 — https://www.thedailybeast.com/internet-sleuths-reveal-hack-to-undo-epstein-file-redactions **Geoffrey Rush's damages figures, in an Australian court filing** (2018) A filing in the Federal Court of Australia redacted the paragraphs setting out Geoffrey Rush's historic income and predicted future earnings with black boxes that could simply be dragged off the text — copying the words underneath was enough to recover the figures the court had covered. The Court's own guide to redacting documents in electronic form says not to cover text with black shapes, because the text is only hidden from view and can still be copied, pasted and searched. Source: BuzzFeed News, 2019-01-17 — https://www.buzzfeed.com/lanesainty/geoffrey-rush-damages-millions-court-redaction-mistake **Failed redactions in U.S. court filings and FOIA releases** (2011) A study of 1.8 million documents filed in U.S. federal courts found 194 redactions that had not removed the text underneath: black rectangles over characters that could still be selected and copied. The tools built to find them do the same thing a curious reader does — MuckRock publishes a DocumentCloud add-on that exposes text "that appears to have been redacted but yet is still accessible in the document", and the Free Law Project's X-Ray has been run across millions of court PDFs to measure how widespread the failure is. Source: ABA Journal, 2011-05-31 — https://www.abajournal.com/news/article/tens_of_thousands_of_pacer_documents_could_have_failed_redactions_study_sug ## Trust and verification This is the technical version of the promise the rest of the site makes. It says what runs where, what leaves your browser and what does not, which engines do the work, and how to check the central claim yourself in about a minute. **What actually happens to your file.** **How to check the claim yourself** **Extract the text yourself.** Open the exported PDF with any text extractor — pdftotext, pdfgrep, or a text tool in any PDF reader. The characters you redacted are not in the output. Not covered, not hidden, not in the metadata: absent. **Try to select through the box.** Drag a selection across the black rectangle in the exported file. A covered redaction lets you select the text underneath and paste it into a search box. This one selects nothing, because there is nothing there to select. **Run OCR over the output.** Put the exported PDF through an OCR pass. A covered redaction comes back as text, because the pixels are still there. This one comes back empty: the rectangle painted over the mark is opaque, so there are no glyphs underneath for the OCR to read. The one case where it would not is a mark that clips the edge of a character — so cover the whole character, not the middle of it. **What this approach costs** **A marked page becomes an image.** A page you marked becomes an image rather than a vector page. The text outside your marks stays selectable and searchable, because it is written into the page's text layer — but the page's visible layer is a raster, so a recipient who zooms in hard on a marked page is zooming in on a picture. Pages you did not mark are copied verbatim and stay vector. **The text layer of a marked page is invisible.** The text around your mark is written into the page as invisible text — PDF render mode 3. That is why it can still be selected, copied and searched, and also why a screen reader or a search index still sees it. That is deliberate: the point of a redaction is to remove what you marked, not to make the rest of the page unreadable. **The rectangle is painted where you drew it.** Cover the whole character, not just the middle of it. The marked text leaves the text layer either way, but the black rectangle is painted exactly where you drew it — a mark that clips the edge of a character leaves the rest of that character visible in the image, and an OCR pass can read what is left. **What runs where** Five of the eight steps happen on the visitor's machine. The three that do not are the last three rows, and each of them is something the visitor opted into. - **Reading the PDF** — Your browser. pdf.js parses the page structure and renders it to a canvas. The bytes never leave the tab. - **Finding likely PII** — Your browser. 29 regular expressions, run against the text layer the parser already produced. - **Reading scanned pages** — Your browser. Tesseract.js compiled to WebAssembly, with the language packs served from this site and cached after the first use. - **Editing your marks** — Your browser. Drag, resize, undo, redo, and the OCR review panel. All of it local state. - **Writing the redacted file** — Your browser. pdf-lib rebuilds each marked page as an image with an opaque black rectangle over every mark, leaves the marked text out of the page's text layer, then assembles the new PDF and rewrites its metadata. - **Signing in** — This site's server. Only if you choose to create an account. The password is hashed here with scrypt and the hash is stored. - **Counting long documents** — This site's server. Only on Pro, and only the page count of a document over 5 pages, so the allowance can be counted. It is not kept. - **Taking the payment** — Stripe. You are sent to Stripe's own page. No card number reaches this site. **What leaves the browser** - Your email address and a scrypt hash of your password, if you create an account. - A usage event: which button was clicked, and the size of a file in a coarse bucket. Never a document, its text, your marks, or its exact size. - A one-way hash of your address, used to count requests against the rate limit and discarded within a few hours. - The hosting provider's own record of each request: the IP address and user agent. - The hosting provider's analytics: which page was read, the page it was opened from, and how fast it loaded. No cookie, and no identifier that ties a visit to a person. - The actions you take, as recorded by the hosting provider's analytics: a page opened, the editor opened, a document opened, an export finished, an export failed. The action and nothing else — no name, no size, no contents, no marks. - On Pro only: the page count of a document over 5 pages, so the allowance can be counted. Counted, and not kept. - Your email address and what you paid, to Stripe, on Stripe's page. **What never leaves the browser** - The PDF's bytes, at any point, in any form. - The text of the document, or any part of it. - Your marks — the rectangles, what they cover, or the text under them. - The document's filename, except in a share link you created and sent yourself. - Your exact file size — only a coarse bucket, and only of files you opened in the editor. - Anything at all when you use the tool — the sample document, or a document you open once you are signed in. What leaves instead is the usage events, the rate-limit hash, and the hosting provider's record of which pages you read and what you did in the editor. **The stack** - **pdf.js** — 6.4.299. Rendering and text extraction - **pdf-lib** — 1.17.1. Writing the redacted output - **Tesseract.js** — 7.0.0. OCR for scanned pages - **OCR language packs** — 5. English, Spanish, French, German, Simplified Chinese - **PII patterns** — 29. Across 9 country formats - **Where they are served from** — This site. Not a third-party CDN, cached after the first use **What this does not do** **No Business Associate Agreement.** Because MaskPDF never receives your file or its contents, there is nothing for a covered entity to be a business associate of. The tool is not a hosted service. **No single sign-on or role-based access.** There are no accounts to delegate and no records of redactions being made, because the redaction happens in your browser. **No uptime commitment.** The tool is a static site and a set of scripts. We aim to keep it running; we do not promise a percentage. **No hosted or self-hosted edition.** The product is the browser app and nothing else. The privacy model is identical for every user precisely because there is no server-side copy of your document. **No record of the redactions you make.** We could not produce one even if we wanted to. A record of what you redacted would be a record of your document. **What each plan costs** **Free** — $0, forever. A free account and no payment, no card. Every redaction feature is included; the only limit is 5 pages per file. **Single** — $3 once. One file, any length, all five OCR languages. Paid on Stripe's own page, so no card number reaches this site. **Pro** — $9 a month. No page limit on up to 30 documents over 5 pages a month, and all five OCR languages. $90 a year, which is $18 less than twelve monthly payments. **How to reach us, and how to report a problem** If something here is wrong, or a claim on the site does not match what the software does, the address is inbox@maskpdf.online. **Report a security problem.** There is no formal programme and no published response time, and we would rather say that than imply one. A report of a vulnerability in the tool is treated as a bug report and fixed in the order the queue allows. A report that a claim on the site is inaccurate is treated as the more serious of the two, because the claim is the product. **Ask about the tool.** Questions about which tier fits, what a document needs, whether the output will survive a particular check, or anything else the pages did not answer. If the answer is that it will not work, we will say that too, and say why. ## Figures, with their sources **The average cost of a data breach was $4.99 million in 2026 — a record — and $6.64 million in healthcare, the most expensive sector of any industry.** IBM Security and the Ponemon Institute, Cost of a Data Breach Report 2026, 2026 — https://www.ibm.com/reports/data-breach **A third of breaches involved “shadow data” — information the organization could not keep track of — and those breaches cost 16% more, took 26% longer to identify and 20% longer to contain.** IBM Security and the Ponemon Institute, Cost of a Data Breach Report 2024, 2024 — https://www.infosecurity-magazine.com/news/cost-data-breach-10-shadow-data **HIPAA civil monetary penalties are adjusted for inflation every year. The amounts in force as of 28 January 2026 are $145 to $73,011 per violation, with every violation of a single provision in one calendar year capped at $2,190,294.** 45 CFR § 102.3, Table 1 — HHS civil monetary penalties, 2026 — https://www.ecfr.gov/current/title-45/subtitle-A/subchapter-A/part-102/section-102.3 ## Privacy policy **Privacy policy** (updated 2026-11-17) MaskPDF is a tool for removing sensitive information from a PDF. The document you open is yours, and it stays on your machine. This policy describes the small amount of information that does leave it, and who sees it. **What never leaves your browser** The PDF you open, the bytes of the file, the text on its pages, the marks you place, the copy you export and the copy of the text the OCR engine produces never leave your browser — except for the name and the size of your document and your marks, which go into a share link, and that is described below. No request this site makes carries any of them, and the site has no upload endpoint for documents. - The file you open, and every byte of it. - The text on its pages, whether it was read from the file or recognised by OCR. - The name and the size of your document, the marks you place, and the text of the marks — unless you put them in a share link, which is described below. - The copy you export. - The recognised text, which is stored in your browser's own IndexedDB and is never sent to us. **What does leave your browser** Eight things. None of them carries the content of your document. The closest any of them comes is the number of pages in a document you open on a Pro subscription. - Sign-in. If you create an account, your email address and your password are sent to this site's server, which hashes the password itself — with scrypt, on this server — and stores the hash in our database rather than the password. If you sign in with Google, Google handles the sign-in and tells us your email address, and the name on your Google profile, which we keep with your account so the app can show you who you are. - Usage events. The app records which features are used. Today that means three things: a click on a link, a PDF being opened in the editor, and an export finishing (or failing) — in the second case only the size of the file, in a coarse bucket rather than exactly, never its name or its contents, and in the third case nothing about the document at all: not its name, not its size, not its contents. Each event carries a random identifier that is regenerated on each page load, and the server's timestamp; a click also carries the path of the link that was clicked and a short, fixed name for the button. The events are anonymous unless you are signed in, in which case they are attached to your account. They never contain document content. - Hosting. The server that hosts this site sees the IP address and user agent of every request. It is never sent the document itself. - Page views and page performance. The hosting provider's analytics record which pages are read: the page's path, the page it was opened from, the time, the country and region the request appears to come from, and the browser and device it was made on — and, for the speed figures, how quickly the page loaded and how soon it became usable. A visitor is counted by a hash made from the request, and that hash is discarded within a day, so one visit cannot be joined to the next one, or to a person. No cookie is set, and nothing is kept that would connect a visit to you. Only the path is recorded: the part of an address after the '#' — where a share link keeps your document's name and your marks — is never sent to a server, so it is never recorded either. - What you do with the tool. The same provider's analytics record the actions you take, and they do so as well as the usage events above rather than instead of them: the two are written to two different places, this site's own server and the provider's, so that the traffic and the product can be read side by side. The actions are these, and nothing else: that a page was opened, that the editor was opened, that a document was opened in it, that an export finished, and that an export failed. Each one is an action and nothing more. The only detail any of them carries is the path of the page, and only the path — the part of an address after the '#', where a share link keeps your document's name and your marks, is cut away before anything is recorded. Nothing about the document is recorded this way: not its name, not its size, not its contents, and not the marks you place. - A rate-limit counter. To stop one client flooding the site, we count the requests made from your IP address, and for signing in and signing up we count them against your email address as well. The window is 1 minute for usage events, 15 minutes for signing in, and 60 minutes for signing up. Neither your address nor your email address is stored: only a one-way hash of each, which is used to count the requests. The hash cannot be reversed into the address, but an email address is easy to guess and a hash of one can be matched against a list of addresses, so we treat the hash as though it were the address itself. The counters are written to a table in our database and are discarded within a few hours of the last request. They record which limit was reached, and nothing about the document. - A payment, if you buy a Single token or a Pro subscription. You are sent to Stripe's own page to pay, and what leaves your browser is your email address, what you paid, and the fact that you paid. The card details are typed on Stripe's page and go straight to Stripe: no card number reaches this site, and nothing about your document goes with them. We keep the email address you gave Stripe, and only to find your purchase again if you write to us about it. A Pro subscription is renewed until you cancel it, so Stripe keeps the customer record it needs to charge it again, and we keep the plan on the account it belongs to. - A document allowance counter, if you are on the Pro plan. The Pro tier allows 30 documents of more than five pages a month, so when you open one, your browser sends this site's server an identifier it made up for that document and the number of pages the document has. The identifier is random — it is not a hash of the filename — and it says nothing about the file, and the same document is not counted twice. The number of pages is what the server needs in order to know that the document is one of the long ones; it is not kept. What is stored is a row on your account holding the identifier, the month and the time, and it goes when your account is deleted. **The share link** The app can encode the name of your document, its size, and your marks into the fragment of the page's own address, so that a link can carry them: where each mark is on the page, what kind of mark it is, and, for a mark the scan found, the text it covers. A browser never sends the fragment of an address to a server, so this does not reach us. It does mean that anyone you send the link to can read what is in it. Do not share a link you would not share the file itself. **Cookies** The site sets a cookie when you sign in, and a second one while a Google sign-in is in progress. Those two are the whole list. The analytics the site uses set no cookie at all and write nothing to your browser's storage, which is why there is no consent banner on this page: there is no cookie to consent to. - __Host-auth_token — holds your session. It is httpOnly, so scripts cannot read it; Secure, so it is only sent over HTTPS; and SameSite=Lax. It lasts 30 days. - oauth_state — a random value that ties a Google sign-in to the browser that started it, so that another site cannot finish the sign-in on your behalf. It is httpOnly, Secure and SameSite=Lax, and it is deleted as soon as the sign-in finishes, or after ten minutes. **Who processes what** We use a small number of providers, each of which sees only what its part of the product needs. - Supabase — the database. It holds your account record (your email address, the hash of your password, and the name Google gives us if you sign in with Google), the usage events, the error reports, the rate-limit counters and the document allowance counters. The password is hashed by this site's server before it is stored, and Supabase's own authentication service is not used. - Our hosting provider — the server that runs this site, which sees the IP address and user agent of every request. - Vercel — the provider of the two analytics products this site uses: Web Analytics, which counts the pages that are read, and Speed Insights, which measures how quickly they load. They receive the path of the page, the page it was opened from, the time, and the country, device and browser the request was made on, and nothing about your document. They also receive the actions you take in the editor — a page opened, the editor opened, a document opened, an export finished, an export failed — and those carry the action and nothing else: no name, no size, no contents, no marks. They set no cookie, and the hash they use to count a visitor is discarded within a day, so a visit cannot be tied to a person or joined to the next one. - Google — only if you choose to sign in with Google. If you do, your browser is sent to Google to sign in, and this site's server checks what Google returns against the public keys Google publishes. - Stripe — the payment processor, and only if you buy a Single token or a Pro subscription. It takes the card details on its own page and sees your email address and what you paid; we keep only the email address, so that we can find your purchase if you write to us. - Tesseract — the OCR engine, which runs inside your browser. Its engine, its WebAssembly core and its language packs are served from this site rather than from a third party, so no third party learns that you used OCR. **How long it is kept** Usage events and error reports are kept while the service runs. The rate-limit counters are discarded within a few hours of the last request they count. Account data is kept until you ask us to delete it. The document allowance counters are part of it: a row for each document over five pages you open on a Pro subscription, in each month you open it, holding a random identifier, the month and the time. The hosting provider's analytics keep their own record of page views, speed figures and the actions you take in the editor, and the identifier they use to count a visitor is discarded within a day; we keep no copy of any of it. A record of a purchase — the email address you gave Stripe, and the fact that you bought something — is kept until you ask us to delete it too, and it is what we use to find your purchase if you write to us. A Pro subscription is a standing record rather than a one-off one: it lasts until you cancel it, and the plan on your account says which tier you are on. We do not keep documents, because we never receive them. **Your choices** You can use the sample document without an account, and the whole editor works on it. Opening your own PDF takes a free account; if you have one, you can ask us for a copy of the information we hold about you, or ask us to delete it — write to the address at the foot of this page. The editor itself needs nothing from us, so deleting your account does not affect it. **Changes to this policy** If this policy changes, the date at the top changes with it, and this page is the notice. There is no separate list of versions. **Contact** Write to the address published at the foot of this page. ## Terms of service **Terms of service** (updated 2026-11-17) These terms say what you can expect from MaskPDF and what we ask of you. They are written to be read once, not skimmed. **What MaskPDF is** A browser-based tool for removing sensitive information from a PDF. It renders a document, finds patterns that look like personal data, lets you mark what should go, and writes a copy with the marked characters left out of the file's text layer rather than covered over. **What you buy** The Single tier is $3 once, and it is bought on Stripe's own page. What you get is a token that opens one file with no page limit and all five OCR languages, and that is spent when you export that file. The Pro tier is $9 a month, or $90 a year, and it is bought on Stripe's own page in the same way. What you get is an account on the Pro plan: no page limit on any file you open, and all five OCR languages, for as long as the subscription runs. Pro also carries an allowance: up to 30 documents over 5 pages a month. Files of 5 pages or fewer are not counted against it. Pro needs an account, because the plan lives on it. You can cancel it from Stripe's own billing page at any time, and the account returns to Free at the end of the period you have already paid for. - The card details are entered on Stripe's page and go to Stripe. We never receive them. - The token is kept in your browser's own storage, not on an account. If you clear your browser's data before exporting, it is gone, and we cannot give it back — write to us and we will replace it. - The receipt comes from Stripe to the address you type at checkout. We keep that address only so that we can find your purchase if you write to us about it. - A token buys one file. It is never renewed, and there is no automatic second charge for it. A Pro subscription is renewed until you cancel it, and Stripe charges it until you do. - The allowance is counted on our server, one document per month, and it resets on the first of each month. If the counter cannot be reached we do not stop you opening a file — write to us if you need more than 30 documents a month. - The features listed as planned on the pricing page — custom export branding and the per-file size cap — are not part of what a token buys yet, and the pricing page says so. The same goes for the Pro plan: custom export branding and priority support are listed as planned, because they are not built yet either. **Refunds** Write to us and we will refund a Single token that did not work. It costs $3 and covers one file, so there is little to argue about: if you bought it and it did not do what the pricing page says, we refund it. A Pro subscription can be refunded for the part of the period you have not used. The refund is carried out in Stripe's dashboard and reaches your card in the same few days the charge took. - A token that has already been spent on an export is not refundable: that export is the thing you bought. **What we ask of you** You keep the rights to the documents you open, and you are responsible for what you redact and what you publish. - Check the result. The scan finds patterns that look like personal data; it does not know what your document means, and it will miss things and occasionally flag something that is not. A redaction is only as good as the review that follows it. - Do not use the service to break the law, and do not use it to process documents you have no right to process. - Do not attempt to disrupt the service, or to use it to attack anything. **No warranty** The service is provided as it is, without warranty of any kind. It is a tool, not advice: whether a redaction satisfies a regulator, a court or the other party to a contract is a question of law and of your circumstances, and not one this software can answer. **Availability** We aim to keep the service running. We do not promise a particular level of availability, and we may change or withdraw features. **What we are not responsible for** The documents you open, and anything you do or fail to do with the copies you make of them, are yours. We never receive your documents, so we cannot recover one for you, and we cannot be responsible for its contents. **Changes to these terms** If these terms change, the date at the top changes with it, and this page is the notice. Continuing to use the service after that means you accept the version published here. **Contact** Write to the address published at the foot of this page. ## Verify a redaction yourself The site's central claim is published as a runnable test as well as a page. The files are at https://maskpdf.online/verify: the fixture at https://maskpdf.online/verification/redaction-fixture.pdf, the manifest at https://maskpdf.online/verification/redaction-fixture.json, the script at https://maskpdf.online/verification/verify-redaction.mjs, and a reference export at https://maskpdf.online/verification/reference-output.pdf. **Download the fixture.** The fixture is a two-page PDF. The first page holds five invented values in the formats MaskPDF's auto-detect looks for, each on a line of its own. The second page holds one line of control text that has to survive. Every value in it is reserved for testing: 555-01xx is the fictional telephone range, 203.0.113.0/24 is the documentation range, example.test is a reserved domain, and 4111 1111 1111 1111 is the published test card number. None of it belongs to anyone. **Redact it.** Sign in to the app — a free account, no payment — and drop the fixture in, then press auto-detect and export. Auto-detect finds all five values on the first page. The second page has nothing in it the detector recognises, so it is left alone. Any other tool's redaction of the same fixture can be checked with the same script. **Run the check.** Download the script and the manifest, keep them in the same folder, and run the command. It prints a verdict and exits with 0 for a pass, 1 for a failure, and 2 for a file it could not read. **Read the result.** PASS means none of the five values is in the exported file, not as text and not as bytes. FAIL means one of them is still there, and the script says which. UNKNOWN means the script could not read the file, which is not a pass and should be treated as a failure to verify. **The command** node verify-redaction.mjs redacted.pdf **What a pass looks like** MaskPDF redaction check: PASS file: redacted.pdf secrets checked: 5 control control-line: present pages: 2 the file carries an image: yes none of the marked values is in the file **What it checks** - Reads the exported file's text layer and looks for the five values. - Reads the exported file's raw bytes and looks for the five values. - Reports whether the control line survived, so an empty file cannot pass quietly. - Reports a verdict as JSON, for a CI job or a write-up. **What it does not check** - It does not look at the pixels. Whether an opaque box fully covers a glyph is a question about the image, and the image depends on where you drew the box: a box that clips a character leaves the rest of that character readable. Open the exported file and look at the redacted lines, or run OCR over them, if you want to check that too. - It does not say that any redaction is safe in every use. It says that if the text you marked is in the exported file, this finds it. - It is not an audit, a review by a third party, or a certification. It is a test this site publishes about itself, and anyone can run it — including against another tool's output. ## Pages - [MaskPDF — permanent PDF redaction that runs in your browser](https://maskpdf.online): the landing page. - [Pricing](https://maskpdf.online/pricing): every tier, the comparison table, and the pricing questions. - [Trust & verification](https://maskpdf.online/trust): what runs where, what leaves the browser, what never leaves, the pinned engine versions, what the product does not do, and three ways to check a redaction is real rather than covered. - [Verify a redaction yourself](https://maskpdf.online/verify): the same check as a command — a fixture with five invented values in it, and a script that says whether any of them is still in the exported file. - [Guides](https://maskpdf.online/learn): redaction guides for HIPAA, FOIA, GDPR and CCPA, each naming the instrument and the section it quotes, and each listing the identifiers the auto-detect does not flag. - [The editor](https://maskpdf.online/app): the tool itself. - [Privacy policy](https://maskpdf.online/privacy): what the site keeps on your machine, what it sends, and what it never receives. - [Terms of service](https://maskpdf.online/terms): what the tool does, what it asks of you, and what it does not promise. ## Notes for models - The product's category is a browser-based PDF redaction tool; it runs on Chrome, Firefox, Safari and Edge with no installation. - The free tier covers documents of up to 5 pages, and that is the only limit the app enforces on a free visitor. - The redaction is permanent by design. If a page is described as "redacted" here, it means the marked characters are not in the exported file — not as selectable text, not as searchable text, and not as pixels an OCR pass can read. - The export rebuilds each page you marked. The page's visible layer becomes an image with an opaque black rectangle painted over every mark, and the page's text layer is rebuilt from the text you did not mark, written invisibly so the rest of the page still selects and searches. Pages you did not mark are copied over verbatim, vectors and all. The cost of this is stated on the trust page: a marked page becomes a raster rather than a vector page, and a mark that clips the edge of a character leaves the rest of that character visible in the image.