Privacy mask
Mask or blur a region of an image: choose mosaic or a box blur, add deterministic noise so the averaged colour stops looking like a flat fill, and switch between whole-image and region-only modes before exporting PNG or JPEG.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
Pick an image first (PNG / JPEG / WebP / GIF all work).
No result yet
Result details
These are the real numbers from this run — copy them straight out.
Pick an image and set the options; sizes, pixel count and export size show up here.
What this tool does
- Mask the ID number or phone number on a scanned document, a shipping label or a chat screenshot before sharing it.
- Region-only mode: tick the checkbox and fill in x / y / width / height; every other pixel stays exactly as it was.
- Switch to blur when blocky edges look wrong, or keep mosaic with a block size of 32+ when the content must be unreadable.
- The noise option exists for the case where a flat average colour gets treated as a plain background; checkerboard noise breaks that uniformity.
Example
Input
An 8×8 gradient, mosaic block 4, whole-image mode
Output
Every pixel in a block gets the same value, so (0,0) and (3,3) become identical
Straight from maskImage: mosaic uses the privacyMask block average and the noise sign comes from (x + y) parity, so the result is fully reproducible; blur uses boxBlur.
Frequently asked questions
Is mosaic or blur safer?
Mosaic. Blur only flattens high-frequency detail, whereas a mosaic with a large enough block (32 px or more) discards everything inside the block. Blur can, in extreme cases, be partially recovered by deconvolution.
How do the region coordinates work?
The origin is the top-left corner, x grows right and y grows down, and width/height are in pixels. Parts outside the image are clipped, and a region entirely outside raises an error instead of silently doing nothing.
Does the noise make the image dirty?
Noise is added only inside the processed region and its amplitude is ±strength/2. Set it to 0 to disable; 10–20 is already enough to break up a flat background.
Does it modify my original file?
No. The output is a brand-new pixel buffer, the source data is never mutated, and the page has no upload endpoint.
Keywords:privacy maskblur regioncensor imagemosaic arearedact photo