Pixelate Image
Drop your images, set a block size, and download the mosaic — block averaging runs on your device, so nothing is uploaded.
- Free
- No account
- Runs in your browser
- Nothing uploaded
Pixelation is not guaranteed to erase what is underneath: each block still holds the average of its pixels, and pixelated text has been recovered from screenshots. Use large blocks, or cover the area instead, for anything that must not be read.
Add an image to see a preview here.
Runs entirely in your browser — your input is never uploaded, logged, or stored.Privacy policy
What is Pixelate Image?
This tool pixelates an image — turns it into a mosaic — directly in your browser. The picture is divided into square blocks of the size you choose, every block's pixels are averaged into one flat colour, and the whole block is painted with that average. It is the standard way to obscure a face, a licence plate or a name before sharing a photo or a screenshot, and it is also used for the deliberate mosaic look. Your files are never uploaded to a server.
Block size is the whole control. A block of 2–8 px is a fine mosaic that leaves the picture clearly recognisable; 16–32 px gives the familiar "censored" look; 50–200 px breaks the image into large flat squares that lose individual features. The block grid starts at the top-left corner, so when the width or height is not an exact multiple of the block size the last row and column are narrower — a partial block averages only the pixels that really exist, and nothing outside the image is invented.
Be realistic about what pixelation hides. It is a lossy summary, not a redaction: each block keeps the average of everything underneath it, so a block still leaks something about the original, and the smaller the blocks, the more they leak. Pixelated text has been recovered from screenshots by published tools — Depix is the best-known proof of concept — and light pixelation of large letters often leaves them readable. For anything genuinely sensitive (a password, an account number, an ID), cover the area with a solid box, or make the blocks very large compared with the detail you are hiding. This tool tells you when the block size you have chosen is fine enough to be risky.
Transparency is handled by hand. Colour is averaged weighted by alpha, so a fully transparent pixel cannot darken its neighbours with whatever hidden colour it stores, and the block's opacity is the simple average of its pixels, so a half-transparent area stays half-transparent. PNG and WebP output keep that transparency; JPG cannot, so when you save as JPG any transparent areas are filled with the background colour you pick (white by default).
How it works: your browser decodes each image (a phone photo is turned upright using its EXIF orientation), draws it onto a canvas at full size, and this tool rewrites every block of pixels in JavaScript — not with the canvas filter or a shrink-and-upscale trick, so the blocks are flat and the result is the same in every browser. The canvas is re-encoded and offered as a download. Because the picture is redrawn, EXIF metadata — camera, date and GPS location — is not copied into the result, which is a privacy gain in itself.
Limits: up to 50 images at a time, 50 MB each, and about 100 megapixels (16,384 px per side). PNG output is lossless; JPG and WebP are re-compressed at the quality you set (92 by default). With "Same as input", PNG, JPG and WebP keep their format; GIF, BMP and AVIF are saved as PNG, and an animated file keeps only its first frame. iPhones and iPads allow a canvas of only about 16.7 megapixels, so a very large photo may fail there with a message saying so. Your images stay on your device: the Network tab in your browser's developer tools shows no request carrying them.
1. The file's size is checked (50 MB) before it is read, and its first bytes confirm it is PNG, JPG, WebP, GIF, BMP or AVIF; the browser decodes it upright. 2. The block size is checked: it must be a whole number from 2 to 200, and no larger than the image's longer side. 3. The image is drawn onto a canvas at full size and its RGBA pixels are read. 4. The buffer is tiled from the top-left into blockSize × blockSize squares; the last row and column may be smaller. 5. Each square's colour is the alpha-weighted mean of its pixels — sum(red × alpha) ÷ sum(alpha) for red, and likewise for green and blue — so a transparent pixel does not pull the colour towards its own hidden value. The square's opacity is the plain mean of the alphas. 6. Every pixel in the square is set to that one colour and opacity. 7. For JPG output only, transparent areas have already been composited onto the chosen background colour, because JPG cannot store transparency. 8. The pixels are written back, the canvas is encoded, and the file is named like photo-pixelated.jpg.
| Blocks across the photo | What the result looks like | |
|---|---|---|
| 4 px blocks | 300 × 200 blocks | A fine mosaic — the picture is still clearly recognisable |
| 16 px blocks | 75 × 50 blocks | Clearly pixelated, but faces and large text may still be made out |
| 50 px blocks | 24 × 16 blocks | Large flat squares; a face or a plate is usually lost |
| 200 px blocks | 6 × 4 blocks | A coarse mosaic — only the rough shapes and colours survive |
Worked examples
- A 4 × 4 image with a block size of 2: the 2 × 2 square whose red values are 0, 10, 20 and 30 becomes red 15.
- A 3 × 3 image with a block size of 2 is covered by four blocks — 2 × 2, 1 × 2, 2 × 1 and 1 × 1 — so a partial block averages only the pixels that exist.
- An opaque red (255, 0, 0) beside a transparent pixel (0, 0, 255, 0), with a block size of 2, becomes (255, 0, 0, 128) in both pixels — red at half opacity, not a purple average.
- A 1200 × 800 photo with a block size of 200 becomes a 6 × 4 mosaic of 200 px squares.
- photo.jpg with 32 px blocks is saved as photo-pixelated.jpg; the same file saved as PNG is photo-pixelated.png.
- A block size of 0 is rejected: "Block size must be at least 2 pixels — a smaller block would leave the image almost unchanged."
How to use Pixelate Image
- Click "Choose PNG, JPG, WebP, GIF, BMP or AVIF images", drop files on the box, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
- Drag the Block size slider — or type an exact size — and watch the preview of the first image update.
- Choose the output under "Save as" (Same as input, PNG, JPG or WebP) and set the quality for JPG or WebP.
- Click "Pixelate images", then download each result or all of them as a ZIP.
Common errors
- The button stays greyed out — no image has been added yet. Choose at least one image first; the preview and the download both need one.
- "Block size must be at least 2 pixels — a smaller block would leave the image almost unchanged." — drag the slider or type a value of 2 or more.
- "Block size must be a whole number of pixels, like 8 or 16." — type a whole number; 16 is a good starting point.
- "Block size 100 px is larger than this 60 × 40 px image — the largest usable block is 60 px." — the block cannot be bigger than the image; choose a smaller size, or resize the image larger first.
- The face or number is still recognisable after pixelating. The blocks are too small — increase the Block size so the detail you are hiding is only a few blocks across, and for anything truly sensitive cover it instead of pixelating it.
- "IMG_0042.HEIC" is actually a HEIC file, not PNG, JPG, WebP, GIF, BMP or AVIF. The extension does not match the contents — use a HEIC tool for this file. — convert HEIC photos to JPG first.
- "IMG_1234.jpg" is 62.40 MB, over the 50.00 MB limit for this tool. Everything runs in your browser's memory, so very large files can crash the tab. — resize or compress the file first.
- "Quality must be between 1 and 100." — drag the slider; it only appears for JPG and WebP output, where re-compression actually uses it.
- "The output would be 20000 × 12000 pixels — more than a browser can safely draw (100 megapixels, 16,384 px per side). Choose a smaller size." — resize the image smaller first.
- "Your browser could not encode an image this large (20000 × 12000). Try a desktop browser, or resize it smaller first." — iPhones and iPads allow a canvas of only about 16.7 megapixels, so very large photos can fail there.
FAQ
How do I pixelate an image?
Drop the image in, set a block size, and click "Pixelate images". The picture is divided into square blocks of that size, each block is filled with the average of its pixels, and the result is offered as a download. It is converted in your browser and never uploaded.
Does pixelating an image hide a face or a number for good?
Not necessarily. Pixelation keeps the average colour of every block, so a block still carries information about what was underneath, and smaller blocks leak more. Pixelated text has been recovered from screenshots by published tools such as Depix, and large letters can survive a light mosaic. Use a large block size so the detail you are hiding spans only a few blocks, and for passwords, account numbers or IDs cover the area with a solid box instead of pixelating it.
What block size should I use to pixelate a face?
Make the block large compared with the face: with 16–32 px blocks on a typical phone photo the face is a handful of blocks across and individual features are gone, and 50 px or more is safer. Very small blocks (2–8 px) give a fine mosaic that still looks like the original picture. The tool warns you when the mosaic is fine enough to be risky.
Does pixelating an image remove metadata like GPS location?
Yes. The image is redrawn on a canvas and re-encoded, so EXIF metadata — including any GPS location and the camera model — is not carried into the saved file.
Can I pixelate several images at once?
Yes, up to 50 in one go. Add them all, set one block size and output format for the batch, and download each result or everything together as a ZIP.
How do I pixelate just part of an image?
This tool pixelates the whole picture. To pixelate or cover one area and leave the rest untouched, draw a box over that area with the Blur & Pixelate Image tool, which lets you choose the exact region and use a solid box for anything sensitive.
Does pixelating keep transparency?
Yes for PNG and WebP: transparent areas stay transparent, and colour is averaged weighted by alpha so a transparent pixel does not darken its block. JPG cannot store transparency, so when you save as JPG the transparent areas are filled with the background colour you pick, white by default.
Does it work on iPhone and Android?
Yes. iPhones and iPads limit a canvas to about 16.7 megapixels, so a very large photo may fail there; the tool tells you when that happens, and a desktop browser or a smaller image always works.
Related tools
- Crop ImageDrop a photo, drag the crop box or type exact pixel values, choose an aspect ratio or a circle, and download the cropped image — processed on your device.
- Rotate & Flip ImageDrop one or more images, rotate them left or right, flip or mirror them, optionally straighten by a few degrees, and download the results — processed on your device.
- Blur & Pixelate ImageDrop an image, draw boxes over faces, names or numbers, choose Blur, Pixelate or Solid box, and download the censored copy — processed on your device.
Prefer AllUtil on Google
One click adds AllUtil to your Google preferences. You'll see our tools highlighted with a Preferred badge in Search and AI answers.