Heightmap to STL converter
Drop in a grayscale heightmap, a terrain export or a depth map. Each sample becomes a point on the surface, set on a solid base that prints without supports.
- Free, no sign up, runs in your browser
- Your image is never uploaded
- Live 3D preview, binary STL download
Brightness becomes height, free in your browser
Built in your browser. Your image is not uploaded, and the download is free with no account.
Before you upload a heightmap
Read at 8 bits
Browsers read images at 256 gray levels, so a 16 bit heightmap is reduced to 8 bits. Raise Smoothing if gentle slopes come out terraced.
White is high by default
Some depth tools export the opposite way round, with near things dark. Tick Darker is higher and the surface flips.
Detail sets the grid
Draft, Standard and Fine sample the map at 160, 260 or 400 points along its long edge. Big maps are averaged down to that grid, which keeps the STL a sensible size.
How to turn a heightmap into an STL
- 1
Add your image
Drop in a photo, logo or drawing. It is read on your device and never uploaded.
- 2
Tune it in 3D
Set the size and thickness in millimetres. The preview rebuilds as you move each slider, so you see what will print.
- 3
Download the STL
Save a binary STL at real size and open it in Cura, PrusaSlicer, Bambu Studio or any other slicer.
Heightmap and STL, side by side
What is a heightmap?
A heightmap is a grayscale image where brightness stands for height: white is the highest point, black the lowest. Terrain tools, game engines and depth estimation models all export them.
A heightmap already describes a surface, so turning it into a printable relief or terrain tile is direct.
What is an STL file?
STL is the file 3D printers have used since the late 1980s. It lists the triangles that make up the outside of an object and nothing else: no color, no material, and no units, so slicers read the numbers as millimetres. Every slicer opens it, which is why it is still the safe choice for printing.
More on STL files| Property | Heightmap | STL |
|---|---|---|
| What it stores | Gray levels read as height | The outer surface of an object, as triangles |
| Color | Grayscale only | None, shape only |
| Opens in | Image apps, terrain and game tools | Slicers, CAD and 3D apps |
| Made for | Terrain, textures, depth maps | 3D printing and sharing printable parts |
Heightmap to STL questions
What is a heightmap?
A grayscale image where brightness stands for height. Game engines, terrain editors and depth estimation tools all export them.
Can I print terrain from real elevation data?
Yes, once the area is exported as a grayscale PNG. The image carries no real elevation scale, so set Relief height to the vertical exaggeration you like.
How big will the STL be?
The line under the preview shows the size, triangle count and file size before you download. A 4:3 map at Standard detail is about 100,000 triangles, roughly 5 MB.
Can a heightmap become a lithophane?
Yes. Switch to the Lithophane tab. There dark areas print thicker so they block more light when the panel is lit from behind.
Guides for this kind of image
- Image to heightmapTurn any picture into a grayscale heightmap PNG and a solid relief STL.
- Lithophane makerTurn a photo into a thin panel that lights up when you hold it to a lamp.
- Image to STL for laser engravingLasers read grayscale, not STL. Make the depth map here, and the STL if you need it.
- Image to STL in BlenderDisplace a plane with your image, add thickness and export STL.
More image to STL converters
Ready to print it?
Free, no sign up, and your file never leaves your device.
Convert a heightmap now