Image tools

How to Blur or Pixelate Part of an Image (Faces, Plates and Text)

How to blur a face, pixelate a number plate or black out text in a photo - choosing between blur, pixelate and a solid box, how strong is strong enough, and why pixelated text is not always safe.

6 min readUpdated

Before a photo goes online there is often something in it that should not be: a stranger's face, a car's number plate, a house number, the address on a parcel, the last digits of a card in a screenshot. Hiding those is a small edit, but the three ways of doing it - blurring, pixelating and covering with a solid box - are not equally safe, and the difference matters most for exactly the things people most want hidden.

The Blur Image tool does all three in your browser. This guide walks through it, explains what each effect actually does to the pixels, and shows how to choose a setting that hides what it should.

Blurring part of a photo, step by step

  1. Open the Blur Image tool and drop in a PNG, JPG or WebP file.
  2. Pick the effect: Pixelate, Blur or Solid box. It applies to every area you mark, and you can switch at any time to compare.
  3. Drag across the picture over the first thing to hide. Drag again for each further face, plate or line of text - there is no limit.
  4. Fine-tune each area: drag it to move it, drag a corner to resize it, and press the x on it (or the Delete key) to remove it. Switch the shape to Ellipse for faces, which sit better in an oval than a box.
  5. Set the strength, choose PNG or JPG, and click Download. The file keeps the photo's original width and height.

To blur or pixelate the entire picture - a background for a slide, say - use 'Select whole image' instead of drawing an area.

What blur, pixelate and a solid box really do

Pixelating cuts the area into square blocks and replaces every pixel in a block with the average colour of that block. A 90-pixel block that covered a mix of white plate and black letters becomes one flat grey. The result is the familiar mosaic you see on television.

Blurring replaces every pixel with a weighted average of its neighbours, giving the most weight to the closest ones - a Gaussian blur. The tool's strength figure is the spread of that average: most of the weight lies within about three times that distance, so a 90-pixel blur draws on pixels up to roughly 270 pixels away. The tool reads real pixels from around each area first, so its edge blends into what is genuinely next to it.

A solid box simply paints the area one opaque colour. Nothing of the original survives inside it.

The important point is that blur and pixelate are both averages. They throw away detail, but what is left is still computed from the original - and for some kinds of content, that is enough to work backwards from.

Why pixelated text is not always hidden

Faces and scenes are hard to recover from a mosaic because there is no short list of what they could have been. Text is different. If someone knows or can guess the font, size and the set of possible characters - digits on a card, letters on a plate, a password in a screenshot - they can render each candidate, pixelate it with the same block grid and keep the one whose averages match. Open-source tools such as Depix have shown this working on pixelated screenshots of text, and small blurs can be attacked the same way.

Two practical rules follow. For any text that must stay secret, use a solid box: it carries no information to match against. If you do pixelate text for appearance's sake, make the blocks at least as large as the letters, so each block mixes several characters and there are too few blocks to tell candidates apart.

One more trap catches people using phone markup tools: a translucent highlighter stroke looks solid on screen, but the text underneath is still there at reduced contrast, and turning up the contrast brings it back. The tool's solid box is fully opaque and replaces the pixels outright.

A worked example: a number plate

Say you have a 4000 x 3000 phone photo of a street, and a parked car's plate takes up an area about 520 x 110 pixels.

  • Strength is set as a percentage of the image's shorter side, so it means the same thing on a small screenshot and a large photo. The default of 3% on a 3000-pixel side gives 3000 x 0.03 = 90-pixel blocks, which the tool shows next to the slider.
  • Across the plate that is 520 / 90 = 5.8, rounded up to 6 columns, and 110 / 90 = 1.2, rounded up to 2 rows - just 12 blocks for seven characters. Each block is wider than a letter, so every block blends parts of two characters with the plate's background. That is a strong setting.
  • Drop the strength to 1% and the blocks shrink to 30 pixels: 18 columns by 4 rows, 72 blocks, with each letter spread across several of them. That still looks hidden at a glance, but it is exactly the fine grid that matching attacks need. For a plate, stay at the higher setting - or use a solid box.

Because strength scales with the picture, the reduced-size preview and the full-size download look the same: the same number of blocks across the plate.

Faces, crowds and backgrounds

For people, the aim is usually that they cannot be recognised, not that every pixel is destroyed. An elliptical blur over each face looks natural and keeps the photo pleasant to look at. Give it enough strength that the eyes, nose and mouth merge into one soft shape, and make the area slightly larger than the face so the hairline and ears go too - those are surprisingly identifying.

Remember the rest of the picture as well. A child's school badge, a name on a lanyard, a door number or a distinctive tattoo can identify someone just as well as a face.

PNG or JPG, and what the file keeps

The download matches your original's format by default: a JPG stays a JPG, saved at high quality, and anything else becomes a PNG.

Either way the result is flat. There are no layers to switch off, and the original pixels inside each area are replaced rather than covered, so opening the file in another editor shows only what you saw in the preview. The download also carries no EXIF data, so the GPS position and timestamp your camera recorded are not passed on - worth checking separately with the EXIF Viewer for any photos you share untouched. If the sensitive part is near an edge, cropping it out entirely is cleaner still.

Privacy

Photos that need blurring are, by definition, photos with something private in them. The image is read from your own device and processed on a canvas in your browser; nothing is uploaded and no copy is kept.

Hide it now

Drop in a photo, drag over what should not be seen and download a clean copy. Open the Blur Image tool - free, no sign-up, and nothing ever leaves your browser.

Frequently asked questions

How do I blur a face in a photo?
Load the photo into the Blur Image tool, choose Blur, switch the shape to Ellipse and drag across the face. Make the oval a little larger than the face so the hairline and ears are covered, raise the strength until the features merge, and download. Repeat the drag for each face in the picture.
Can pixelation or blur be reversed?
Not by editing the file - the original pixels are replaced, not hidden under a layer. But both effects are averages of the original, so for text from a predictable set (card digits, plate letters, a password in a screenshot) an attacker can try candidates until the averages match. Use large blocks for text you only want obscured, and a solid box for anything that must stay secret.
Is it better to blur or pixelate a number plate?
Either works if it is strong enough that each block or blur spans more than a whole character - at the default 3% strength, a plate on a phone photo becomes about a dozen blocks. Weak pixelation with many small blocks is the risky case. A solid box is the only option that leaves nothing behind.