Blog ยท Updated
Can Blurred Text in a Screenshot Be Recovered?
Yes, blurred or pixelated text in a screenshot can sometimes be recovered, especially short strings like passwords, account numbers and emails. Blur doesn't delete the text. It smears it in a predictable way, and anyone who can guess the font and size can test candidate text until the blur matches. To hide text for good, cover it with a solid box or replace it before you take the screenshot.
Why blur and pixelation can be reversed
A blur filter mixes each pixel with its neighbours using a fixed formula. Pixelation averages each block of pixels into one colour. Both are deterministic: the same text, font and settings always produce the same result.
That is the weak point. Someone trying to read your screenshot doesn't need to "undo" the blur mathematically. They can:
- Read the font and size from the unblurred text around it. Screenshots of web apps usually use a common system font.
- Render candidate text in that font, blur or pixelate it with the same settings, and compare it with your image.
- Keep the candidates that match best and extend them one character at a time.
For a long sentence this is slow and unreliable. For a short value with limited characters, like a 6-digit code, a card's last four digits or an email from a known company, it can work well.
Real examples of recovered text
- Jim Fisher, 2020: When in doubt, don't blur it out shows how blurred text can be recovered with a few lines of brute-force code.
- Depix, 2020: an open-source tool that recovers passwords pixelated in screenshots by matching pixel blocks against rendered text.
- Bishop Fox Unredacter, 2022: the security firm Bishop Fox released Unredacter, which reconstructed text hidden by pixelation in a public challenge. Its advice: never use pixelation for redacting text, and use black bars instead.
- Video, 2022: researchers at Positive Security showed that pixelated text in a video can be recovered, because each frame gives away a slightly different view of it.
Not every blur can be reversed. A heavy blur over long text in an unknown font is hard to attack. You usually can't tell from the screenshot alone which side of that line you're on, though.
Which methods are safe?
| Method | Can it be reversed? | Use it for |
|---|---|---|
| Gaussian blur | Sometimes, if font and size are known | Things that wouldn't matter if someone recovered them |
| Pixelation (mosaic) | Sometimes; it's the best-studied case | The same as blur |
| See-through marker or highlighter | Often, by raising the contrast | Nothing sensitive |
| Solid black box, saved as a flat image | No | Passwords, IDs, account numbers, anything legal or financial |
| Replacing the text before capture (scramble or fake data) | No, the real text was never in the image | Demos, tutorials, sales calls and support tickets |
| Cropping it out | No, if saved as a new file | Anything at the edge of the image |
How DataMask hides text safely
DataMask works on the live web page, before the screenshot exists, so the real text never has to be in the image at all.
- Scramble replaces every letter and digit with a random one and keeps the layout. A screenshot of scrambled text only contains random characters, so there is nothing to recover.
- Blur+ (Pro) first distorts the area at random and then blurs it. Because what gets blurred is already random, matching candidate text against it leads nowhere.
- Edit (Pro) lets you type over a name or number with a believable fake value, which is useful for demos and tutorials.
Blur+ also works on pictures. The details are destroyed, but the general shape of a photo can often still be recognised, so remove or crop images that must not be identified.
Masking happens in your browser. DataMask doesn't send the content of the pages you mask anywhere. You can read the details in the extension privacy policy.
Add DataMask to Chrome, or try it on the practice page first.
Already took the screenshot?
Open it in the free DataMask Editor, draw a filled black rectangle with the Shape tool over anything sensitive, and download a new PNG. The step-by-step guide to blacking out text also covers Windows, Mac and phone tools.
FAQ
Can AI unblur text?
AI image tools can produce sharp text that looks plausible from a blurred image, but they are guessing, and they often invent letters that were never there. The real risk comes from the matching attacks above, which check candidate text against your image. Both are good reasons not to rely on blur for anything sensitive.
Is a stronger blur safe enough?
A stronger blur removes more information and makes recovery harder, but it doesn't change the basic problem. If the value is short and the font is known, test-and-compare attacks can still work. Use a solid box or replace the text if it really matters.
Is pixelation safer than blur?
No. Pixelation is the most-studied case, and several public tools target it. Bishop Fox specifically recommends against it for text.
What about blacking out text in a PDF?
Drawing a black rectangle on a PDF often adds a separate shape on top, and the text underneath can still be selected and copied. Use your PDF editor's redaction feature, which removes the text, or export the page as an image after blacking it out.