Can pixelated text be read? Try it
Type a 4-digit PIN and pixelate it, then press the button. Your browser renders all 10,000 possible PINs in the same font, pixelates each one the same way and picks the closest match, usually in a few seconds. It's a small, live version of how tools like Depix and Unredacter read pixelated text in screenshots.
What the screenshot shows after pixelation
The page never looks at your PIN when guessing. It renders every PIN from 0000 to 9999 in the same font, pixelates each one the same way, and keeps the closest match. Try bigger blocks to see where it starts to fail.
Cleanss finds API keys, passwords and card numbers in your screenshots and covers them before you share, on Mac and Windows.
Get CleanssWhy can pixelation be undone?
Because pixelation is lossy but predictable. Each block becomes the average of the pixels inside it, and the same text in the same font always produces the same averages. An attacker doesn't need to reverse the blocks; they only need to guess the text, pixelate the guess and compare. Screenshots make that easy: the font is a known interface font, the rendering is pixel-exact, and the text around the redaction gives away the size and position.
A 4-digit PIN has only 10,000 possibilities, so this demo can try them all. Real tools handle longer text by guessing one character at a time. Bishop Fox's Unredacter research ends with the same advice as this page: use black bars that cover the whole text. The details are in blurring is not redacting.
How should I hide text in a screenshot?
- Use a solid black bar for anything secret: passwords, PINs, API keys, card numbers.
- If you prefer blur or pixelation for the look, use a large block size or high strength so no character shapes remain.
- Cover the whole string, including its length, which can give a password away on its own.
- Export a new, flat image so the original pixels aren't kept in the file.
The free blur and redact tool does all of this in your browser, and how to share a screenshot without leaking anything has the full checklist.
FAQ
Is pixelation reversible?
Often, yes. Pixelation keeps the average colour of each block, and that average depends on the text underneath. If an attacker knows or can guess the font, size and position, as screenshots usually reveal, they can render candidate text, pixelate it the same way and pick the closest match. Tools such as Depix and Unredacter do this for real text.
How does this demo recover the PIN?
It renders every PIN from 0000 to 9999 in the same font and position, pixelates each with the same block size, and compares the blocks with the pixelated target. The guess with the smallest difference wins. It never reads the PIN you typed.
Is blurring safer than pixelation?
A little, but it's the same kind of operation: the result still depends on the text underneath, and light blur leaves word lengths and letter shapes. For anything secret, use a solid black bar that covers the whole string.
Why does the attack fail at large block sizes?
When each block covers a whole digit or more, different PINs produce nearly the same averages, so there isn't enough information left to tell them apart. That's why heavy pixelation is safer than light pixelation, and a solid bar is safer than both.
Related
- Blurring is not redacting
- Screenshot resizer: Resize a screenshot to the exact size the Mac App Store, Microsoft Store, Product Hunt, X or LinkedIn wants.
- Blur and redact a screenshot: Blur, pixelate or black out parts of a screenshot in your browser. Nothing is uploaded.
- OG image checker: See how a link will look on X, LinkedIn and Slack, and what to fix in its Open Graph tags.
- Add a background to a screenshot: Put a screenshot on a gradient or solid background with padding, rounded corners and a soft shadow.
- API key format checker: Paste text and see which API keys, tokens and private keys are in it, and how risky each one is. Runs in your browser.
- Aspect ratio calculator: Find the ratio of any width and height, or the missing side for 16:9, 16:10, 4:5 and more.
- Mac screenshot settings generator: Pick a save folder, file format, shadow and file name, and get the Terminal commands to set them on your Mac.