SupaVoxel
Free 3D relief tool

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 ·Updated

01

How to convert a heightmap to STL

  1. 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.
  2. 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.
  3. 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.
02

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.

A terrain tile: 120 mm wide, 2 mm base, 8 mm relief, the defaults
One filament change at a set layer turns the peaks white
03

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
SettingRangeDefault and advice
Width20–300 mm120 mm. Height follows the image's aspect ratio
Base thickness0.4–10 mm2 mm. Use 3 mm or more for wide tiles so they stay flat
Relief height0.5–40 mm8 mm. Pure white reaches base + this height
Smoothing0–4 mm0.6 mm. Removes pixel steps and JPEG noise; raise it for 8-bit terrain
Resolution1–10 px/mm4 px/mm (0.25 mm detail). Export is capped at 1.5M triangles
Contrast, gamma0.5–2 and 0.5–2.21. Gamma above 1 lifts the lowlands, below 1 sharpens peaks
InvertOn / offOff. 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.

04

A 3D relief generator that respects the image

Linear height

Gray value maps straight to height: mid-gray at 8 mm relief is 4 mm above the base. Contrast and gamma let you reshape it on purpose.

Solid base

A closed base under the relief, so the print sits flat on the bed and needs no supports.

Rectangle or circle

Circle crops the image square and trims it round, for coasters and medallions.

Terrain, clay, wireframe

Preview with elevation colors, as plain clay, or as a wireframe to see the mesh density.

Checked watertight

Each STL and 3MF is a closed solid, and the result line confirms it after export.

Nothing uploaded

The image is decoded and meshed in your browser tab.
06

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
07

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
OptionGood atTrade-off
This browser toolFree, private, live preview, solid base, STL or 3MFRectangle and circle only; reads images at 8 bits per channel
Blender displace modifierFull control, any shape, 16-bit inputSubdivide, displace, add a base and make it manifold by hand
Cura's image importNo extra software if you already slice in CuraCura only; rectangular plates
Terrain-specific web toolsPick an area on a map and print itOnly geography; not for logos or depth maps
08

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.

FAQ

Frequently asked questions

How do I convert a heightmap to STL for free?

Drop the grayscale image on the tool at the top of this page, set the width, base thickness and relief height, and press Download. There is no account, no watermark and no upload: the relief STL is built in your browser and saved straight to your device. 3MF is available too.

Is white high or low?

White is high and black is low, the usual heightmap convention. Pure white reaches the base thickness plus the relief height, and pure black stays at the top of the base. If your image uses the opposite convention, as many depth maps do, switch on Invert.

Can I use a photo as a heightmap?

You can, and the result is embossed wall art rather than a 3D likeness, because brightness in a photo isn't depth. Raise smoothing and contrast for a cleaner surface. For a real 3D model of the subject, use the image to STL generator, and for a backlit photo, the lithophane maker.

Why does my relief have stair steps?

Either the image has few gray levels (8-bit terrain, posterized PNGs or JPEG blocks) or the layer height is coarse. Raise Smoothing to 1 to 2 mm, export again, and print at 0.12 mm layers. A larger relief height also spreads the same levels over more layers.

What resolution should I export at?

The default 4 px/mm gives 0.25 mm detail, which is already at the limit of a 0.4 mm nozzle. Higher values make bigger files with little visible gain. The tool caps exports at 1.5 million triangles and tells you when it lowered the resolution to stay under that.

Does it support 16-bit heightmaps?

They open, but browsers decode images at 8 bits per channel, so a 16-bit file is reduced to 256 gray levels. For most prints a few centimeters across that's invisible, especially with smoothing on. For survey-grade terrain models, Blender's displace modifier keeps the full 16 bits.

Can I make a round relief, like a coaster?

Yes. Choose Circle on the Shape tab. The image is cropped square and trimmed round, and the base follows the circle. Use pan and zoom on the Image tab to center the part you want.
Start free

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