Portrait Mode Blur
Turn any photo into a portrait-mode shot. An AI depth model works out how far away every part of the image is, then blurs the background gradually like a real wide-aperture lens. Tap the photo to change the focus point. Your photo never leaves your device.
Uses Depth Anything V2 Small (about 25–100 MB, downloaded once and cached). Click or tap the photo to focus on that spot.
How it works
Phones fake portrait mode with depth sensors or two cameras. This tool gets the same information from a single photo: Depth Anything V2 predicts relative distance for every pixel. The page then makes several progressively blurrier copies of your photo and, pixel by pixel, picks the right amount of blur for its distance from the focus plane. Because blur grows smoothly with depth, edges look far more natural than a simple cut-out with a blurred background.
Frequently asked questions
Is my photo uploaded?
No. The depth model runs in your browser with WebGPU or WebAssembly, and the blur is computed on your device.
What do the sliders do?
Blur strength is like opening the aperture: higher means creamier background. Focus depth sets how deep the sharp zone is around the point you tapped; raise it to keep more of the subject sharp.
What is a depth map good for?
The grayscale depth map (white is near, black is far) can be used in Photoshop's Lens Blur, 3D photo and parallax effects, Blender displacement, or as a ControlNet input for AI image generation.
Why are some edges, like hair, a bit off?
Depth is estimated, not measured, so fine details such as hair or thin branches can be slightly wrong. Lower the blur strength or raise the focus depth to hide it. For a hard cut-out instead, try the Background Remover.
Last updated: 2026-11-28