MASKPDF
CCPA

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 instrumentCal. Civ. Code § 1798.105 — Consumers' Right to Delete Personal Information

Last reviewed on 18 November 2026.

All the guides
The rule

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.

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.

The tool

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.

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.

The check

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. 01

    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. 02

    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. 03

    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. 04

    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. 05

    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

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.

Redact the file, then check it

Open a PDF, mark what has to go, and export a copy in which the marked characters are not in the file’s text layer at all. The file stays in your browser the whole way.