Redact a PDF
Choose a PDF, drag a black box over anything private, and download a copy where the covered content is gone for good — redacted on your own device.
- Free
- No account
- Runs in your browser
- Nothing uploaded
A black box drawn on a text PDF is not redaction — the text underneath stays in the file and can still be copied out. This tool makes it real: every page you draw on is rebuilt as a flat image with your boxes painted solid black, so the covered content is gone. Pages with no box are copied through unchanged and keep selectable, searchable text. Rebuilt pages are images, so their text becomes non-selectable and the file is usually larger.
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Redact a PDF?
Redact PDF removes the parts of a document you mark, rather than simply covering them. You open a PDF, draw a black box over each name, account number, signature or paragraph that must not leave your hands, and download a copy in which that content no longer exists. It is for sending a contract, a payslip, a medical letter or a support ticket to someone who should see the rest of the page but not the private part.
The most important thing to understand is why a black rectangle is not enough. If you draw a filled black box on an ordinary text PDF — in a viewer, or by adding a shape with an editor — the words underneath are still there. They are still text, still selectable, still found by search, and still recoverable by anyone who opens the file with the right tool and reads the objects below the box. That is cover-up, not redaction, and it is how redactions have leaked in real life. To genuinely remove the words, the page has to stop being text.
This tool does that. Each page you draw a box on is rendered into a picture at the resolution you choose, your boxes are painted into that picture as solid black, and the page in the downloaded PDF is that picture instead of the original text. The covered characters are not hidden behind a box — they are not in the file at all after the page is rebuilt, because the rebuilt page contains only pixels. The cost is exactly what you would expect: a rebuilt page is an image, so its text can no longer be selected, searched, copied or read by a screen reader, and the file is usually larger than before. The pages you mark keep their size and their layout, because the picture is the same page drawn at the resolution you chose; only their nature changes, from text to image.
Just as important is being precise about which pages change, because a tool that quietly rebuilds a whole document would be as surprising as one that quietly fails to. Only the pages you actually draw a box on are rebuilt. Every other page — the ones you never opened, and the ones you opened but did not mark — is copied through completely unchanged, so their text stays selectable and searchable and their file size does not grow. If you redact page 3 of a twelve-page report, pages 1, 2 and 4–12 come through as they were. The result panel tells you how many pages were rebuilt, and the box count on each page is shown as you work.
The resolution you pick sets where the boundary between quality and size falls. At 72 DPI a page is roughly screen resolution, good for a quick job; 150 DPI is the default and reads comfortably on screen; 300 DPI keeps fine print crisp for printing. A single rebuilt page cannot exceed 100 megapixels or 16,384 pixels per side, and a whole job cannot exceed 1,000 megapixels, because everything is held in your browser's memory — when a request goes over, the tool names the page and suggests a lower resolution. Password-protected PDFs are refused and have to be unlocked and re-saved first, and files up to 200 MB are accepted.
Two things this tool does not do, so you know before relying on it. It does not remove hidden data that is not drawn on a marked page — if your private text sits on a page you did not mark, that page is copied through with the text intact, so mark every page that carries something private. And because the output is a new document assembled from the pages, document-level items that live outside the pages are not carried over: bookmarks, form fields and the document title/author metadata are dropped, and a link that pointed at a rebuilt page is removed. Links between pages you did not redact keep working.
Your PDF never leaves your device. It is read and rebuilt inside your browser tab with pdf.js and pdf-lib; you can confirm in the Network tab of your browser's developer tools that no request carries the file.
1. The file's first bytes are checked for the %PDF- header, so an image renamed to .pdf is named for what it really is. Files over 200 MB are refused before they are read into memory. 2. pdf.js opens the PDF and reports each page's displayed size in PDF units (1/72 inch), with any page rotation applied. A password-protected or damaged file is refused with a message that says why. 3. The page you are looking at is drawn to a canvas at preview resolution — a scale of min(2, 1000 ÷ page width, 1600 ÷ page height). You draw boxes on that canvas; each box is stored in preview pixels with a top-left origin. 4. For each marked page, every box is converted twice: preview pixels → PDF points, flipping the vertical origin because PDF y grows upwards from the bottom-left, then PDF points → output-image pixels with a top-left origin, at the chosen DPI. Edges are rounded outwards (floor the left and top, ceil the right and bottom) so a box never leaves a one-pixel sliver of the content it covers. 5. The resolution is checked first: pixel size = points × DPI ÷ 72. A rebuilt page over 100 megapixels or 16,384 px per side, or a job over 1,000 megapixels in total, is refused before anything is drawn, naming the page and suggesting a lower resolution. 6. Each marked page is rendered again at the chosen DPI, the boxes are filled solid black onto that image, and the image is encoded as a JPEG (quality 90, on white). Pages with no box are copied through byte-for-byte. 7. The output is assembled in page order — copied pages and rebuilt pages interleaved — and saved as <name>-redacted.pdf.
Worked examples
- A box 50 px from the left and 100 px from the top of a 306 × 396 preview — half scale — of a 612 × 792 pt (US Letter) page, 60 × 20 px in size, covers page points x 100–220 and y 552–592 measured from the bottom: x 100, y 552, 120 × 40.
- The same box on that Letter page at 150 DPI becomes x 208, y 416, 251 × 84 output pixels — rounded outwards so no sliver of the covered area is left un-blackened.
- The same box at 72 DPI is exactly x 100, y 200, 120 × 40 output pixels, because 1 PDF unit is 1 pixel at 72 DPI.
- report.pdf, 12 pages, with one box drawn on page 3 → report-redacted.pdf: pages 1, 2 and 4–12 are copied through unchanged (their text stays selectable) and only page 3 is rebuilt, as a 1275 × 1650 px image at 150 DPI with the box painted black.
- An A0 poster at 300 DPI → refused: it would be 9933 × 14043 px, over the 100-megapixel canvas limit; the message suggests a lower resolution, and 150 DPI works at 4966 × 7021 px.
- 200 Letter pages, each with a box, at 300 DPI → refused: 1,683 megapixels in total, over the 1,000 MP a browser tab can safely hold at once.
How to use Redact a PDF
- Click "Choose a PDF to redact" or drop a PDF onto the box. The first page appears, and every control stays disabled until the file is open.
- Move through the file with the page arrows (or type a page number), and drag on the page to draw a black box over each thing that must be hidden. Drag a box to move it, its handles to resize it, Delete to remove it.
- Choose a Rebuild resolution — 150 DPI suits most uses, 300 DPI for fine print.
- Click "Redact & download". The button shows progress while each marked page is rebuilt in your browser.
- Click Download to save <name>-redacted.pdf, and open a rebuilt page to confirm the covered content is an image, not text.
Common errors
- "… is actually a PNG file, not PDF" — the file was renamed. This tool reads the file's contents, not its name; use the tool for the format it really is.
- "… is not a readable PDF — the file is damaged or incomplete" — usually a download that did not finish. Download the PDF again and retry.
- "… is password-protected. Open it in a PDF reader with the password, save an unprotected copy, and use that." — encrypted PDFs are refused rather than turned into a broken file.
- Draw at least one redaction box — nothing is hidden until you cover the content you want removed. — the button stays disabled until you have drawn a box on at least one page.
- Box 2 on page 4 is outside the page — draw it again inside the page area. — a box drifted past the page edge; redraw it inside the page.
- Page 9 does not exist — this PDF has 6 pages. — a marked page number is past the end of the document.
- Page 1 at 300 DPI would be 9933 × 14043 px — more than a browser can safely draw (100 megapixels, 16,384 px per side). Choose a lower resolution. — the page is very large (a poster or drawing); pick the lower resolution the message suggests.
- These 200 redacted pages at 300 DPI are 1,683 megapixels in total — over the 1,000 MP a browser tab can safely hold at once. Choose a lower resolution. — many marked pages at a high resolution; redact them in smaller passes or at 150 DPI.
FAQ
Is the text really gone after redacting?
On every page you draw a box on, the page is rebuilt as an image, so the whole page's text — not just the covered part — is no longer in the file as text. The covered characters are not hidden behind a black box; they are not present at all. On pages you do not mark, the text is untouched and still selectable, so mark every page that carries something private.
Why not just draw a black box on the PDF?
Because a black box over text redacts nothing. The words underneath stay in the file as text — selectable, searchable and readable by anyone who looks below the box — which is how real redaction leaks have happened. This tool removes them by rebuilding the marked page as pixels, so the only thing left where the text was is a picture of solid black.
Which pages of my PDF get changed?
Only the pages you draw a box on. Every other page, including pages you looked at but did not mark, is copied through completely unchanged, so its text stays selectable and the file does not grow there. The panel shows how many boxes you have and how many of the document's pages will be rebuilt before you download.
Can I still select or search text after redacting?
Not on the pages you marked: those pages are images, so their text cannot be selected, searched, copied or read by a screen reader. Pages you did not mark keep their text. If selectable text everywhere matters more than removing the marked content, keep the original PDF as well.
Will the redacted file be bigger?
Usually yes, if you mark pages. A rebuilt page is a full-resolution image rather than compressed text, so it takes more space, and the increase grows with the resolution. Pages you did not mark are copied unchanged, so only the marked pages add size. Choosing 150 DPI instead of 300 DPI roughly quarters the pixels of each rebuilt page.
Is a redacted PDF safe to send?
The content you covered on a marked page is genuinely removed from that page, which is what makes it safe to send. Be careful about what else is in the file: text on pages you did not mark, and anything in the parts the tool drops (bookmarks, form fields, document metadata) travels or disappears in ways you should check. For maximum safety, redact a copy and open the result to confirm nothing private remains.
Can I redact a password-protected PDF?
Not directly. Open the PDF with its password in a reader, save an unprotected copy, and redact that copy. This tool does not remove or bypass passwords.
Does redacting a PDF work on a phone?
Yes, in any modern mobile browser. Phones have less memory, so for long or large documents prefer 150 DPI and redact in smaller batches; iPhones and iPads also cap a single image at about 16.7 megapixels.
Related tools
- PDF to JPG ConverterPick a PDF, choose the pages and resolution, and download each page as a JPG image — rendered on your own device, never uploaded.
- Flatten PDFChoose a filled-in PDF form and flatten it: every field's current value becomes fixed page content and nothing stays editable — processed on your device.
- Remove PDF MetadataDelete a PDF's document properties, its XMP metadata packet and its file identifiers, then download a clean copy — all on your own device, with nothing uploaded.
- Remove PDF PagesChoose a PDF, type the pages you want to delete — like 2, 5-6 — and download the same PDF without them. Nothing leaves your device.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.