How to hide private data on a screenshot so it cannot be recovered

Pixelating or blurring a password looks safe, but short text under a light blur can sometimes be guessed back. Below is what works, ordered by reliability, and what else on the screen gives you away.

A card with a line of private data covered by coarse pixelation, next to the lnk.ua logo

Before a screenshot goes into a chat or a ticket, people hide an email, a card number or an API key with blur or pixelation. Most of the time that is enough. For short, predictable text it sometimes is not.

Why pixelation and blur can fail

Pixelation replaces each block of pixels with its average colour. If the text is short and set in a known font, the average for each possible character is predictable, and tools such as Depix try candidates until the blocks match. A light blur is weaker still: it smears the letters but keeps much of their shape. So treat pixelation and blur as cover for faces and names, not for secrets.

The risky case is small blocks, a cover that hugs the text and leaves the edges of the letters, and a short string from a small alphabet, like the digits of a card number or a PIN.

A card where a secret line is covered by fine pixelation and the letter shapes still show, marked with a red cross The same card where the secret line is covered by large blocks with a margin, marked with a yellow check
Left: fine blocks hugging the text, the shapes of the characters still show. Right: large blocks with a margin.

What works, from most to least reliable

  1. Do not capture it. Close the tab, scroll the secret off screen, select a smaller area. If it was never in the frame, there is nothing to recover.
  2. Crop it out. Cropped pixels are gone from the file.
  3. Cover it with a solid opaque box. A filled rectangle in any colour leaves nothing underneath. In a PDF a black box can be lifted off the text layer; in a PNG or JPEG screenshot it cannot.
  4. Pixelate with large blocks and a margin. Make the blocks as big as the letters or bigger and cover more than the text, so that its length and edges do not show.
  5. A light blur. Fine for faces and names in the background, not for passwords and card numbers.

What else on the screen gives you away

  • tab titles and the bookmarks bar;
  • a URL with a token or a session id in it;
  • notifications that pop up at the moment of capture;
  • other windows and a second monitor in a full-screen capture;
  • a username in the corner of the app;
  • a semi-transparent highlighter over a secret: it marks the text and does not hide it.

After you hide it

If the capture goes online, it also matters who can open the link and whether you can delete it later. That is covered on the screenshot safety page.

Our screenshot editor pixelates with blocks that grow with the thickness setting, and the saved file keeps only the blocks. It has no solid fill yet, so for a password the advice above stands: crop it out, or pixelate at a large thickness with a margin.

FAQ

Can a blurred password on a screenshot be recovered?

Sometimes, if the text is short, in a known font and the blur or pixelation is light. Crop it out or cover it with a solid box instead.

What is the safest way to hide text on a screenshot?

Not capturing it, then cropping it out, then a solid opaque box. Pixelation with large blocks is acceptable for less sensitive data.

Is a black box safe on a screenshot?

Yes, in an image a filled box leaves nothing underneath. In a PDF it may not: the text layer can still be there.

Share X Telegram Facebook

Read also

Neighbouring prnt.sc addresses that differ by one character

Why prnt.sc screenshots can be found by anyone, and how to share safely

A Lightshot upload gets a short address of a few characters. Short addresses can be tried one by one, so an uploaded screenshot stays private only while nobody hits its link. Here is what that means for your screenshots and what to do about it.

A tall web page captured as one image, from screen-by-screen frames into a single picture

How to take a long screenshot of a whole web page

A long (scrolling) screenshot shows the whole page as one image, including the part below the fold. Chrome, Firefox, Edge, Android and iPhone can all take one without extra software, each in its own way, and each breaks on the same kinds of pages.

PrtSc keycap with an arrow to a dashed selection frame and the lnk.ua logo

Print Screen opens Snipping Tool in Windows 11: how to change it back

After an update, the Print Screen key in Windows 11 opens Snipping Tool instead of copying the screen. It is one setting. Here is how to switch it off, what the key does then, and why another screenshot app may need it off too.