Redact Screenshot
Paste a screenshot, press one button, and the private text is covered. Check it, fix what was missed, save a clean PNG. Your picture stays on your device.
https://flxcode.com/redact-screenshot/
or press Ctrl+V to paste one, or drop a file here
PNG, JPG, WebP, GIF, BMP or AVIF. It stays on this device.
Drag on the picture to draw a box. The saved file is a new PNG at full size, without the metadata of the original. Check every line yourself.
Keyboard and touch help
Drag a box to move it, drag a corner to resize. On a phone, press Add a box, then drag it; a finger on an empty part of the picture scrolls the page. For the keyboard use the Boxes list: arrow keys nudge a box 1 px (Shift: 10 px), Alt and arrows resize it, Delete removes it. Ctrl+Z undoes, Ctrl+Shift+Z redoes. Hold Compare to see the original under the boxes.
Boxes (0)
The same boxes as a list, for the keyboard and screen readers.
No ads. No account. Nothing you type or record is uploaded. We count page events with a daily code. Check it. What this tool keeps and sends.
Problem or idea? Email us
How to use it
- Paste a screenshot with Ctrl+V, drop a file, or choose one. No screenshot at hand? Press Try a sample.
- Press the first button. The first time it downloads the reader (4.3 MB). Boxes appear over the text it found, with a label.
- Look at every box and at the rest of the picture. Switch kinds on or off, add your own words, draw boxes over what was missed, drag or delete the wrong ones.
- Pick Solid bar, Pixelate or Blur. Save the PNG, or copy the picture and paste it into your chat or ticket.
Undo and Redo work for every change (Ctrl+Z, Ctrl+Shift+Z). Hold the compare button to see the original under the boxes.
What it looks for
The reader gives the words and where they are. Then plain rules, run line by line, decide what looks private. The rules are listed here so you know what to expect. Dates are off by default.
| Kind | Rule |
|---|---|
| Email addresses | letters, digits and . _ % + - then @, a host name and an ending of 2 or more letters |
| Phone numbers | starts with + or 00, or has groups split by spaces, dots or hyphens; 8 to 15 digits; dates, IP addresses and bare digit runs are skipped |
| Card numbers | 13 to 19 digits, groups split by one space or hyphen, starts like Visa, Mastercard, Amex, Discover, JCB, Diners, UnionPay or Maestro, and passes the Luhn check (or is written as four groups of four, so one misread digit does not hide it) |
| IBAN bank accounts | 2 letters, 2 check digits and up to 30 more characters, the length of that country, and the mod 97 check passes |
| IP addresses | IPv4 with four numbers from 0 to 255, or IPv6 in the written forms (full, with ::, or with an IPv4 end) |
| Links with a key or token | a link with key=, api_key=, token=, access_token=, secret=, password=, sig=, session= or similar in it, or a name and password before the @ of the address |
| Keys and long secrets | 32 or more hex digits, a long mixed-case base64 string, or a known key shape (AWS AKIA, GitHub ghp_, Stripe sk_live_, Slack xox, OpenAI sk-, Google AIza, a JWT) |
| Dates (birth dates) (off) | day.month.year, month/day/year or year-month-day with a year from 1900 to 2099 |
Example, run through the same code as the tool. The line "Mail [email protected], call +48 601 234 567, card 4012 8888 8888 1881, IBAN GB82 WEST 1234 5698 7654 32, from 192.168.12.40" gives 5 finds: email "[email protected]", phone "+48 601 234 567", card "4012 8888 8888 1881", iban "GB82 WEST 1234 5698 7654 32", ip "192.168.12.40".
The checks keep guesses down. 4111 1111 1111 1111 is a published Visa test number and passes the Luhn check (yes, network visa). Change the last digit to 2 and it fails (no). Written in four groups of four it is still boxed, because a reader can misread a digit. As one run of digits, 4111111111111112 is left alone. The IBAN GB82 WEST 1234 5698 7654 32 passes the mod 97 check (yes). Change one digit and it fails, and it is not boxed as an IBAN.
Solid bar, pixelate or blur
Solid bar is the default, and the only one that leaves nothing to recover from text. Blur and pixelate keep a trace of the original pixels. The paper "Defeating Image Obfuscation with Deep Learning" (McPherson, Shokri and Shmatikov, 2016, arXiv 1609.00408) showed networks recovering faces, objects and digits from mosaiced and blurred pictures. The Depix tool recovers text from a screenshot pixelated with a linear box filter. Both are public.
If you still choose blur or pixelate, the strength is relative to each box height, and the page warns when it is low. Below 60 it says so.
Limits
- It reads English text and digits. Other alphabets are not read, but boxes by hand work on anything.
- Small or faint text, text over a photo and very small screenshots are the weak spots. Small pictures are read from a 2x enlarged copy, and a dark picture from an inverted copy, which helps. It does not fix everything.
- It cannot know what is private for you. A name, an address or a face is not found unless it is in your list of words, or you draw a box.
- One picture at a time, up to 100 MB and 50 megapixels. Up to 200 boxes.
- It does not edit PDFs. For a PDF, make a picture of the page first.
How it works and privacy
The picture is drawn on a canvas in this tab. The reader is Tesseract, an open-source recognition engine compiled to WebAssembly, running in a worker on this page, from files served by this site. It gives each word with a box. The rules run on the words of each line, and a find becomes one box around its words with a little padding.
The saved file is drawn at full size on a new canvas, the bars are painted into the pixels, and the canvas is saved as a PNG. The result has no layers and none of the metadata of your file. Nothing is uploaded or stored (details). To hide a face, use Blur Image or Pixelate Image. To drop the camera and location data of a photo, use Remove AI Metadata.
FAQ
What does it find?
Email addresses, phone numbers, card numbers, IBANs, IPv4 and IPv6 addresses, links with a key or token in them, long hex and base64 secrets, known API key shapes and dates. Dates start switched off, because most screens have many. You can also type your own words, such as a name, and hide them everywhere.
What does the first button download?
About 4.3 MB, once: the text reader (Tesseract, the same one as on Image to Text), English data and a small worker file. The button names the size before anything is fetched. Your browser keeps the files, so the next visit usually skips it.
Is a blur or pixelate safe?
Not always. Researchers trained networks that recovered faces, objects and digits from blurred and pixelated pictures, and a public tool called Depix recovers text from pixelated screenshots made with a plain box filter. A solid bar replaces the pixels, so there is nothing to recover. That is why Solid bar is the default here.
It missed something. Why?
The reader is not perfect. Small text, faint grey on white, text on a photo, unusual fonts and very low resolution cost accuracy, and a number with a misread digit can fail its check. It reads English text and digits. Look at the whole picture, then draw a box over anything it missed. Press Add a box, or drag on the picture.
Why was a card number not found?
A card must pass the Luhn check and start like a real card network. A number with one misread digit fails the check. If you see a number the tool left alone, draw a box over it.
Can I use it on a phone?
Yes. Open the picture, press Add a box and drag the box with a finger, or use its corner handles. A finger drag on an empty part of the picture scrolls the page, so boxes are added with the button.
More from FLXCode
- Blur ImageBlur a whole photo or drawn rectangles, with a strength you set. Nothing is uploaded, and EXIF data is left out.
- Pixelate ImagePixelate faces, plates or text in rectangles you draw, or the whole picture. Nothing is uploaded.
- Remove AI MetadataRemove EXIF, XMP, IPTC and C2PA from JPEG, PNG and WebP with no re-encoding. See what was found. Nothing is uploaded.
- Color Picker from ImageClick a picture to get the HEX, RGB, HSL, HSV and CMYK of any pixel, plus its dominant colors. Nothing is uploaded.