Heightmap Generator
Terrain
Higher = more, smaller landforms.
Rain droplets carve gullies into the slopes.
Printable tile (STL)
16-bit for game engines and Blender; 8-bit for image editors.
Runs in your browser — your files are never uploaded.
- Runs in your browser
- 16-bit PNG
- Printable STL with base
- Seeded & repeatable
Terrain you can render — or print
One height grid, two uses: a grayscale heightmap for software and a watertight tile for your printer.
- 65,536height levels in a 16-bit PNG (256 in 8-bit)
- 5presets: alpine, island, mesa, hills and dunes — every slider stays open
- 2048 pxlargest PNG export; STL tiles from 30 to 250 mm
How to generate a heightmap
Three steps from a random seed to a terrain file.
Pick a preset and a seed
Start from alpine, island, mesa, hills or dunes. Each seed gives a different landscape; the same seed always gives the same one.
Shape the terrain
Scale, octaves and roughness set the detail; ridges sharpen peaks, warp bends valleys, erosion carves gullies, terraces add steps and sea level floods the lowlands.
Export PNG or STL
Save a 512, 1K or 2K grayscale PNG (16-bit or 8-bit), or set the tile size, base and relief height and download an STL in millimetres.
How a heightmap becomes terrain
A heightmap is a grayscale picture where brightness means height. The same numbers drive the PNG and the printed tile.
Noise makes the landforms
Smooth gradient noise at a few sizes is added together (fractal Brownian motion): big octaves for mountains, small ones for rocks.
Shaping makes it believable
Ridges, warping and erosion turn round blobs into crests, winding valleys and gullies; terraces and sea level flatten what should be flat.
Brightness is height
Each pixel is stored as 0–65,535 in a 16-bit PNG: black is the lowest point, white the highest.
The tile is closed and printable
For the STL, heights map to base + relief in mm on a regular grid, with flat walls and a flat bottom, so the tile is watertight.
Heightmap settings that matter
What each control does to the terrain, and a sensible starting value.
| Setting | Start with | What it does |
|---|---|---|
| Scale | 2–3 | How many big landforms fit across the map. Higher = more, smaller mountains. |
| Octaves | 5–7 | Layers of finer noise added on top (fBm). Each octave doubles the frequency (lacunarity 2). |
| Roughness | 0.45–0.55 | How strong each finer layer is. Low = smooth hills, high = rocky, busy surfaces. |
| Ridges | 0.5–0.8 | Blends in ridged noise, folding the surface into sharp crests like real mountain chains. |
| Warp | 0.2–0.4 | Distorts the noise with more noise so valleys meander instead of looking like blobs. |
| Erosion | 0.4–0.6 | Simulated rain droplets carve gullies and deposit sediment in valleys. |
| Terraces / sea level | 0 / 0 | Steps for mesas and rice-field looks; a flat water plane that also gives prints a level floor. |
| Relief vs. base (STL) | 15–25 mm / 2–4 mm | Vertical size of the landscape above a solid base. Exaggerate relief — real terrain is very flat at map scale. |
A heightmap stores one height per pixel, so it cannot describe overhangs, caves or arches. 16-bit PNGs avoid the visible stair-steps that 8-bit maps give on gentle slopes when used as displacement or game terrain.
References:Unity — Terrain heightmapsUnreal — Creating landscapesBeyer (2015) — droplet erosion
What printed terrain looks like
Relief maps, tabletop tiles and topographic models all come from height data like this. These photos by other makers and archives show the result.
Reference exampleTerrain milled from elevation datavia flickr.com
Reference exampleOutdoor raised relief mapvia commons.wikimedia.org
Reference exampleScanned desert terrain modelvia sketchfab.com
Reference examples from other sites, shown to illustrate physical terrain models. They were not made with this tool.
Made with this heightmap generator
Real outputs from the tool on this page — screenshots of the 3D preview with the seed noted, so you can make the same terrain.

Alpine range, seed 7
Ridged noise at 0.75, 7 octaves and erosion 0.6: sharp crests with carved gullies.

Island with a sea level
Radial fall-off 0.85 and sea level 0.18 make an island on a flat sea — a level floor for printing.

Terraced mesa
Seven terraces and strong warp: stepped plateaus and cliff bands, like a desert mesa.

Rolling hills
No ridges, low roughness and light erosion: soft hills for a tabletop base.
Why use this heightmap generator
For game developers, Blender artists, tabletop players and anyone who wants a mountain on their desk.

Real 16-bit output
A true 16-bit grayscale PNG, not an 8-bit image stretched — smooth slopes without terracing artifacts in Unity, Unreal, Godot, Gaea or Blender displacement.

Live 3D preview
Every slider updates a coloured 3D model within a fraction of a second, so you can see what a setting does instead of guessing.

Erosion that carves
Droplet erosion cuts gullies down the slopes and fills valley floors — the step that makes noise look like a landscape.

Print-ready STL tiles
Watertight tiles with a flat base, sized in millimetres with exaggerated relief, for display pieces, D&D terrain or a classroom model.

Seeds you can share
The same seed and settings always give the same terrain, at any export size — note the seed and rebuild the map later.
Private by design
Generation, preview and export all run in this browser tab. Nothing is uploaded and no account is needed.
Heightmap generator — questions
Straight answers about generating and using heightmaps.
More ways to work with your 3D files
View, convert, or make a model from scratch.
PNG to STL
Turn a PNG or JPG into a relief or extruded STL.
Lithophane Generator
Turn a photo into a printable lithophane.
DXF to STL
Extrude 2D DXF drawings into 3D printable STL parts.
STL to SVG
Slice or project an STL into a clean SVG outline for laser and CNC.
Coaster Generator
Design custom 3D printed coasters with text or patterns.
STL viewer
Open STL, 3MF, OBJ or GLB and measure size, area and volume.
Want caves, creatures or buildings on your terrain?
Describe them and Kairo3D’s AI makes a full 3D model — overhangs and all — ready to print.
