Cover or pixelate part of a photo
Cover a license plate, a name in a screenshot, an address on a letter, or a face before you share a photo. Draw a box over each part, and the saved picture has those pixels replaced for good. The saved copy carries no location, date, or camera data. Everything happens in your browser, and the photo stays on your device.
Draw a box over each part to cover
Solid cover paints each box black and is the safe choice for text, numbers, and plates. Pixelate turns a box into a few large squares and suits a face or a background.
Drag on the photo to draw a box. Drag a box to move it, and drag a corner to resize it. With a keyboard, choose Add a box: the arrow keys move the box, Shift with the arrow keys resizes it, and Delete removes it.
Or drop a photo on the frame. JPEG, PNG, WebP, or HEIC. The photo stays on this device.
How it works
-
Choose a photo
Pick a JPEG, PNG, WebP, or HEIC file, or drop it on the frame. Your browser opens it right here, on your device.
-
Draw the boxes
Drag on the photo with a finger or the mouse. Move a box, resize it by a corner, or delete it. Solid cover is the safe choice for text. Pixelate suits a face or a background.
-
Save the covered photo
The tool draws a new picture at the full size of the photo with the boxes painted in. A PNG stays a PNG, and every other photo becomes a high-quality JPEG. The new file holds the picture, with no location, date, or camera data.
What changes in the picture
A cover in this tool is no layer on top of your photo. The saved file is one flat picture, and inside each box the old pixels are gone.
When you select Save the covered photo, the tool draws a new picture at the full size of your photo and paints each box into it. Then it writes that picture to a new file. The new file holds one flat picture, the pixels that you see, and a color profile where the browser writes one. The boxes are part of that picture, and the history of the file starts with this save.
Two more things happen on the way:
- The metadata is left behind. The new file carries no location, no date, and no camera data. The tool reads the saved file back and offers the download only when that check finds no metadata in it.
- The photo is stored upright. A phone often stores a picture sideways with a note that says "turn me". The new picture is turned for real, so it needs no such note.
Your original stays as it is. The tool works on a copy in the memory of the browser, and the download gets a new name: IMG_1234.jpg becomes IMG_1234-redacted.jpg. If the name of the file says something that the picture now hides, rename the copy before you send it.
Why a solid cover is the safe choice for text and plates
A solid cover replaces what was there. Pixelation and blur compute the new pixels from the old ones, so a trace of the old ones stays in the picture.
Pixelation cuts an area into squares and gives each square the average color of the pixels that were in it. Blur mixes each pixel with its neighbors. Both look like fog to a person. To a program they are arithmetic, and the same input always gives the same output.
That is the weak point for text. Letters and digits come from a small set, in a font that the rest of the screenshot often shows. A program can type a guess in that font, pixelate it the same way, and compare the squares with the squares in your picture. It repeats that one character at a time until the squares match.
This is a tested method. In 2016, four researchers recovered text from mosaiced and blurred pictures with statistical models and concluded that the two transforms "are not viable approaches for text redaction" (Hill, Zhou, Saul, and Shacham, Proceedings on Privacy Enhancing Technologies). In 2022 the security firm Bishop Fox published a tool that reads pixelated text and gave this advice: "When you need to redact text, use black bars covering the whole text. Never use anything else." (Bishop Fox, about its tool Unredacter).
A solid cover has no such trace. The tool paints every pixel in the box the same black, whatever was under it. A box over the digits 4821 and a box over the digits 9073 give the same black pixels, so the black pixels say nothing about the digits.
Use the solid cover for
- License plates, house numbers, and street names.
- Names, phone numbers, email addresses, and account numbers in a screenshot.
- Addresses and reference numbers on a letter, a label, or a ticket.
- Barcodes and QR codes.
- A face of a person who must stay unknown.
What pixelate is fine for
Pixelate is for the cases where you want a part of the picture to be quiet and nobody will work to get it back: a stranger who walked through your holiday photo, a messy shelf behind you, a screen in the background, a logo on a shirt. The picture keeps its colors and its shape, and it looks softer than a black bar.
The pixelate of this tool is coarse on purpose. It uses at most four squares across the short side of a box, and no square is smaller than 16 pixels of the photo. A line of text in a low box ends up as a few blocks of color. For text, the solid cover is still the right choice, and the tool keeps it as the default.
Cover enough: a short check before you send
A cover can also fail in simple ways: it is too small, or the same fact is in the picture twice. Look at the photo once more with these in mind:
- Draw the box a little larger than the text. The tails of letters such as g and y and the top of a capital letter stick out. In a JPEG, the pixels right at the edge of a box can also differ a little from pure black, because JPEG stores a picture in small blocks and mixes each pixel with its neighbors. A margin makes both harmless.
- Look for the same thing a second time. A name in the title bar and again in the message. A plate on the front of the car and again in the reflection of a shop window. An address on the letter and again on the envelope behind it.
- Read the edges of a screenshot. The status bar, the tabs of the browser, the address bar, and the notification that slid in at the top all tell something.
- Cover the whole of it. The length of a covered word and the first letter you left out are hints. Cover the full line when the line is the secret.
- Open the saved file and look at it. You send the copy, so check the copy.
Each box can be moved, resized by a corner, and deleted. With a keyboard, Add a box puts a box in the middle of the photo: the arrow keys move it, Shift with the arrow keys resizes it, and Delete removes it.
Formats, size, and quality
- PNG
- A PNG stays a PNG. That suits screenshots: PNG stores every pixel exactly, so the text around your boxes stays sharp and every pixel in a solid box is black.
- JPEG
- A JPEG is saved as a new JPEG of high quality (95 of 100), at the full size of the photo.
- WebP
- A WebP photo is saved as a JPEG of the same high quality. A see-through area becomes white.
- HEIC
- HEIC opens where the browser can show HEIC, as Safari does on an iPhone, an iPad, and a Mac. The covered photo is saved as a JPEG. In another browser, the page tells you that it cannot open the picture.
The saved picture has the same width and height as your photo. One case is different: a very large photo on a device whose browser cannot make a picture of that size. The tool finds that out when you open the photo and tells you before you save. The saved picture then has at most 16,777,216 pixels, about 16.8 megapixels, and the note shows its exact size.
Unlike the two metadata tools on this site, which leave the picture data untouched, the redactor has to make a new picture: changing pixels is its job. For a photo saved as a JPEG, that is one more round of compression, at a quality of 95 of 100. For a screenshot saved as PNG there is none.
Screenshots and the marker on your phone
The fast way on a phone is to scribble over a name with the marker of the screenshot editor. It works when the stroke is fully opaque. The drawing tools of the iPhone's Markup have an opacity setting, and Apple's guide Use Markup on your iPhone shows where it is: tap the selected tool again. A stroke with less than full opacity is a tinted window. The text under it is darker, and it is still there. Raising the brightness and the contrast of the picture can bring it back.
The highlighter is the usual trap, because its job is to let text show through. In 2018, 9to5Mac showed that text under coats of the Markup marker came back when the picture was lightened in a photo editor.
The solid cover of this tool has no opacity setting. A box is black, and the pixels under it are replaced. On an iPhone, open this page in Safari, choose the screenshot, drag a box over each part with a finger, and save.
A crop hides things too, and it changes the shape of the picture. Use the crop of your phone for what sits at the edge, and a box for what sits in the middle.
The photo stays on your device, and you can check
The photo that you want to redact is, by its nature, one that holds something private. So the tool runs in your browser, on your own phone or computer. The browser opens the photo, the boxes are painted in the memory of the browser, and the download is saved from there to your device.
To see that for yourself on a computer:
- Open the developer tools of the browser and select the Network panel.
- Choose a photo, draw a box, and save.
- Read the list of requests. The page's own files come down from milkglass.app, among them the tool's program, a file that ends in .wasm.
- Look for a request that carries your photo up. A photo has several megabytes, so it would stand out. The list has none.
One more address is in the list: ingest.postdeploy.dev. It counts page views, and it counts that the tool was used. The count names the tool and holds nothing about the photo: no name, no size, no content, and nothing about your boxes. Open the request and read what it sends.
The site's content security policy names milkglass.app and that one counting address, and the browser blocks a connection to every other origin.
A covered copy is for sharing. For the photos you keep to yourself, I make Milkglass, an app that keeps them in Drawers on your iPhone. More about it is at the end of this page.
Covering part of a photo: questions and answers
How do I black out part of a photo?
Choose the photo in the tool at the top of this page and drag a box over each part that you want to hide. Keep Solid cover selected, then select Save the covered photo. The saved copy has black pixels in each box, and the photo stays on your device.
Can pixelation be reversed?
For text, often yes. Pixelation gives each square the average color of the pixels under it, so the squares still depend on the letters. A program can pixelate its own guesses in the same font and compare them with the picture. Bishop Fox published such a tool in 2022 and advises black bars for text.
Is blur safe for hiding text?
No. Blur mixes each pixel with its neighbors, and the result still depends on the letters that were there. Researchers recovered text from blurred and mosaiced pictures in a 2016 study and concluded that the two are not viable for text redaction. Use a solid cover for text, numbers, and plates.
How do I hide a license plate in a photo?
Choose the photo in the tool on this page, drag a box over the plate, and keep Solid cover selected. Make the box a little larger than the plate, and look for the same plate in a mirror or a window. Then save and send the covered copy.
How do I redact text in a screenshot?
Choose the screenshot in the tool on this page and drag a solid box over each name, number, or line. A PNG screenshot is saved as a PNG, so the text around the boxes stays sharp and every pixel in a box is black. Check the status bar and the address bar for the same information before you save.
Can someone remove the black box and see what is under it?
No. The saved file is one flat picture, and the pixels under each box are replaced with black. The file holds no layer and no earlier version of the picture. Keep your original to yourself, and send the saved copy.
Does the covered photo still hold the location or other metadata?
No. The saved copy is a new picture with no location, date, or camera data. The tool reads the saved file back and offers the download only when that check finds no metadata.
Does the tool reduce the quality of my photo?
The saved picture has the full width and height of your photo. A PNG is saved as a PNG, with every pixel outside the boxes exact. Every other format is saved as a JPEG at a quality of 95 of 100. A very large photo is made smaller when the browser cannot make a picture of that size, and the page tells you before you save.
When is pixelate a good choice?
Pixelate suits a part of the picture that should be quiet and that nobody will work to recover: a passer-by, a background, a screen behind you. It keeps the colors and looks softer than a black bar. For text, numbers, plates, and a face that must stay unknown, use the solid cover.
Can I cover part of a photo on my iPhone?
Yes. Open this page in Safari, choose a photo from the Photos library or from Files, and drag a box with a finger. Drag a box to move it, and drag a corner to resize it. Safari saves the covered copy to the Downloads folder in the Files app.
Does the redactor open HEIC photos?
It opens HEIC where the browser can show HEIC, as Safari does on an iPhone, an iPad, and a Mac. The covered photo is saved as a JPEG. In another browser, the page says that it cannot open the picture.
Is my photo uploaded when I use this tool?
No. Your browser opens the photo and paints the boxes on your own device, and the download is saved from the browser. You can check this in the Network panel of the browser's developer tools: no request carries the photo.
Guides
Three short guides about hiding part of a picture, each for one question.
How to blur a license plate in a photo
Hide a license plate in a photo before you post it: draw a solid box over the plate, check mirrors and windows, and save a copy that carries no location.
Read the guideIs pixelation safe for hiding text?
No. Pixelation and blur compute the new pixels from the old ones, so text can be recovered. Why that is, what the research found, and what to use.
Read the guideHow to redact a screenshot before you share it
Hide a name, a number, or a message in a screenshot so that it stays hidden: use a solid box, cover enough, and check the saved file.
Read the guide
And for the photos you keep to yourself
I'm Paul, and I make Milkglass. It keeps private photos, videos, and files in Drawers on your iPhone. Draw a pattern, and the Drawer of that pattern opens.
See how Milkglass works Milkglass is coming to the App Store for iPhone and iPad, and the date is still open.