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.
How to render a 16-bit height map from an STL
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.
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.
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.
More tools
Try a sample first, then open your own file. Converters and editors process your files on your device.
Depth map generator
Generate a grayscale depth map from a photo and preview it beside the original.
Depth map to STL
Turn a depth map you already have into a sized, closed mesh.
Depth map editor
Levels, layer balance and a retouch brush for any grayscale image.
Photo to SVG
Trace a photo or logo into clean outlines for cutting and scoring.
Laser photo prep
Size, sharpen and dither a photo for flat engraving.