01 / Drop
Choose a picture
A photo, a render or a painting, or paste one. Scenes with clear near and far parts work best.
Free tool
Turn a photo into a depth map, near things white and far things black, for 3D photo effects, parallax, focus blur, displacement in After Effects or Blender, or a 3D print. An open AI model, Depth Anything V2, runs in this tab, so your photo is never uploaded. Full size 8 or 16-bit PNG, a 3D motion preview and MP4, no sign-up.
Need a custom tool, app or website? Contact us →This runs in your browser. Your pictures are never uploaded.
How it works
01 / Drop
A photo, a render or a painting, or paste one. Scenes with clear near and far parts work best.
02 / Estimate
A few seconds. Drag across the picture to compare it with the map.
03 / Save
Grey or colour, contrast, smoothing, inverted or 16-bit, as a PNG, or the picture moving in 3D as an MP4.
Guide
A depth map generator turns a normal photo into a grey picture where brightness stands for distance: near things are white, far things are black, and everything in between is a shade of grey. This one uses an AI model that has learned to judge distance from one flat image, with no second camera or depth sensor. You get a PNG at the same size as your photo, ready to use as a depth or displacement map in another app.
| Setting | What it shows | Use it for |
|---|---|---|
| Grey, near is white | 256 shades from black (far) to white (near) | Displacement, parallax, depth blur, 3D relief. Many apps read a map like this. |
| Colour, near is warm | Yellow and pink up close, purple and dark blue far away | Seeing at a glance how the model read the scene, or a stylised image to share |
| Invert, near is dark | The same map flipped, so near is black | Apps or effects that treat dark as close |
| 16-bit PNG | 65,536 shades of grey instead of 256, in a greyscale PNG | Displacement in Blender or After Effects, relief prints, anything that shows steps |
| Contrast | 100% as the model made it; more pushes near and far apart around the middle grey, less flattens them | A scene that looks too flat or too harsh in your effect |
| Smooth | Blurs the map by up to 20 pixels of a 1,000 pixel picture, scaled to your picture's size | Removing small lumps before displacement |
Apps read the brightness of a depth map, not its hue, so use the grey look whenever the file is going into another program. If an effect looks inside out, with the background pushing forward and the subject sinking back, tick Invert and download again.
3D motion moves each pixel of your picture by its depth: near parts shift more than far ones, around the middle grey, which stays in place. That gives the parallax look of a 3D photo. Circle moves in a loop, Side to side and Up and down sway, and Push in moves towards the scene. Depth strength sets how far things move. The preview plays at up to 720 pixels wide; Save the 3D motion as MP4 makes two 4 second loops at 30 frames a second, up to 1280 pixels wide, as H.264. Large shifts stretch the edges of near objects, so a strength of 3 to 6 looks most natural.
The model judges depth from clues people use too: things that overlap, objects that get smaller with distance, the ground running away to the horizon, and haze in the far distance. A picture with a clear subject in front and a background behind it gives the cleanest result. A portrait in a room, a street, a landscape with a path or a product on a table all work well.
It finds some scenes harder. Flat walls and close-ups of a texture have few clues. Mirrors, windows and glossy screens can show a far scene on a near surface. Sky is usually read as far, so it comes out black.
If all you want is a soft background behind a person, the blur background tool does that in one step.
Questions
Depth Anything V2 Small, by researchers at the University of Hong Kong and TikTok, released under the Apache 2.0 licence, in the browser version made by the onnx-community project. Its larger versions are for non-commercial use only, so this page uses the small one.
No. The model is downloaded to your browser from Hugging Face, the open model library, and runs there: about 50 MB with a graphics card (WebGPU), 99 MB without. The browser keeps it for next time.
No. It is relative depth: brighter is nearer than darker within the same picture, but the numbers are not metres, and two pictures cannot be compared.
Load the PNG as a displacement or depth map next to the original picture: a Displacement Map effect for parallax in After Effects, a displacement modifier in Blender, or Lens Blur with the map as the depth source in Photoshop. If your tool expects near to be dark, tick Invert.
The model works on a smaller copy of the picture and the map is enlarged back to full size, so hair, leaves and thin edges come out softer than in the photo.
A depth map is an image where each pixel's brightness stands for how far that point is from the camera. Here, bright means near and dark means far. It holds no colour of the scene, only distance.
Yes. Any normal photo works, including HEIC files from an iPhone. The model judges distance from the picture alone, so it does not need the depth data some phones store in portrait photos.
It stores 65,536 levels of depth instead of 256, from the model's own values, so a displacement or relief made from it has smooth slopes instead of small steps. It is a greyscale PNG that Blender, After Effects, Photoshop and most 3D tools open. The preview on the page shows the 8-bit version.
Yes. Click 3D motion above the picture, pick a motion and a strength, then Save the 3D motion as MP4. It is made in your browser from the picture and its map.
The same width and height as your picture, so it lines up pixel for pixel with the original when you stack them in another app.
Often, yes, as long as the picture has a sense of space, such as a figure in front of a background. Flat graphic art with no perspective gives the model little to work with, so the map comes out mostly one shade.