Blur Image
Blur faces and mask Aadhaar numbers in a photo — both found for you — or cover anything you mark, without uploading it.
Drop an image here or paste it, or
Your images never leave your device
Processed in this browser · JPG, PNG, WebP, GIF, BMP, AVIF or HEIC · one at a time
Hides what should not be seen in a photo before you share it: faces in a group photo, a number plate, the first eight digits of an Aadhaar number. Faces are found as soon as the photo opens, and Aadhaar numbers when you ask; anything else you cover by drawing over it. The photo is processed on your device and not uploaded.
How to use it
Each area has a button at its corner that switches its cover on and off, so a face found by mistake, or one you want to show, is let go with one press; All faces and None switch every face at once. With Select, click an area to pick it: drag it to move it, its corners to resize it, and use its Covered switch, or Delete for an area you drew. A found face or number is never deleted, only uncovered, so its switch always brings it back. Rectangle draws a box over something the tool did not find, such as a number plate or a name; Brush paints over shapes a box does not fit. Undo and Redo step through every change.
Faces, Aadhaar numbers and drawn areas each have their own effect: Blur (the default for faces), Pixelate, or Box, a solid colour (the default for numbers and drawn areas, black unless you choose another). Strength sets how far blur and pixelation go, from 1 to 100 (default 60). The result is saved in the photo's own format, or JPG, PNG or WebP.
Find Aadhaar numbers reads the photo's text with the same reader as Image to Text, on your device. It downloads 11.97 MB the first time; your browser keeps it, so later visits usually skip the download.
How it works
Faces are found by MediaPipe's BlazeFace (full range) detector. It finds faces down to about a twentieth of the width of the picture it looks at, so the photo is also cut into overlapping tiles, each level half the size of the one above, down to a sixth of the photo's longer side (and never under 384 pixels): a small face in a group photo fills enough of some tile to be found. Faces in profile, turned away, partly hidden or very small can still be missed, so check the photo before you share it. Each face found is covered by an ellipse a little larger than the detector's box, out to the ears and up to the hairline.
An Aadhaar number is 12 digits, printed in three groups of four, and its last digit is a check digit worked out from the other eleven by the Verhoeff scheme. The tool reads the photo's text, looks on each line for 12 digits in groups of four, and keeps only those whose check digit is right, which leaves out most other 12-digit numbers, such as an account number. Letters the reader gives for digits of the same shape (O for 0, l for 1) are read as digits. A 16-digit Virtual ID is not an Aadhaar number and is left alone. If the reader misreads a digit, the check fails and that number is not found: look at the result, and draw a box over any number left showing.
Blur and pixelation are sized by each area: Strength is a share of the area's shorter side (a brush stroke's width), so a small face and a large one are hidden alike. A face the detector boxes at 200 pixels across is covered by an ellipse 260 × 320 pixels; at the default strength, it is blurred with a standard deviation of 27 pixels, or pixelated in squares of 44 pixels. Boxes are drawn after blur and pixelation, so a box never blurs into an area beside it.
The result is a new file made from the covered pixels, so none of the original's metadata (camera, date, location) comes with it. A photo larger than 16.8 megapixels, the most a browser canvas is sure to hold, is saved at the largest size that fits, and the result says so.
Examples
An Aadhaar number found and masked
- Text read
- Aadhaar no. 2345 6789 0124
- Saved as
- ■■■■ ■■■■ 0124
The last digit, 4, is the check digit the other eleven give, so the number is boxed; the first eight digits are covered, as in UIDAI's masked Aadhaar, and the last four stay. Had the reader taken a 6 for an 8, the check would fail and the number would not be found.
Masked Aadhaar
UIDAI's masked Aadhaar hides the first 8 digits of the Aadhaar number and shows only the last 4. UIDAI offers it for the e-Aadhaar you download; this tool covers the same 8 digits in a photo or scan of any Aadhaar, so a copy you hand over shows what a masked Aadhaar shows of the number.
Covering the number is not all an Aadhaar holds. UIDAI states that the QR code on every form of Aadhaar holds the last 4 digits of the number, the name, address, gender, date of birth and photograph, and the card itself shows most of these in print. The tool covers only the number: draw over the QR code, photo or address too if they should not be seen. No tool can tell you a copy is safe to share; that depends on who receives it and what they need.
Sources
- Aadhaar Online Services: what is masked Aadhaar, Aadhaar QR code — Unique Identification Authority of India
- A UID Numbering Scheme (the check digit) — Unique Identification Authority of India
Reviewed
Frequently asked questions
See also
- Remove EXIF Data — to remove a photo's metadata, such as its location, without changing the picture.
- Crop Image — to cut away the parts of a photo that should not be shared at all.