ToolJutsu
All tools
Image Tools

Pixelate & Mosaic

Pixelate parts of an image to hide sensitive details.

Processed on your device. We never see your files.

How to use Pixelate & Mosaic

What this tool does

The Pixelate & Mosaic tool applies a classic block-mosaic effect to any image directly in your browser. A single slider controls the block size from 2 px (fine, barely visible) to 80 px (coarse, strongly stylised). The live canvas preview updates in real time as you drag so you can judge the right level without committing to a download. When you are satisfied, one click saves the pixelated result as a PNG.

The algorithm is the canonical nearest-neighbour mosaic approach: the image is drawn at 1/block-size dimensions (so each block becomes a single pixel), then scaled back up with image smoothing disabled, which forces the browser to replicate each pixel as a solid block. The result is identical to what you would get in a professional editor — a clean, hard-edged mosaic with no blurring or interpolation between blocks.

Why you might need it

Pixelation is used in two main contexts: privacy and aesthetics.

For privacy, pixelation is one of the most recognisable redaction techniques. Sharing a screenshot of a bug report that contains an email address, a name, or an account number requires redacting that information before posting it publicly. Pixelation is instantly readable as intentional obfuscation, which communicates more clearly than a black rectangle that the content is deliberately hidden rather than missing due to a technical problem.

For aesthetics, the pixelation effect has a long history in game art, retro illustration, and internet culture. An 80 px block size on a portrait produces the look of an early 8-bit video game sprite, which is a popular style for avatars, stickers, and thumbnails. Lower block sizes (8–15 px) produce a mosaic tile effect that works well as a background texture or as an artistic overlay on a product image.

Content creators use it to add a retro filter to gaming screenshots. Graphic designers use it as a background texture layer. Security-conscious users apply it to document scans and screenshots before sharing. Teachers use it to create partially-revealed image puzzles.

How to use it

  1. Drop your image onto the upload area or click to browse and select a file.
  2. The canvas loads your image at its original size with no effect applied.
  3. Drag the Block size slider to the right to increase pixelation.
  4. Watch the mosaic update instantly at each step.
  5. For precise control, click the slider and use the left and right arrow keys.
  6. Click Download PNG to save the mosaic result.
  7. Click Clear to start over with a different image.

Common pitfalls

The most common surprise is that block size is absolute in pixels, not relative to the image. A block size of 20 px looks very fine on a 4000 × 3000 px photograph but very coarse on a 400 × 300 px thumbnail. Start with a smaller value for high-resolution images and increase until the preview looks right.

Pixelation does not remove information — a sophisticated reverse process can partially reconstruct the original from a pixelated image if the block size is small. For stronger privacy protection, use a larger block size (30 px or more), or overlay a blacked-out rectangle on sensitive regions instead.

At very large block sizes on images with many small features, the mosaic can look visually cluttered because each block is averaging a complex mix of colours. This is expected behaviour and can look interesting as an artistic effect — or you can reduce the block size until the composition feels cleaner.

Tips for best results

For retro avatar effects, square images work best. Crop your photo to a square first (using the Image Cropper), then apply a block size of 40–80 px for a bold 8-bit look. Combine with the Black & White preset in the Image Filter Applier for a classic monochrome sprite appearance.

For background textures, use a moderately blurred version of a photograph (Image Blur Tool) and then apply a small pixelation (4–10 px) to add a subtle texture without a strong mosaic pattern. The layered approach produces more depth than either effect alone.

For document redaction, apply a block size of 20–30 px over the sensitive areas. Ideally, target only the region that needs redacting rather than the whole image — for selective redaction, you may need a dedicated image editor. This tool pixelates the full image.

Explore the rest of the canvas-filter family: Image Filter Applier for one-click style presets, Image Blur Tool for smooth Gaussian blur, Image Brightness & Contrast Adjuster for exposure control, and Image Grayscale Converter for desaturation.

Frequently asked questions

Is my image sent to a server when I pixelate it?
No. The pixelation is computed entirely inside your browser using the HTML Canvas API. Your image is never transmitted over the network — it goes from your file system into browser memory, is processed there, and the output blob is made available for a local download. There are no server calls at any stage, which you can verify in your browser's Network tab.
How does the pixelation algorithm work?
The tool draws your image at a fraction of its original size (1 ÷ block size), capturing a tiny thumbnail in which each pixel represents one block. It then draws that thumbnail back up to the original dimensions with imageSmoothingEnabled = false, forcing the browser to use nearest-neighbour scaling instead of interpolation. This produces the hard-edged, blocky mosaic look.
What is the difference between this and the Image Blur Tool?
Blur uses a Gaussian weighting to blend neighbouring pixels smoothly, which obscures fine detail but keeps the overall image recognisable as a photograph. Pixelation groups pixels into solid-colour blocks, which is more visually distinctive and better for a retro or 8-bit aesthetic. For privacy purposes, pixelation and blur are roughly equivalent — both make text unreadable at sufficient strength.
What block size should I use to obscure faces or text?
For obscuring readable text, a block size of 10–15 px on a typical screenshot is enough. For faces, 15–25 px is usually sufficient. The right value depends on the source resolution and the original feature size — drag the slider and judge by the preview.
What format does the download produce?
PNG. Pixelation creates large areas of uniform colour that PNG encodes very efficiently, so output files are often smaller than a JPEG of the same image. If you need even smaller files, pass the PNG through the Image Compressor to convert to WebP.

Related tools