Free tool · CC0
Heightmap generator: terrain in a click.
Pick a landscape (mountains, islands, swamp, canyon, dunes, rolling hills), shape it with ridges, smoothing, terraces and water level, and watch it in 3D. Download an 8-bit PNG, a 16-bit RAW for smooth terrain, or the shaded colour map.
- 6 landscapes
- 3D preview
- PNG & 16-bit RAW
- Up to 1024²
How do I make a heightmap?
A heightmap is a grayscale image where brightness means height. Generate one below by choosing a landscape and adjusting the sliders, then download the PNG (or the 16-bit RAW for smoother slopes) and import it into your engine's terrain tool, Blender's Displace modifier or a three.js plane.
Importing a heightmap into your engine
| Engine | Format | Where |
|---|---|---|
| Unity | 16-bit RAW | Terrain → Terrain Settings → Import Raw. Set the resolution to the RAW size (for example 513 or 1025 works best with Unity; resize if needed), byte order Windows. |
| Unreal | 16-bit PNG or RAW | Landscape mode → Import from File. |
| Godot 4 | PNG | Use a terrain plug-in, or displace a PlaneMesh in a shader with the PNG as a height texture. |
| Blender | PNG | Add a subdivided plane, Displace modifier, new texture → the PNG. |
| three.js | PNG | Read the pixels and set each vertex's Y on a PlaneGeometry, as this preview does. |
How the terrain is generated
The base is fractal noise: several layers of smooth random values at doubling frequencies and halving strengths, which gives large hills with smaller bumps on top. Ridges mixes in ridged noise, which folds the noise around a midline to make sharp crests like mountain ranges. Island falloff pushes the edges down so land sits in the middle surrounded by sea.
Smoothing runs a simple thermal-style pass that lowers sharp peaks toward their neighbours, which reads as weathering. Terraces quantises the height into steps with soft risers, the look of canyons and rice fields. Water level flattens everything below it into a near-level surface, which is what makes swamps and lakes work: in a swamp preset, half the map sits just at or under the water line.
Frequently asked questions
What is a swamp heightmap?
A mostly flat terrain with many shallow dips that sit at or below water level, separated by low, rounded humps. The Swamp preset uses large smoothing and a high water level to get exactly that.
What resolution should I use?
256 or 512 for a small game level, 1024 for a large open area. Some engines prefer sizes of 2ⁿ+1 (513, 1025); resize the PNG if yours does.
Are the heightmaps free to use?
Yes, CC0. Use them in any project.
How is RAW different from PNG?
RAW is just the height values as 16-bit unsigned integers, little-endian, row by row, with no header. You tell the engine the width, height and byte order when importing.
EvonX AI game maker
Got the asset? Now make the game.
Describe your game in one sentence and EvonX builds it: code, art, sound and a link you can share. Free to start, no download, plays on any phone.