16-bit grayscale PNG

STL to Depth Map Converter

Open an STL, choose the side to look from, and export a 16-bit grayscale PNG. It all happens on your device.

No meshSample
Reading the mesh

How to render a 16-bit height map from an STL

  1. Open an STL

    Binary and ASCII files up to 200 MB are read on your device. The panel shows the triangle count and the size of the part as seen from the chosen side.

  2. Choose the side

    Top looks down the Z axis, which suits reliefs and coins. Front and Side look along Y and X. The nearest surface becomes the lightest value.

  3. Export the PNG

    Pick 512, 1,024 or 2,048 pixels for the longest side and download a 16-bit grayscale PNG.

STL to Depth Map Converter FAQ

What happens to overhangs and undercuts?

A height map stores one height per pixel, so only the surface nearest to the viewer is kept. Anything hidden behind it is not in the image.

Which units does the size use?

The file’s own. STL has no unit field; most files are in millimeters.

Why is part of the image black?

Pixels that the mesh does not cover are set to the lowest level. The panel shows how much of the image is covered.

Is my file uploaded?

No. The mesh is parsed and rendered in this browser tab.

Turn a photo into a depth map

Try a sample for free without signing in. Sign in to generate a map from your own photo.