How to redact a PDF so the text is actually gone
To redact a PDF you have to remove the text from the file, not just cover it. This guide is for anyone about to send a PDF with names, account numbers or other private details in it: it explains why drawn black boxes fail, then shows how to black out text for free in Fileshape's mask editor or with Acrobat Pro's Redact tool.
The short answer
A PDF page has layers. The text you see is stored as real characters, and anything you draw on top (a black rectangle, a thick highlight, a shape from an annotation toolbar) is a separate object sitting above it. The page looks redacted, but the characters are still in the file.
So the test of a redaction is simple, and you can run it on any file someone sends you. Try to select the blacked-out area and copy it, or press Ctrl+F and search for a word you know is under the box. If it's found, it was never redacted.
True redaction means the text is deleted from the file, and that needs a tool built for it.
How to black out text in a PDF for free
Fileshape's mask editor is free and needs no account for PDFs up to 20 MB. Here's the whole flow:
- 1. Open fileshape.app/mask and drop your PDF in. If it's password-protected, you'll be asked for the password, and the PDF opens once you enter it.
- 2. Look at what was found. Emails, phone numbers, card and account numbers, ID numbers, addresses and names after a title or a label like "Name:" start out masked, grouped by kind in a side panel.
- 3. Switch off anything you want to keep. You can tap a single black box to keep the text just in that one place.
- 4. Select any other text with your mouse to mask it. If the same text appears more than once you get a Mask all button, so a name is caught on every page.
- 5. Pick a style: X out and keep the last 4 characters, black out, or a label that says what was there, like [NAME].
- 6. Read the document through once. The automatic pass can miss things, above all names in the middle of a sentence.
- 7. Click Download masked PDF.
What's in the masked PDF, and what isn't
This is the part I care most about getting right. The masked PDF is not your original with boxes added. Each page is drawn as a picture with the boxes already painted in, and a brand new PDF is built from those pictures. Nothing is copied across from the original: no text, no fonts, no hidden layers, no attachments, no form values.
That means there's nothing under the boxes to select, search or dig out. The trade-off is that nothing else on the page can be selected either, since it's all one picture now. If you need the wording as text, use Download as text (.txt), which has the same masks.
How to remove metadata from a PDF
PDFs carry more than their pages. The document properties usually hold an author name, the software that made the file and the dates it was created and changed, and there can be comments and hidden layers too. People forget these, and a carefully blacked-out file still says who wrote it.
Because the masked PDF from Fileshape is built from scratch out of page pictures, it has no document properties from the original at all. That makes it a blunt but dependable way to strip metadata, even if you mask nothing: open the PDF, switch off every mask, and download.
The blunt part is that you lose selectable text. If you need to keep real text and only drop the metadata, that's a job for Acrobat Pro's sanitize step, which is next.
Redacting with Adobe Acrobat
Acrobat has a proper Redact tool, and Adobe's tutorial says it's available only in Acrobat Pro, Premium or Studio, so the free Reader doesn't have it. The steps, from Adobe's own guide:
- 1. Open the file, choose All tools, then Redact a PDF.
- 2. Choose Redact text and images and drag over what should go, or use Find text and redact to search for a word, phrase or pattern.
- 3. Select Apply.
- 4. Select Continue when it offers to sanitize, which removes hidden information such as comments, metadata and hidden layers.
- 5. Acrobat saves the result as a new file, so your original stays as it was.
Which one should you use?
If you already pay for Acrobat Pro, use its Redact tool. It keeps the rest of the document as real, selectable text, and it handles scans and images.
If you don't, the mask editor does the job for text PDFs at no cost. Its limits are worth knowing up front: PDFs up to 50 MB when you're signed in, up to 1,000 pages to open, and a masked PDF for up to 300 pages (longer files can be downloaded as masked text, or split first).
And whichever tool you use, run the copy-and-search test on the result before you send it.
What the mask editor can't do
It can't redact scanned PDFs. A scan is a photo of a page, so there's no text to find or select, and the editor tells you so when it sees one. It also can't cover pictures inside a PDF, such as a signature image or a photo, because masks attach to text.
It also redacts text in plain text files (.txt, .md) and Word documents (.docx), with one catch for Word: the masked copy comes out as plain text, so the wording is kept and the formatting isn't.
Redacting before you share with AI
A lot of redaction these days isn't for a court filing. It's for pasting a document into ChatGPT or Claude without handing over a client's name or your account number. The same rules apply, with one extra thought: the "keep last 4" and label styles are more useful to an AI than solid black, because the model can still tell that two masked values are the same person or account.
If the PDF is a statement and you want totals out of it, you can send its tables to Ask AI with the masks applied instead of downloading. For the wider picture, see hide personal data before sharing with AI and data masking tools.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
Why isn't a black box enough to redact a PDF?
A box drawn over text is a separate object on top of it. The text is still stored in the file, so anyone can select it, copy it or find it with search. Redaction has to remove the text itself.
How do I redact a PDF for free?
Open the PDF in Fileshape's mask editor at fileshape.app/mask, choose what to mask, and download the masked PDF. It's free and needs no account. It works on PDFs with real text, not scans.
Can I redact a password-protected PDF?
Yes. The mask editor asks for the password and opens the PDF once you enter it. The masked PDF you download is a new file without a password.
Does redacting remove metadata from a PDF?
Not always. It depends on the tool. Fileshape's masked PDF is rebuilt from pictures of the pages, so none of the original's document properties, comments or hidden layers are in it. In Acrobat Pro, choose the sanitize option when you apply redactions.
Can I redact a scanned PDF?
Not in Fileshape's mask editor, because a scan has no text to select. Acrobat Pro's Redact tool can mark areas of an image.
Can I still copy text from the masked PDF?
No. Its pages are pictures, so no text can be selected. Download the masked text (.txt) as well if you need the wording.
More from the blog
Keep reading
- Claude MCP: how to add connectors in claude.ai, Claude Desktop and Claude CodeThe three ways to add an MCP server to Claude: custom connectors in claude.ai, the Claude Desktop config file and claude mcp add in Claude Code.
- ChatGPT MCP: how to add an MCP server (what used to be a custom connector)Which ChatGPT plans can add a custom MCP server, the steps on the Plugins page, sign-in options and limits, with a spreadsheet server as the example.
- Filesystem MCP server: what it is, how to set it up, and where it stopsWhat the official Filesystem MCP server does, the Claude Desktop config for it, its tools and limits, and what to use in claude.ai or ChatGPT instead.
- The best MCP servers for files, by what you need them to doAn honest list of MCP servers for files, picked by job: local folders, CSV and Excel, Google Sheets, PDFs, databases and cloud drives.
Updated 2026-12-06