Heightmap to STL Converter
Drop a grayscale image and get a solid, print-ready relief: white rises, black stays low. Preview it as terrain or clay, then download STL or 3MF. Free and private.
Drop a grayscale heightmap
White is high, black is low. Terrain exports, depth maps and logos all work.
PNG, JPG or WebP · up to 25 MB
Runs in your browser — your image never leaves your device
- Runs in your browser
- Rectangle or circle
- STL or 3MF
- No sign-up
By SupaVoxel Team·Updated
How to convert a heightmap to STL
- 01
Drop the image
PNG, JPG or WebP up to 25 MB: a terrain export, a depth map, a grayscale logo or a photo. Try a sample loads a mountain heightmap. Transparent pixels count as black, so they stay at base level. - 02
Set the relief
On Shape, choose Rectangle or Circle, the width (20 to 300 mm), the Base thickness and the Relief height. On Image, crop, then use contrast, gamma and Smoothing to shape the surface. Invert makes black high instead. - 03
Download
On Detail, set the resolution, check the estimated triangles and file size, pick STL or 3MF and press Download. The relief lies flat on its base, ready to print without supports.
What you can print from a heightmap
A heightmap to STL print reads by reflected light, so side lighting brings it to life. Use cases range from maps to signs.
Relief STL settings and where to start
Width
- Range
- 20–300 mm
- Default and advice
- 120 mm. Height follows the image's aspect ratio
Base thickness
- Range
- 0.4–10 mm
- Default and advice
- 2 mm. Use 3 mm or more for wide tiles so they stay flat
Relief height
- Range
- 0.5–40 mm
- Default and advice
- 8 mm. Pure white reaches base + this height
Smoothing
- Range
- 0–4 mm
- Default and advice
- 0.6 mm. Removes pixel steps and JPEG noise; raise it for 8-bit terrain
Resolution
- Range
- 1–10 px/mm
- Default and advice
- 4 px/mm (0.25 mm detail). Export is capped at 1.5M triangles
Contrast, gamma
- Range
- 0.5–2 and 0.5–2.2
- Default and advice
- 1. Gamma above 1 lifts the lowlands, below 1 sharpens peaks
Invert
- Range
- On / off
- Default and advice
- Off. On for depth maps where near is dark
| Setting | Range | Default and advice |
|---|---|---|
| Width | 20–300 mm | 120 mm. Height follows the image's aspect ratio |
| Base thickness | 0.4–10 mm | 2 mm. Use 3 mm or more for wide tiles so they stay flat |
| Relief height | 0.5–40 mm | 8 mm. Pure white reaches base + this height |
| Smoothing | 0–4 mm | 0.6 mm. Removes pixel steps and JPEG noise; raise it for 8-bit terrain |
| Resolution | 1–10 px/mm | 4 px/mm (0.25 mm detail). Export is capped at 1.5M triangles |
| Contrast, gamma | 0.5–2 and 0.5–2.2 | 1. Gamma above 1 lifts the lowlands, below 1 sharpens peaks |
| Invert | On / off | Off. On for depth maps where near is dark |
The panel shows the triangle count and file size before you download. When the resolution would pass 1.5M triangles, it is lowered automatically and the panel says so.
A 3D relief generator that respects the image
Linear height
Solid base
Rectangle or circle
Terrain, clay, wireframe
Checked watertight
Nothing uploaded
Printing an image to relief
- Print flat on the base; there are no overhangs to support
- Use 0.12–0.2 mm layers; thinner layers soften the contour steps on gentle slopes
- 15–20% infill is plenty for the base
- Add a filament change at a chosen layer for snow-capped peaks or a contrasting sign face
- Light it from the side for photos; flat front light hides the relief
- Feed it a color photo and expect a sculpture; brightness is not depth
- Set the relief taller than the image is wide without checking thin spikes
- Skip smoothing on JPEGs; compression blocks print as tiny terraces
Heightmap, photo or 3D model?
A heightmap stores height as brightness, so it converts exactly. Terrain exports and depth maps are made this way. A normal photo is different: a white shirt rises, a dark eye sinks, and the result is a stylized embossing rather than a shape. That can look great as wall art, but it isn't a 3D likeness.
If you want the subject as a real object, use image to STL: the studio builds a full 3D model from a single picture. If you want the photo to glow when backlit, the lithophane maker is the right tool.
- Heightmap or depth map: converts exactly
- Logo on white: use Invert so the logo is raised, or extrude it with SVG to STL
- Portrait photo: embossed art, not a likeness
Heightmap to STL: ways to do it
This browser tool
- Good at
- Free, private, live preview, solid base, STL or 3MF
- Trade-off
- Rectangle and circle only; reads images at 8 bits per channel
Blender displace modifier
- Good at
- Full control, any shape, 16-bit input
- Trade-off
- Subdivide, displace, add a base and make it manifold by hand
Cura's image import
- Good at
- No extra software if you already slice in Cura
- Trade-off
- Cura only; rectangular plates
Terrain-specific web tools
- Good at
- Pick an area on a map and print it
- Trade-off
- Only geography; not for logos or depth maps
| Option | Good at | Trade-off |
|---|---|---|
| This browser tool | Free, private, live preview, solid base, STL or 3MF | Rectangle and circle only; reads images at 8 bits per channel |
| Blender displace modifier | Full control, any shape, 16-bit input | Subdivide, displace, add a base and make it manifold by hand |
| Cura's image import | No extra software if you already slice in Cura | Cura only; rectangular plates |
| Terrain-specific web tools | Pick an area on a map and print it | Only geography; not for logos or depth maps |
Honest limits
This heightmap to STL tool reads images through the browser canvas at 8 bits, so a 16-bit terrain heightmap is reduced to 256 levels. On a relief a few millimeters tall the steps are small, and Smoothing hides them. Sources larger than 2,048 px are scaled down before meshing, which is still finer than a 0.4 mm nozzle prints at 120 mm wide.
Need extras? Add a base to an STL, make a silicone mold with the STL mold maker, or check the result in the STL viewer.
More relief and photo projects
Frequently asked questions
How do I convert a heightmap to STL for free?
Is white high or low?
Can I use a photo as a heightmap?
Why does my relief have stair steps?
What resolution should I export at?
Does it support 16-bit heightmaps?
Can I make a round relief, like a coaster?
Keep going
From a flat picture to a real 3D model
Heightmap to STL is free. When you need a full 3D object from a picture, the studio builds an untextured one in usually under a minute. 3 free credits, no card.
No credit card required · 3 free credits to start