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.
- Hair: solid hair outlines come through crisp. Loose flyaway strands are partly transparent in the cut-out, so they take on some of the blur. Against a plain background this looks just like a real lens; against a high-contrast background, choose a lower strength.
- A soft glow at high strength: the blurred layer is made from the whole photo, subject included, so at the top of the slider a faint halo of the subject's colours can appear just outside the outline. If you see it, step the strength down a few notches.
- Gaps and held objects: the space between an arm and the body should blur like the rest of the background, and usually does. Things the subject holds, such as a phone, bouquet or cup, may be treated as subject or as background. Check them in the preview.
- Start sharp: a subject that is itself slightly out of focus or motion-blurred gives the model a soft edge to work from. Pick the sharpest frame you have.
When does a background blur look natural?
It looks most convincing when:
- The subject stands well in front of the background, such as a head-and-shoulders portrait with a street, garden or room behind.
- There is one clear subject: a person, a pet, or a product on a table with the room behind it.
- The background has some texture or lights, which turn into pleasing soft shapes.
Choose a lighter touch when:
- The ground runs from the subject's feet to the horizon. In a full-length shot, a real lens keeps the ground at the feet sharp and blurs it gradually with distance. An even blur makes the floor right next to the shoes as soft as the far wall, so use a low strength or crop to a three-quarter shot.
- The subject touches the background, for example leaning on a wall or sitting on a sofa. Whatever they touch should be nearly as sharp as they are.
- Several people stand at different distances. All of them are kept sharp, which can look odd if one is clearly much farther back.
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