فارسی

Blur a Photo Background and Keep the Subject Sharp

Keep the subject sharp and blur the background: set the blur strength and darkening, then download a JPEG. The photo is never uploaded.

Use this tool in your browser without installing software.

About this tool

A phone portrait mode uses a real depth map; this tool builds a similar look from colour. It reads the corners of the photo as the background, separates the subject from it, and blurs only the background while the subject stays sharp. The blur slider sets the depth of field, and darkening pushes the subject further forward. Everything runs in the browser and the output is a high-quality JPEG. If the background is not even, change the colour tolerance or the separation mode so the whole subject stays sharp.

How to use it

  1. 1

    Choose a photo; PNG, JPG, WebP, GIF and AVIF up to 20 MB are accepted.

  2. 2

    Set the blur strength, and lower the colour tolerance if part of the subject blurs.

  3. 3

    Darken the background a little to lift the subject, then download the JPEG.

If the file will not open

  • Part of the subject is blurred too.

    That area was counted as background. Lower the colour tolerance or pick the connected mode so enclosed areas inside the subject stay sharp.

  • The blur is too weak or too strong.

    The strength is relative to the photo size, so the same number gives a wider blur on a large photo. Change it in small steps until the subject edge looks natural.

  • The download button does not produce a file.

    If an error is shown, the browser ran out of memory for the image; reload the page or use a smaller photo.

Frequently asked questions

How is this different from a phone portrait mode?

A phone builds a depth map from the real distance of objects and blurs the background gradually. This tool separates the subject by colour, so the background gets one even blur rather than a graded one. For a portrait on a simple background the result is close; for a busy scene the phone mode is more accurate.

Why is the edge of the subject a little soft?

The subject mask has a soft edge so the cut does not look like a staircase. If it is too soft, lower the edge softness and set the edge clean-up to zero. Keep in mind that a harder edge makes hair and fur sharper but more jagged.

Is the photo uploaded anywhere?

No. The file is read and processed inside this page, and nothing sends it to a server. Once the page is open, the tool keeps working with the internet disconnected.

What format and quality is the output?

The output is a JPEG at 92% quality, which is enough for a site, a social post or a small print and is smaller than a PNG. A blurred background has little fine detail, so JPEG compression does not leave visible artefacts in it.