This page's code did not start.

Opening index.html directly from a folder blocks JavaScript modules, so nothing will happen when you choose a PDF. Serve the folder over http instead:

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

Redact PDF — the words come out, not a box over them

The letters are deleted from the file, and the file is searched afterwards to prove it.

Language: English
View source
Your documents are processed in your browser. No processing upload.

The document you choose is opened, read, edited and written back out in memory on this machine, by code served from this address. Nothing here can make an upload, and there is no server on the other end of this page to receive one. Neither the file nor the words you searched for leave the tab.

Live check: checking…

Offline: checking…

Don't take our word for it: open DevTools, watch the Network tab, and redact something. Not one request carries a page, a word, or a filename. Or unplug from the internet and redact it anyway.

1 Choose your PDF

2 Say what has to go

Type the words — a name, an address, a reference — and every place they appear is listed below with the line they sit on. Nothing is removed until step 4, and nothing is removed that you have not ticked.

These are patterns, and a pattern cannot tell a telephone number from a reference number. Card numbers and IBANs are checked against their own check digits; the rest are offered, never ticked for you, and it is worth reading each one.

Or look for the things that are usually sensitive

3 Read the page, and pick words off it

This is the text as it is stored in the document, in the order a reader would copy it — which is not always the order it is printed in. Click any word to take it out, click it again to keep it. Everything struck through here is what will be gone.

Use Tab to reach a word, then Enter or Space to select it or keep it.

4 Take the words out

Draw a black box where each one was So that a reader can see something was removed. The box is decoration here and not the redaction: the letters have already gone from the file by the time it is drawn. Turn it off and the words simply disappear, leaving the space they occupied.

Take the same words out of the rest of the document Bookmarks, comments, sticky notes, and what has been typed into form fields. A word removed from a page and left in a bookmark has not been removed. The document's properties go whatever this says, and so does the replacement text a reader copies instead of the letters on the page — both of those are the document saying the word, not somewhere else keeping a copy of it.

Drop attachments and anything that runs A PDF can carry whole files inside it and JavaScript that runs when it opens. Neither can be searched for the words you are removing, and neither is needed to read a document.

View as Markdown

How to redact a PDF so the words are really gone

  1. Choose the PDF. One document at a time, on purpose: redaction is a job that has to be looked at page by page, and a tool that let you tick words in one file and quietly applied them to another is exactly how the wrong thing gets sent. It is read straight off your disk by the browser.
  2. Say what has to go. Type the words — a name, an address, a reference — and every place they appear is listed with the line they sit on and a box to tick. The finders beside the box will look for email addresses, card numbers, IBANs, national insurance and social security numbers, and telephone numbers. Those are offered, never ticked for you: a pattern cannot tell a phone number from a reference.
  3. Read the page and pick words off it. The panel shows the document's text as it is actually stored, in the order a reader would copy it. Click any word to take it out and click it again to keep it. Everything struck through is what will be gone — which makes this the review as well as the selection, and it is worth doing on every page before you press the button.
  4. Take them out, and read the line that says it was checked. The letters are deleted, the gap they left is held open, a black box is drawn over it if you asked for one, and the same words are taken out of bookmarks, comments, form fields and the document's properties. Then the finished file is opened again here and searched. If a word you removed is still findable in it, you get no download and a message saying so.

The longer version

How to redact a PDF so the text is really gone A black box drawn in a PDF reader usually leaves the words underneath it, and copy-and-paste gets them straight back. What a real redaction removes, the four places a word hides outside the page, and how to check a file before you send it.

Questions

How is this different from drawing a black box in a PDF reader?

A rectangle drawn in a reader is an annotation: an object with a position, saved beside the page. The text under it is untouched. Anybody who selects that area and presses copy, or opens the file in a different program, or runs any text extractor over it, gets the words back. Some readers offer a "redact" command that does apply the removal properly — and several offer only the drawing. This tool has no rectangle to move aside: the letters are cut out of the page's drawing instructions, and the black box, if you leave it switched on, is drawn afterwards over a gap that is already empty.

How do I know the words are really gone?

Because the tool checks, on your machine, and shows you the count. When the file has been written it is opened again by the same reader on this page, every page is read, every bookmark, comment, form field and property is collected, and each word you removed is searched for. The results line says how many there were and how many are left. If the answer is not what it should be, the run fails and nothing is offered for download. You can also check it yourself afterwards in any reader: press Ctrl+F and look for the word.

Does the rest of the page move when a word is removed?

No. Text is drawn by advancing a pen across the page, so deleting five letters would ordinarily pull the rest of the line five letters to the left. The exact width of what was removed is measured from the font's own metrics and put back as a spacing instruction, which moves the pen without drawing anything. Columns stay lined up and totals stay under their headings.

Can it redact a scanned document?

Not the picture, and it says so rather than pretending. A scan is a photograph of a page: the words are pixels and there is no text to remove. What a scan often does carry is an invisible text layer that the scanner's OCR wrote over the picture so the page can be searched — this tool finds that layer, removes what you choose from it, and tells you on the page that the picture is unchanged. So a search and a copy stop finding the word, and a person looking at the page still reads it. For a picture, the image redactor overwrites the pixels themselves.

What about the parts of a document that are not on a page?

They are handled, because they are where a redaction usually leaks. The same words are taken out of bookmarks, comments and sticky notes, what has been typed into form fields, the text a screen reader is given, and the replacement text a reader copies instead of the letters on the page — that last one exists so ligatures and hyphenated words copy properly, and it can hold a whole sentence. The document properties and the XMP packet are removed outright. Attachments and anything that runs when the file opens are dropped, because neither can be searched for the words you are removing.

Are my documents uploaded anywhere?

No. The file is read, edited and written by your own browser on your own hardware. There is no server side to this tool, and the page's Content-Security-Policy names every address it may contact — none of them belongs to this site. What you type into the search box is compared against text in this tab's memory and goes nowhere either.

Why can I not drag a box over the page like other tools?

Because drawing a page means a full PDF renderer — fonts, shading, transparency, blend modes — which is a megabyte or more of engine to fetch and run, and this site ships none. That turns out to suit the job: dragging a rectangle selects an area of paper, and an area of paper is not the same thing as the text under it, which is how the black-box failure starts. What you get instead is the document's text, in reading order, with every word clickable. It is also the only view that can tell you the thing a picture of the page cannot: whether the words in front of you are text at all.

Will the finished file open everywhere?

Yes. The output is written as PDF 1.5 or the highest version the file you gave it needed, and 1.5 is understood by every reader shipped since 2003. Nothing on the page is re-encoded: the fonts, pictures and vector drawing come through byte for byte, so what is left of the text stays selectable and searchable exactly as it was.

Can it open a password-protected PDF?

No, and that is deliberate. An encrypted document is refused with a message saying so, even when the password is blank — which is how a lot of scanners and copiers save. Taking the protection off a file is a different job from taking words out of it, and a tool that did it silently would be doing something you did not ask for.

Is there a size limit, and does it cost anything?

There is no limit written into the tool. The limit is your own machine: the document is held in memory while it is worked on, so a laptop will take a few hundred megabytes without complaint and will struggle somewhere above that. It is free, there is no account, no sign-in and no trial. The site carries advertising, which is what pays for it; the ads are not given anything about your documents.

Does it work offline?

Yes. Load the page once, then disconnect from the internet and it keeps working. That is also the simplest way to prove nothing is being uploaded: a tool that sent your document away to be redacted would stop the moment you unplugged.