Skip to main content

Image Blur & Pixelate

Apply blur or pixelation effects to images with adjustable intensity.

Reviewed by · Last reviewed

🔲

Drop an image here or click to upload

Apply blur or pixelation effects

How to Use the Blur and Pixelate Tool

  1. Upload a photo or screenshot by dragging into the dropzone. The file is read locally and drawn into a canvas for processing.
  2. Choose an effect mode: "Blur" for a smooth Gaussian spread, or "Pixelate" for a classic mosaic-block censor look.
  3. Drag the intensity slider. For blur, the slider maps to a radius in pixels from 1 to 30. For pixelate, it maps to the mosaic block size from 1 to 50 pixels per cell.
  4. Watch the preview update live. Heavier settings take a few more milliseconds but stay interactive thanks to the browser\'s optimized CSS filter pipeline.
  5. Click "Download" to export the processed image as PNG. The effect is baked into the pixel data permanently.

Two Effects, Two Algorithms

Blur and pixelation look similar at a glance but use very different math. A Gaussian blur computes each output pixel as a weighted average of nearby source pixels, with weights that follow the bell curve of a Gaussian function. The larger the radius, the more neighbors get mixed in, and the smoother the transitions between colors become. We implement this by applying ctx.filter = "blur(Npx)" on the Canvas 2D context, which delegates to the browser\'s GPU-accelerated filter pipeline - typically the same SVG filter primitive (feGaussianBlur) defined in the W3C Filter Effects specification.

Pixelation is conceptually a two-step downscale-then-upscale. We draw the image at a shrunken size into a scratch canvas, then draw the tiny result back at full size with imageSmoothingEnabled = false. The nearest-neighbor interpolation in the upscale step is what produces the blocky mosaic. A block size of 20 means the image is effectively rendered at one-twentieth of its width, then blown back up, so each original 20x20 region collapses into a single flat color (the average of its interior).

When to Reach for Blur or Pixelation

  • Censoring a credit-card number, phone number, or email address in a screenshot before posting it to a bug tracker.
  • Anonymizing faces or license plates in photos shared publicly on a blog post.
  • Blurring a background behind a product shot to create a faux depth-of-field effect when your camera could not do it in-lens.
  • Creating a Gaussian-blurred hero-image backdrop for a website where text overlays need contrast.
  • Producing a pixel-art aesthetic overlay for retro-themed designs, 8-bit tributes, or game mockups.
  • Generating a privacy-safe placeholder thumbnail that hints at the content without revealing detail, for a CMS gallery.

Censorship Pitfalls You Need to Know

  • Light pixelation can be reversed. If the block size is small relative to the text being hidden, techniques like "unpixelate" demosaicing attacks (and in extreme cases ML-based deblurring) can recover the hidden content. Use a block size at least as large as the height of the censored text, ideally larger.
  • Gaussian blur is more reversible than it looks. For a known text font, a mild blur can be partially unwound. For true censorship, use a solid black rectangle - pixel-level deletion - not blur.
  • The effect is permanent. Once you export a blurred or pixelated image, the original pixel values are gone. Always keep the uncensored master file somewhere safe if you might need the full content later.
  • Edge handling at the image boundary. Gaussian blur near the edges of the image falls off because the kernel reads "outside" pixels. The browser typically extends edge color outward, but subtle halos can appear at the boundary.
  • The whole image is processed. This tool applies the effect globally. For selective blur (just a face), you would need a mask-aware editor; this is intentional to keep the interface simple.

The Math Behind Gaussian Blur

A Gaussian filter convolves the image with a two-dimensional Gaussian kernel G(x,y) = (1/(2pi*sigma^2)) * exp(-(x^2+y^2)/(2*sigma^2)). The parameter sigma controls how far the blur reaches: a sigma of 2 gives a visually noticeable softness, sigma of 10 heavy bokeh, sigma of 30 obliterates detail. The CSS and SVG Filter Effects specification maps the blur(Npx) parameter to a standard deviation of approximately N, though browsers are allowed to truncate the kernel for performance. Because Gaussian is separable (the 2D kernel equals a 1D horizontal blur followed by a 1D vertical blur), GPU implementations run it in two linear passes, which is why "blur(30px)" on a 4000-pixel image still completes in well under a hundred milliseconds. The theoretical trade-off versus a box blur is smoothness: box blur averages equal weights over a square window and shows subtle banding, while Gaussian falls off smoothly and looks perceptually natural.

Alternatives When You Need More Power

