Image to STL Online

Greyscale in · terrain out

Heightmap to STL Converter

Turn a greyscale heightmap — terrain, displacement or depth map — into a printable STL: white is high, black is the base, and the vertical scale is yours.

  • White is high, black is the base — exactly how a heightmap is stored
  • Vertical scale is yours to set: same map, flat relief or dramatic range
  • 16-bit sources are read as 8 bit, so smooth slopes can band
PNG, JPG, WebP or SVG · up to 15 MB · or drop it here No image loaded

Load an image and the 3D preview shows up here. Drag to rotate, scroll to zoom.

—

Files stay on your device — nothing is uploaded, no account needed.

A heightmap is already the model

Every image to STL conversion works the same way: brightness becomes height. That means a greyscale heightmap — the kind a terrain generator, a displacement map or a laser scan exports — is already the thing you want to print. You just need it turned into triangles.

Drop the greyscale image in the panel above. White becomes the top of the range, black becomes the base, and the result is a solid with a flat back.

What counts as a heightmap here

16-bit PNGs are read as 8 bit by the browser's canvas, so a 16-bit terrain map loses fine steps. If the terrain has long gentle slopes you will see banding in the print; convert a narrower area, or apply a little blur to smooth the steps before converting.

Scale: the part heightmaps hide

A heightmap has no units. Width in millimetres sets the footprint, and the model height follows your image's aspect ratio. The vertical scale is separate: max relief height sets how tall the brightest point stands above the base.

That means the same map can print as a subtle relief or as a mountain range — and terrain in particular looks wrong if the vertical scale is off. Real terrain is much flatter than it feels: 1 mm of height per 10 mm of ground is already dramatic. Start at 5 mm of relief on a 100 mm wide map.

Typical settings

What this cannot do

It cannot read a 16-bit heightfield with real elevation data, and it does not preserve georeferencing. If you need vertical exaggeration measured in real metres, scale it in a mesh editor after converting — the STL is in millimetres, so a uniform scale is all you need.

Want the general converter instead? It lives on the home page and does photographs, logos and drawings with the same engine.

Questions

Common questions

Can I convert a 16-bit heightmap?

The browser reads it as 8-bit greyscale, so fine steps are merged. For smooth terrain, apply a slight blur before converting to avoid visible banding.

How tall should the terrain be?

5–8 mm of relief across a 120 mm wide map reads as a real landscape. More looks exaggerated, less looks flat.

Does it keep real elevation values?

No. The output is geometry in millimetres, not georeferenced data. Uniform scaling in a mesh editor is the way to correct the vertical scale.

What file formats work?

Grey PNG, JPG, WebP or SVG up to 15 MB. PNG is the right choice for heightmaps — it has no compression artifacts to turn into bumps.