Blur Pixelate Image

Published Updated

Draw up to 50 boxes over faces, plates or screens, blur or pixelate each one, and save a PNG with the effect painted into the pixels. Both effects are worked out in the page's own code, so Blur works in Safari too.

Blur and Pixelate side by side

Both effects are computed on the full-size photo when you press Apply. While you place boxes, the editor only draws their outlines.

BlurPixelate
Strength range2 to 40 px, default 162 to 60 px, default 18
What the number meansStandard deviation of a Gaussian blurWidth of each square block
How it is doneThree box blur passes in the code, on a copy padded by 3 times the radius, so box edges blur like the middleAverage of every pixel in each block, worked out in the code
SafariWorksWorks
Looks likeSoft, smooth patchCoarse mosaic

MDN's description of the blur() function defines the radius as the standard deviation of the Gaussian, so a larger value spreads each pixel further.

Why Blur skips the canvas filter

MDN marks the canvas filter property as not Baseline, and its compatibility data lists Safari support only behind a Canvas Filters preference, so the blur is worked out in the tool's own code. In a test, a black and white striped pattern under a Blur box turned grey in WebKit 26.6, Safari's engine, as it did in Google Chrome 156 and Firefox 155, and all three wrote the same bytes.

The blur also reaches the photo's own edges: a box touching the border leaves nothing of the original showing through. Compare the before and after pictures in any browser.

Hiding part of a photo

  1. Step 1

    Add a photo

    PNG, JPG and WebP open in an editor that fits within 640 x 640 pixels. The full-size photo is kept for the export.

  2. Step 2

    Draw and tune each box

    Drag to draw a box, then move it or pull one of its eight handles. Choose Blur or Pixelate and a strength for it.

  3. Step 3

    Apply and inspect

    Apply bakes every box into one PNG. Check the before and after pictures, then open the download at full size before sharing it.

Text needs more than either effect

A study presented at PETS 2016, On the (In)effectiveness of Mosaicing and Blurring as Tools for Document Redaction, recovered both short and long passages of redacted text with hidden Markov models and concluded that mosaicing and blurring are not viable for redacting text. Names, card numbers and addresses are the risky cases.

For those, cut the area away with Crop Image. In a PDF, Redact PDF paints solid boxes into rasterised pages.

What the saved PNG contains

  • The full-size photo, with every box applied, named after the original with -obscured.png at the end.
  • No EXIF block, so no camera model or GPS position; a phone photo is still saved the right way up.
  • A larger file than a JPG original, as the questions below show. PNG to JPG brings it back down.

Blurring and pixelating: answers

Can someone undo the blur or pixelation?

The saved PNG holds only the altered pixels, so the original is not hidden inside it. What remains can still give it away: research recovered typed text from blurred and mosaiced documents. Use high strength, and crop text out instead.

Does Blur work in Safari?

Yes. Safari runs canvas filters only when a hidden preference is switched on, so the tool does not use them. Blur does its own arithmetic, as Pixelate does, and in a WebKit 26.6 test its output matched Chrome's byte for byte.

Which strength should I pick?

Strength is counted in pixels of the full-size photo, not of the preview. The same value hides less on a large photo: 16 pixels is 1.6% of a 1,000-pixel-wide image but 0.4% of a 4,000-pixel one. On camera photos, move toward 40 for Blur or 60 for Pixelate.

Why is the download a PNG when I uploaded a JPG?

The tool always saves PNG, a lossless format, so the boxes are stored exactly as computed. The cost is size: a 307,159-byte test JPG came out at 3,423,844 bytes in Chrome. Convert the result afterwards if you need a small file; the effect is already in the pixels.

How many areas can one photo have?

Up to 50 boxes. Each keeps its own effect and strength, and switching a box between Blur and Pixelate resets its strength to that effect's default. Boxes smaller than 16 preview pixels on a side are not created.

Does it detect faces for me?

No. Every box is placed by hand, which also covers things a face detector would miss, such as a house number or a reflection.

Related Tools