Pixelate Image
Turn a photo into big square pixels for a retro pixel-art look or to hide detail, with an adjustable block size.
Lower quality gives a smaller file.
Bigger values give larger blocks and hide more detail.
Your file is ready
Was this tool helpful?
Thanks for the feedback!
This tool turns a photo into a grid of flat square blocks, for a retro pixel-art look, a mosaic background or a playful profile picture. One slider sets the block size, and it scales with the photo so a given setting always gives roughly the same number of blocks. Processing happens in your browser and nothing is uploaded.
The Block size slider
The slider is labelled Block size, runs from 3 to 80 and starts at 12. Bigger values give larger blocks and hide more detail. Set the value and press Process image; the result does not change while you drag, so press Process image again after each change. The download keeps the original width and height. It is a JPG at 92% quality when your source is a JPEG, and a PNG otherwise.
How the blocks are made
First the tool works out the size of one block in pixels:
block = round(setting × longer side ÷ 1000), with a minimum of 2 px.
It then shrinks the photo to a tiny version that is one pixel per block: the width and height are each divided by the block size and rounded up. The browser blends the original pixels as it shrinks, so each tiny pixel takes a colour from its area of the photo. Finally that tiny image is enlarged back with smoothing switched off, so every tiny pixel becomes a hard-edged square.
Because the setting is measured against the longer side, the number of blocks along that side is roughly 1000 divided by the setting. At 12 you get 84 blocks across the long side whether the photo is 1080, 1920 or 4000 px wide.
Because the block size is a fixed share of the picture, a setting you like on one photo gives the same blocky feel on the next, even if one came from a phone and the other is a small web image.
The grid starts from the top-left corner. When the photo size is not an exact multiple of the block size, the grid is slightly bigger than the photo, so the last column and the last row of blocks are cut short.
Worked example
| Photo size | Setting | Block size | Grid | Total blocks |
|---|---|---|---|---|
| 4000 × 3000 | 12 | 48 px | 84 × 63 | 5,292 |
| 1920 × 1080 | 3 | 6 px | 320 × 180 | 57,600 |
| 1920 × 1080 | 12 | 23 px | 84 × 47 | 3,948 |
| 1920 × 1080 | 80 | 154 px | 13 × 8 | 104 |
For the 4000 × 3000 photo at the default 12, the 84 × 63 grid of 48 px blocks measures 4032 × 3024, which is larger than the photo. The canvas stays 4000 × 3000, so the right-hand column shows only 16 px of its block and the bottom row only 24 px. At setting 3 on a Full HD screenshot the 6 px blocks fit exactly, and faces stay recognisable. At 80 the same screenshot becomes 104 big tiles of colour.
Tips and limits
- The whole image is pixelated. To pixelate one area, you need an editor that works on a selection.
- Pixelation is not a safe way to hide text, faces or numbers before sharing. Small blocks over large text can sometimes be guessed. For an Aadhaar or bank number, cover it with a solid box instead.
- A JPEG source is saved back as a JPG, and JPEG compression slightly softens the hard block edges. For crisp pixel art, convert the photo first with the JPG to PNG converter, so the result is saved as a PNG.
- For a stronger retro poster look, follow this tool with posterize image to cut each block down to a few flat colour levels.
- If you want a smooth, soft effect rather than squares, use blur image.
- For a pixel-art avatar, start with a square photo and a high setting such as 40 or more, so the face reads as a handful of bold blocks. Lower settings suit a subtle mosaic background.
Frequently asked questions
How do I pixelate a photo online?
What block size should I choose?
How big is each block in pixels?
Why are the blocks at the right and bottom edges smaller?
Can a pixelated image be turned back into the original?
Can I pixelate just a face or one part of the photo?
Related guides
- JPG vs PNG vs WebP: Which Image Format Should You Use? JPG for photos and forms, PNG for screenshots and logos, WebP for websites. Real size tests, transparency, browser support in 2026, plus HEIC and AVIF...
- How to Compress an Image to 20 KB, 50 KB or 100 KB Get a photo under 20 KB, 50 KB or 100 KB for forms, email or a website: pixel sizes that fit, the quality to use and which free tool to pick.
- Resize Photo and Signature in KB for SSC, IBPS and UPSC Forms Resize an exam photo to 20–50 KB and a signature to 10–20 KB in your browser: exact steps, 2026 SSC, IBPS and UPSC sizes, pixels vs KB, and fixes for...