AI Background Blur for Photos

Keep the subject sharp and soften everything behind it, like a phone's portrait mode, on a photo you already took.

Runs on your device · 0 uploads
  1. 1
    Add your imageJPG, PNG or WebP, it stays in this tab
  2. 2
    Set it upSay what you want the model to do
  3. 3
    Press the buttonThe model runs on your device, so give it a moment
Beforeno image yet
Your image goes here

Add one above. It is read in this tab and never uploaded.

Afternot run yet
Nothing here yet

Press Blur the background. The portrait with a soft backdrop appears here.

Settings

Each one says what it does. Change any of them and run it again.

Add an image to get started. It never leaves this tab.

How to use it

How to blur the background of a photo

  1. Add a photo with a clear subject. A person, pet or product that stands out from what is behind it gives the cleanest edge.
  2. Press Blur the background. The model finds the subject. The first run downloads the model (about 40 MB), after which it is cached in your browser.
  3. Set the Blur Strength. The preview follows the slider straight away, so you can go from a light, natural softening to a heavy studio-style backdrop.
  4. Download. You get a PNG named portrait-mode.png with the sharp subject over the blurred background.
About this tool

Portrait mode after the fact

A camera with a wide aperture blurs the background optically, because only a thin slice of the scene is in focus. Phones fake the same look with depth sensors and software. This tool does the software half on a photo you already have: it decides which pixels belong to the subject, blurs the rest, and leaves the subject untouched.

Under the hood it uses the open-source @imgly/background-removal segmentation model, running in the browser through WebAssembly. The model produces a cut-out of the subject once per photo. The tool then draws the photo, a blurred copy over it, and the sharp cut-out on top. Because the cut-out is cached, moving the slider only repeats the cheap drawing step, which is why the preview responds instantly after the first run.

Blur here is uniform, so it does not grow with distance the way real lens blur does. For most portraits, profile photos and product shots that is exactly what you want: a calm, even backdrop that puts the attention on the subject. Photos larger than 4096 pixels on the long edge are scaled to that size first so the model fits in browser memory.

If you would rather drop the background entirely, use the background remover for a transparent PNG. To hide only a specific face or detail rather than the whole background, the privacy blur tool blurs or redacts just that area.

Common questions

Frequently asked questions

How does the background blur work?

An AI segmentation model finds the subject and makes a cut-out of it. The tool then draws a blurred copy of the whole photo and places the sharp cut-out on top, so only the background is softened.

Why does the slider update instantly after the first run?

The subject cut-out is calculated once per photo and kept in memory. Moving the Blur Strength slider only redraws the blur, so you can try light and heavy settings without running the model again.

How strong should the blur be?

The slider goes from 1 to 20 pixels of blur, measured on the photo itself. On a small image a setting of 5 already looks soft. On a large phone photo, try the upper end of the range for a clearly separated background.

Can I remove the background instead of blurring it?

Yes, with the companion background remover. It uses the same kind of on-device model and exports the subject on a transparent PNG instead of a blurred scene.

Is my photo uploaded?

No. The model runs in your browser, and the only download is the model itself, about 40 MB on the first run and cached after that. The photo stays on your device.

Check for yourself that nothing is uploaded

🔎 Verify it yourself: nothing uploads

Don’t take our word for it. Open your browser’s DevTools (F12 → Network tab), then run this tool on any image. The only download you’ll see is the open-source AI model coming to your browser. Your image itself is never sent anywhere. Every tool on this site works the same way: all processing happens on your device.

Related tools