This page's code did not start.

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

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

Image Redactor — black out, pixelate or blur

What you cover is deleted from the file, not covered up in it.

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

The picture is decoded, painted over and encoded again by your own browser, using the codecs it already ships with. This tool has no network feature of any kind — nothing to fetch, nothing to send — which matters more here than almost anywhere else on this site: the pictures people bring to a redaction tool are the ones with a name, an address or an account number still legible on them.

Live check: checking…

Offline: checking…

Don't take our word for it: open DevTools, watch the Network tab, and redact a screenshot of something. Not one request carries an image, a thumbnail, a filename, or the position of a single box. Or unplug from the internet and redact one anyway.

1 Choose the image

A screenshot of a bank statement, a photo of a passport, a bill with an address on it — the pictures people need to redact are exactly the pictures they should not be uploading to a stranger's server to have it done. This one is read straight off your disk by the browser.

2 Cover what should not be seen

Drag across the picture to draw a box. Drag a box to move it, drag its handles to resize it, or press Tab to reach one and use the arrow keys — Alt and the arrows resize, Delete removes. What you see under each box is the real thing: the preview is drawn by the same code that writes the file, at screen size.

Black it out One flat colour, edge to edge. Nothing of what was there survives — not an outline, not an average, not the number of characters. This is the only one of the three that is finished, and it is what to use for anything that reads as text.

Pixelate it Each block becomes the average colour of that block. The original pixels are gone from the file, but a grid of averages is still a measurement of what was underneath — and for text in an ordinary font that has been enough, in published work, to reconstruct the original. Fine for a face in a crowd; not for an account number.

Blur it Each pixel becomes a weighted average of its neighbours. The same objection as pixelating, a little more sharply: blurring is a convolution, and convolutions can in principle be worked backwards. Use it where you want something softened rather than hidden.

Choose an image and it appears here to draw on.

3 Save the redacted copy

The picture is decoded to pixels, the boxes are written over those pixels, and the result is encoded as a new file. There is no layer, no annotation and no record of where the boxes were, because the covered pixels stop existing before the encoder is handed anything.

Format It makes no difference to the redaction: the pixels are already gone before the encoder sees them. It only decides what the rest of the picture costs and how it is compressed.

View as Markdown

How to redact an image so the hidden part is really gone

  1. Choose the image. A screenshot, a scan or a photo — anything your browser can open. It is read straight off your disk; nothing is sent anywhere while you do it.
  2. Drag a box over what should not be seen. Drag again for the next one. A box can be moved, resized by its handles, or reached with the Tab key and moved with the arrows. What appears under the box is the real result, drawn by the same code that writes the file.
  3. Choose black, pixelate or blur — and prefer black. A black fill leaves nothing at all. Pixelating and blurring replace the pixels with averages of themselves, which is enough for a face in the background and is not enough for anything that reads as text.
  4. Press "Redact and save", then check the file. The picture shown afterwards is the finished file, decoded again. Open it in an editor and look for a layer or try to select the covered text: there is one flat picture, and the parts you covered were overwritten before it was written out.

The longer version

How to redact an image so the hidden part is really gone Black boxes drawn in most programs sit on top of the picture and can be moved aside. What separates a real redaction from a covered one, why pixelated text can be read back, and how to check a file before you send it.

Questions

Is my image uploaded anywhere?

No. The file is decoded, redacted and encoded by your own browser on your own hardware. This tool has no network feature of any kind — it never fetches anything and never sends anything — and the page's Content-Security-Policy names every address it may contact, none of which belongs to this site. Load the page once, unplug from the internet, and it still works.

Is the covered part really gone from the file?

Yes, and that is the reason this tool exists. The picture is decoded into a buffer of pixels; the boxes overwrite the pixels inside them; the buffer is then encoded as a new file. The original values are gone from memory before the encoder is handed anything, so there is no layer to hide, no annotation to remove and no history to undo. You can check it the way you would check anybody else's claim: open the result in an image editor and look for a second layer, or try to select the text you covered.

Can a pixelated or blurred area be recovered?

Sometimes, and this is the one thing worth reading before choosing. A black fill replaces everything under it with one flat colour, so nothing survives — not an edge, not an average, not the number of characters. Pixelating replaces each block with the average of that block, and a grid of averages is still a measurement of what was underneath: for text in an ordinary font at a predictable size, published work has reconstructed the original by rendering candidate strings and comparing their averages. Blurring is a convolution, and convolutions can in principle be worked backwards. So pixelate or blur a face in the background if you like, and black out anything that reads as text.

Why is a black rectangle drawn in a document editor not the same thing?

Because most editors save the rectangle beside the picture rather than into it. A shape drawn in a PDF reader, a slide deck, a word processor or a layered image editor is an object with a position, sitting on top of the page — and moving it, deleting it, or opening the file in a different program puts back exactly what it was covering. Newspapers, courts and government departments have all published documents that were redacted that way. Here the rectangle is not saved at all: it is a set of pixel values written over the ones that were there.

Does it also remove the EXIF and GPS data?

Yes, as a side effect. Saving means encoding a canvas full of pixels, and a canvas carries no tags, so the location, camera model, timestamps and the embedded thumbnail are simply not written to the new file. The thumbnail matters here: it is a small second copy of the picture, it is not always regenerated when a photo is edited, and a redacted photo travelling with an un-redacted thumbnail is a real way to undo this work. EXIF Viewer & Remover reads and edits JPEG, PNG and WebP metadata without re-encoding their pictures. For AVIF, it shows available EXIF as read-only and cleans by converting the first decoded image to a new PNG; color or HDR may change.

Which formats can it read and write?

It reads anything your browser can decode, which in practice means JPEG, PNG, WebP, GIF, BMP and — on most current browsers — AVIF. It writes JPEG, PNG and WebP, because those are the encoders browsers ship. On "auto" a JPEG comes back as a JPEG and everything else as a PNG, which keeps a photograph the size of a photograph and keeps a screenshot's remaining text crisp. The choice makes no difference to the redaction: the pixels are already gone before the encoder sees them.

Can I do this without a mouse?

Yes. "Add a box in the middle" puts one on the picture, Tab moves between boxes, the arrow keys move the focused one and Alt with the arrow keys resizes it — Shift makes each step ten pixels — and Delete removes it. Every box also has a row underneath the picture with its size, its position, what it does, and a button to remove it, so the whole tool is usable from the keyboard and readable by a screen reader.

Does it work on a phone?

Yes. Drawing, moving and resizing are all pointer events rather than mouse events, so a finger works the same way, and the handles are drawn larger on a touch screen. The picture on screen is redrawn at screen size while you work — the file itself is always redacted at its own full resolution when you press the button.

Is it free, and do I need an account?

It is free, and there is no account, no sign-in, no trial and no watermark. There is no limit on the size of the picture either, because there is no server paying for it — the work happens on your own machine. The site carries advertising, which is what pays for it; the ads are not given anything about your images.