Can Pixelation and Blur Be Reversed? What Survives Each Method
How mosaic pixelation and Gaussian-style blur work, how much information they leave behind, and why solid redaction is the only safe option for secrets.
Primary Browser Tool
Pixelate & Censor Image
Pixelate, blur, or black out selected regions such as faces, plates, and private text, or pixelate the whole image.
What Each Method Does to the Pixels
Pixelation divides an area into square blocks and paints each block with the average color of the pixels it covered. A 20 px block replaces 400 pixels with one color. Blur replaces each pixel with a weighted average of its neighbors; this tool runs three box-blur passes, which is a standard approximation of a Gaussian blur. A black bar sets every pixel in the area to the same value.
The key difference is how much the output still depends on the input. With a black bar, the output is identical whatever was underneath. With pixelation and blur, different inputs produce different outputs, and that dependence is what an attacker can exploit.
How Recovery Attacks Work
Nobody can sharpen a blurred password back into view. The practical attack runs the other way: guess what the hidden text might be, render that guess in the same font and size, apply the same pixelation or blur, and compare the result with the redacted image. If the candidate set is small, such as digits, or the characters of a known format, the correct guess can be found by trying them all.
This has been demonstrated publicly against pixelated account numbers and passwords in screenshots, and machine-learning models have been trained to identify faces and read text from mosaics and blur at rates far above chance. The attacks work best when the font is known, the text is short, and the blocks or blur radius are small compared with the characters.
- Screenshots are the easiest target: fonts, sizes, and alignment are exactly predictable.
- Digits and fixed-format codes have few possibilities per position.
- Faces of people the attacker already suspects can be matched even from coarse mosaics.
Practical Guidance
Use a solid bar whenever disclosure would cause harm. Use pixelation or blur where the goal is courtesy or tidiness, such as bystanders in a street photo, and make it strong: blocks at least a quarter of the height of the feature, or a blur radius large enough that you cannot tell how many characters a line of text has.
Remember that redaction addresses only what is visible. A photo can still reveal where it was taken through embedded GPS data or recognizable surroundings.
| Method | Information left behind | Suitable for secrets? |
|---|---|---|
| Black bar | None (only the size of the covered area) | Yes |
| Pixelate, large blocks | Very coarse color averages | No, though attacks are difficult |
| Pixelate, small blocks | Enough to test guesses against | No |
| Blur, light | Most low-frequency structure | No |
Practical Examples
Pixelated verification code
A six-digit code hidden with 8 px blocks in a screenshot with 16 px text. An attacker can render each digit in the interface font, pixelate it the same way, and match the blocks position by position.
Common Mistakes & Honest Limitations
Mistakes to Avoid
- Believing that a result which is unreadable to the eye is unreadable to software.
- Leaving the length of a secret visible. Even a black bar reveals width, so cover a wider area than the text when length matters.
Technical Limitations
- No visual redaction protects information that also appears elsewhere in the image or in the file’s metadata.