How to Blur a Photo Background Like Portrait Mode, and Make It Look Natural

To blur a photo's background like portrait mode, the AI Background Blur tool finds the subject with an AI segmentation model, blurs the photo, and lays the sharp subject back on top. Whether the result looks natural comes down to three things: blur strength relative to the size of your photo, the quality of the subject's edge, and whether the scene could plausibly have had a shallow depth of field. This guide covers all three.

What is portrait mode actually imitating?

A camera lens keeps only one distance in sharp focus. Things nearer or farther than that plane get progressively softer, and the zone that still looks acceptably sharp is called the depth of field. A wide aperture (a small f-number such as f/1.8), a longer focal length and a subject close to the camera all make that zone shallow, which is why portrait photographers can make a busy street melt into soft colour behind a face. The quality of that out-of-focus blur, including the round highlights from lights, is often called bokeh.

Phone cameras have small sensors and short lenses, so they produce deep focus naturally. Their portrait modes simulate the effect in software, usually by estimating depth with multiple cameras or a depth sensor and blurring each area according to its distance.

This tool takes a simpler, very reliable route: it separates subject from background and applies one even blur to everything behind the subject. That matches a real lens well whenever the background is clearly some distance behind the person or object, which covers most portraits, pet photos and product shots.

How the tool works

1 It finds the subject

When you press "Blur the background", the tool runs the same background-removal model used by the AI Background Remover to produce a cut-out of the main subject. The first run downloads the model, about 40 MB, and your browser caches it. Photos larger than 4096 px on the longest side are scaled to 4096 first.

2 It builds the blurred background

A blurred copy of the photo becomes the new background, using the Blur Strength value you set.

3 It places the sharp subject on top

The original, untouched subject is drawn over the blur. The cut-out is computed once per photo and kept, so moving the slider afterwards updates the preview instantly without running the model again.

4 You save it

The download is a PNG at the same pixel size as the processed photo, saved as portrait-mode.png.

Which blur strength looks natural?

The Blur Strength slider runs from 1 to 20, and the number is a blur radius in pixels of your photo. That detail matters: the same setting looks strong on a small image and subtle on a large one, because 10 pixels is a big share of a 1,200-pixel-wide photo and a small share of a 4,000-pixel one. Use these as starting points and adjust by eye:

Photo size (longest side) Subtle depth Classic portrait look Strong, creamy blur
Around 1,000 to 1,500 px 2 to 3 4 to 6 8 and up
Around 2,000 to 3,000 px 4 to 6 8 to 12 14 and up
Around 4,000 px 6 to 8 12 to 16 18 to 20

If even 20 is not strong enough on a very large photo and you do not need every pixel, resize it to around 2,000 px on the long side with the image resizer first. The same slider value will then look roughly twice as strong.

A useful rule of thumb from real lenses: the blur should be strong enough that the background reads as "out of focus", but you should still be able to tell what it is. When a recognisable street turns into an unreadable smear, most viewers sense an edit.

How to get clean edges around hair and hands

Edge quality is where a background blur succeeds or fails, because the eye goes straight to the outline of the subject.

When does a background blur look natural?

It looks most convincing when:

Choose a lighter touch when:

Related jobs: remove, replace or hide

If you want the background gone rather than softened, use the background remover for a transparent PNG. To hide faces, number plates or text for privacy rather than for style, the techniques are different; see how to blur faces and text in photos.

Frequently Asked Questions

Can I change the blur after it is applied?

Yes. Once the subject has been found, the slider re-blurs the preview instantly. The model only runs again when you load a new photo.

Does it work on mobile?

Yes, in current mobile browsers. The first run downloads the model, so Wi-Fi is a good idea, and very large photos process faster if you resize them first.

Is my photo uploaded?

No. The model downloads to your browser and the subject detection and blur both run on your device.

Try it on your own photo

Find the strength that suits your picture with a live slider.

Blur Background Now