---
title: "Blur Photo Background Online – Portrait Mode | ImgSprint"
description: "Blur background of photo online free: on-device AI keeps the subject sharp and adds a portrait-mode blur with adjustable strength. Your image stays private."
url: https://imgsprint.com/tools/blur-background/
---

1.  [Home](https://imgsprint.com/)
2.  [Tools](https://imgsprint.com/tools/)
3.  Blur Background

# Blur the Background of a Photo New!

Blur background of photo online free: on-device AI keeps the subject sharp and adds a portrait-mode blur with adjustable strength. Your image stays private.

-   No upload
-   Free, no sign-up
-   No watermark

## Blur background tool

Select image

or drop an image here

JPG, PNG, WebP, AVIF

## How to use the Blur Background

1.  1

    ### Add a photo

    Portraits, pets, food, and product shots with a clear subject work best.

2.  2

    ### AI finds the subject

    An on-device segmentation model separates the subject from the scene.

3.  3

    ### Set the blur

    Drag the strength slider from a subtle softening to a dramatic DSLR-style bokeh.

4.  4

    ### Download

    Save the portrait-mode photo as a full-resolution JPG or PNG.

## What you can do

### Portrait-mode effect

Recreates the shallow depth of field of a fast lens on any photo, even from an old phone.

### Adjustable strength

From a gentle 2 px softening to a heavy 40 px blur, plus optional background dimming.

### Clean edges

The AI matte blends the sharp subject smoothly into the blurred background.

### On your device

The photo is processed locally — never uploaded.

## What is background blur (bokeh)?

Photographers use wide-aperture lenses to create a **shallow depth of field**: the subject is crisp while everything behind it dissolves into soft shapes, often called _bokeh_. The effect draws the eye to the person or product and hides distracting backgrounds — cluttered rooms, crowds, traffic. Phones imitate it with “portrait mode”, but older photos, screenshots from video calls, and images from front cameras usually lack it. This tool adds it afterwards.

## How ImgSprint creates the effect

First, an AI matting model running in your browser estimates which pixels belong to the subject. Then the whole photo is blurred with a Gaussian-style filter. With _Reduce halo_ enabled, the subject is first removed and the hole is filled from the surrounding background, so the subject’s colours do not bleed into the blur. Finally, the sharp subject is painted back on top using the soft mask, so hair and edges blend naturally. You can also dim the background slightly to make the subject stand out even more.

## Tips for natural-looking results

-   **Moderate strength looks real.** 10–18 px suits most portraits; very high values look artificial on wide shots.
-   **Close subjects work best.** Head-and-shoulders portraits and close product shots look most like a real lens.
-   **Mind the ground.** When feet or a table are visible, the sharp-to-blur transition at the base can look abrupt — crop tighter with [Crop Image](https://imgsprint.com/tools/crop-image/).
-   **Prefer a flat colour?** Use [Change Background Color](https://imgsprint.com/tools/change-background-color/), or get a transparent cut-out with [Remove Background](https://imgsprint.com/tools/remove-background/).

Everything happens on your device, so personal photos stay private. The only download is the AI model itself, which your browser caches for next time.

## Common mistakes to avoid

-   **Cranking the blur to maximum.** Strength above ~24 px looks like a sticker pasted on a painted backdrop. Stay in the 10–18 px range for portraits; reserve higher values for hiding a truly unusable background.
-   **Blurring photos with more than one clear subject.** The model picks a single main subject. Two people standing apart, or a person plus a pet, often leaves one of them soft. Crop to one subject, or blur manually with Blur & Censor.
-   **Ignoring hair and glasses edges.** Fine hair and spectacle frames are where masks fail. If you see halos, keep “Reduce halo” on and lower the strength one notch rather than turning the option off.
-   **Blurring a photo that is already flat.** If the whole image is soft or motion-blurred, blurring the background only makes the subject stand out as “less blurry,” not sharp. Fix the source photo first.
-   **Forgetting the first-load wait.** The AI model downloads once (tens of MB) and is cached. On a slow connection the first photo can take a minute — later ones are near-instant. Do not reload the page mid-download.
-   **Exporting JPG for further editing.** If you plan to composite the result, download PNG. JPG re-encodes the soft gradient and can show banding in the bokeh.

## Frequently asked questions

How does the blur background effect work?

An AI segmentation model running in your browser creates a mask of the main subject. The full photo is then blurred, and the sharp subject is layered back on top using that mask, imitating the shallow depth of field of a portrait lens.

Is this the same as portrait mode on my phone?

It is similar. Phones often use depth sensors to blur progressively with distance; this tool applies an even blur to everything behind the subject. For most portraits and product photos the result looks very close.

Why is there a slight halo around the subject?

When the background is blurred, colours from the subject can spread into the area right next to it. Lower the blur strength or turn on “Reduce halo”, which fills the subject area before blurring.

Why is the first photo slow?

The first time, the AI model (roughly 40–80 MB) is downloaded and cached by your browser. Later photos are processed much faster.

Is my photo uploaded?

No. Segmentation and blurring both run in your browser.

More in AI

-   [Remove Image Background](https://imgsprint.com/tools/remove-background/)
-   [Image to Text (OCR)](https://imgsprint.com/tools/image-to-text/)
-   [Change Background Color](https://imgsprint.com/tools/change-background-color/)

[All tools](https://imgsprint.com/tools/)

Private by design

Your image is processed by your own browser. It is never uploaded, stored, or seen by us.

## Related tools

[New! ### Change Background Color Swap any background for a solid colour, gradient, or another photo.](https://imgsprint.com/tools/change-background-color/)[### Remove Image Background AI cut-out that separates any subject from any background, right in your browser.](https://imgsprint.com/tools/remove-background/)[### Blur & Censor Image Blur or pixelate any region of a photo to hide private details.](https://imgsprint.com/tools/blur-censor/)[### Compress Image Shrink JPG, PNG, WebP, and AVIF files with a live quality slider.](https://imgsprint.com/tools/compress-image/)[### Resize Image Set exact dimensions or scale by percentage, with aspect-ratio lock.](https://imgsprint.com/tools/resize-image/)[### Crop Image Crop to freeform or preset ratios with a live pixel preview.](https://imgsprint.com/tools/crop-image/)
