Redact PDF
Draw rectangles over a page preview, then export a PDF where those areas are rasterised and painted over with opaque black. A black box drawn over text is not redaction — a viewer can still copy or select the words underneath — so the covered pages are flattened to images and the boxes burned in, destroying the underlying text layer. Pages you do not touch keep their searchable text.
🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.
1 · Choose the PDF
Drop a PDF here, or browse
The file never leaves your device.
2 · Mark what to hide
Pick a page, then drag on the preview to draw a rectangle over the content that must be destroyed. Tab to a rectangle and use the arrow keys to move it (hold Shift for bigger steps), + / - to resize it and Delete to remove it. Every rectangle is listed below with number fields, so it can be placed without a mouse.
Choose a PDF to start redacting.
3 · Options
An array of { page, regions } entries; regions are { x, y, w, h } rectangles in percent of the page. Filled in by the page preview.
How many rendered pixels per PDF point on redacted pages. Higher is sharper but makes a larger file.
How it works
How a redaction is planned
Mark rectangles on a page preview, and the panel writes them into the plan as JSON: an array of page entries whose regions are x, y, w and h in percent of the page. Each entry needs a whole page number; regions are clamped into the page and merged per page.
Why a black box is not enough
Drawing a dark rectangle in an editor leaves the text layer intact, so anyone can select the words underneath. Flattening the marked pages to images and burning the boxes in opaque black destroys that layer, which is why redacted pages lose searchable text while untouched pages keep theirs.
Scale and output name
The scale option sets rendered pixels per PDF point, from 1 to 4, with 2 as the default — higher is sharper but heavier. Output name gives the exported copy a label you choose instead of the default redacted.pdf.
Caveats and privacy
The change cannot be undone, so keep the original. At least one rectangle is required, and a plan with no usable regions is rejected. Rasterising needs a browser with OffscreenCanvas, and everything runs on your device with no uploads.
Questions
Is a black box over the text enough to redact it?
No. Covering words with a dark rectangle is reversible — the text layer underneath is still in the file, so anyone can select or copy it. Real redaction flattens the covered pages to images and paints the boxes in, destroying the underlying text entirely. That is what this tool does.
What happens to the pages I redact?
They are rasterised to images and the boxes are burned in. That means they lose their text layer — you cannot search or select text on those pages any more. Pages you do not touch keep their original searchable text.
Is the redaction reversible?
No. The covered pages are flattened to pixels and the boxes painted over them in opaque black. The original content is gone, so nothing can restore it. Always keep a copy of the original file before redacting.
Does the file leave my device?
No. Everything — rendering the pages, burning the boxes and rebuilding the PDF — happens in your browser.
Related tools
See categoryExtract PDF Text
Extract selectable text from every page of a PDF.
Watermark PDF
Overlay translucent text on selected PDF pages as a centered or tiled watermark.
Compress PDF
Shrink a PDF by re-encoding its images and rebuilding the file, with before/after size.
PDF to Images
Render selected PDF pages as PNG, JPEG, or WebP images.