For selective blur - masking just a face while the rest of the image stays sharp - a full editor is required: Photoshop\'s Blur tool with a layer mask, Affinity\'s Inpainting brush, or Photopea\'s free browser version of the same workflow. ImageMagick\'s magick input.jpg -blur 0x20 output.jpg gives pixel-precise control over sigma (0x20 means radius auto, sigma 20) for batch pipelines. For true privacy-grade redaction, dedicated tools like ObscuraCam (mobile) and PDF redaction tools use solid-color replacement rather than blur, because blur is detectably reversible. Squoosh.app does not offer blur, but can stack AVIF encoding on top of an already-blurred file for extreme compression. Use this tool for quick, global censor-or-stylize jobs; reach for mask-aware editors when you need to affect only part of an image.

Frequently Asked Questions

Can a determined attacker reverse the pixelation on my censored screenshot?

Yes, if the block size is too small relative to the hidden content. Researchers have demonstrated successful unpixelation of short passwords and credit-card numbers when the pixel blocks are finer than the character height. For text censorship, use block sizes at least 1.5x the text height, or better, black-rectangle redaction which has zero recoverable information.

Is Gaussian blur truly reversible?

Partially. Deblurring algorithms (Wiener deconvolution, blind deconvolution) can recover some of the original content from a mildly blurred image, especially if the content follows a known structure (text in a standard font, license-plate digits). A strong blur with sigma above 15 is practically irreversible for natural photos, but for privacy-critical content you are safer with solid-color masking.

What is the difference between blur and pixelate visually?

Blur creates a smooth, continuous gradient - the image looks like it is out of focus. Pixelation creates a sharp-edged mosaic of flat-color blocks, the "minecraft" look. Blur tends to feel more cinematic and is harder to localize; pixelation tells the viewer "something was censored here" more obviously. Pick based on whether you want the censorship to be invisible or conspicuous.

Does the tool process my image locally or on a server?

All processing runs locally in your browser's Canvas context. Blur uses the browser's GPU-accelerated CSS filter pipeline, and pixelation uses a downscale-upscale trick with <code>imageSmoothingEnabled = false</code>. No network request carries pixel data. You can confirm by watching the DevTools Network panel stay empty during a processing cycle.

Can I blur only part of my image (like just a face)?

Not with this tool - the effect applies globally. For selective blur, you need a mask-aware editor: Photopea (free, browser-based), Photoshop, GIMP, or Affinity Photo. The usual workflow is: duplicate the layer, apply blur to the copy, add a black mask, then paint white onto the mask exactly where you want the blur visible.

Why does blur look different at the edges of the image?

Gaussian convolution needs pixels outside the image near the boundary, and browsers typically handle that by extending the edge color outward. This produces a subtle halo effect along the borders at high blur intensities. Crop a few pixels off each edge after the blur if the halo is distracting.

What is the largest blur radius I can apply?

The slider caps at 30 pixels, which produces very heavy blur where recognizable detail is mostly lost. Beyond that, the blur starts to look like a flat color wash because the kernel is averaging most of the image with itself. For even stronger effects, apply the max blur, export, and re-import to apply it a second time.

Does pixelation reduce my file size?

Often yes. A pixelated image has large flat-color regions, which DEFLATE (the compression behind PNG) handles extremely efficiently. A pixelated 1920x1080 PNG might come in at 100 KB where the source was 2 MB. Gaussian blur does not shrink as dramatically because the smooth gradients still have a continuous range of color values.

How does this compare to ImageMagick blur on the command line?

ImageMagick's <code>magick input.jpg -blur 0x20 output.jpg</code> gives you direct control over the sigma parameter and supports more kernel variants (motion blur, radial blur, selective blur). The browser's CSS filter only exposes a single "radius in pixels" value. For batch jobs or precise kernel tuning, use the CLI; for a quick privacy mask or stylistic effect, the browser is one click faster.

Can I undo the blur or pixelate if I change my mind after downloading?

No - the effect is permanent in the exported file. The original pixel values are gone. Always keep a copy of the original master image before applying destructive effects like blur or pixelation, so you can re-censor with different parameters later if needed.

Is the pixel blur effect the same as a mosaic or a censor block?

Pixelation produces the mosaic-block "censor" look you see in news segments where faces or sensitive text are obscured with a grid of flat-color squares. Pixel blur in casual usage often means the same effect. Strictly, "blur" is the smooth Gaussian variant and "pixelate" is the blocky one - this tool offers both via the effect-mode toggle. Pick pixelate for a clearly censored look, blur for an unobtrusive softening.

More Image Tools