Free tool
Height map generator: real terrain to a 16-bit heightmap
Search a place, pick the area and the size, download a 16-bit heightmap of the real terrain. The status tells you the metres per pixel and the elevation range.
Runs in your browser. Nothing is uploaded.
How to use it
1Search a place
Type a mountain, island, valley or park and press Enter, or type coordinates as latitude, longitude. Pick the right match from the list.
2Set the area
Choose the side of the square, from 1 to 300 km. The preview shows the terrain and the metres per pixel.
3Pick the size and format
Choose 512 to 2049 px and a 16-bit PNG, an 8-bit PNG or a 16-bit RAW. Sizes the elevation data cannot fill for this square are greyed out, with the smallest square that works.
4Download
The tool fetches the elevation tiles that size needs and shows the progress. The status line then gives the pixel size, the metres per pixel, the heights white and black stand for, and the range to use as your height scale.
To make a height map of a real place, search its name, choose how many kilometres the square covers, pick a size and download the 16-bit PNG. Black is the lowest point of the square and white the highest. After the download, the status line gives both heights in metres, the metres per pixel, and the elevation range to enter as the height scale in your engine. The tool fetches open elevation tiles at the zoom your size needs, so a 2048 px map is built from finer data than a 512 px one, not stretched from it.
Output sizes
The metres per pixel are the side of the square divided by the size.
| Size | Made for | 10 km square | 50 km square |
|---|---|---|---|
| 512 px | Quick tests, small engravings | 19.53 m per pixel | 97.66 m per pixel |
| 1009 px | Unreal Engine | 9.91 m | 49.55 m |
| 1024 px | Any program | 9.77 m | 48.83 m |
| 1025 px | Unity | 9.76 m | 48.78 m |
| 2017 px | Unreal Engine | 4.96 m | 24.79 m |
| 2048 px | Any program | 4.88 m | 24.41 m |
| 2049 px | Unity | 4.88 m | 24.40 m |
Every size works for a 10 km square anywhere. Smaller squares lose the large sizes first, because the finest tiles run out of pixels.
A pixel is not always a measurement. Mapzen's own notes say that on land, most zoom 15 pixels of about 5 m show an oversampled SRTM value with a nominal 30 m resolution. Finer national data covers some places: 3DEP in the United States at 10 m, and 3 m in select areas, the UK at 2 m and Austria at 10 m. In those places a 2048 px map of a small square carries detail a 512 px map cannot.
Formats
- 16-bit PNG, the default: true grayscale, 65,536 height steps.
- 8-bit PNG: 256 steps, for programs that only read 8-bit images. Gentle slopes can band.
- 16-bit RAW: headerless samples, little-endian, row 0 at the top. For Unity's Import Raw.
Height and the Z scale
Black and white are not fixed elevations. Each file is stretched so the lowest point of your square is black and the highest is white. The elevation range is white minus black, and it is the number your engine needs to rebuild the real height. The tool shows it after every download. Sea level flat, on by default, sets everything below 0 m to 0 m, so the sea is black and flat.
Import into Unreal Engine
Unreal reads 16-bit grayscale PNG, and its Landscape Technical Guide lists 2017 and 1009 among the recommended landscape sizes.
- Enter Landscape mode.
- Click Import from File.
- Click the button next to Heightmap File and select your heightmap.
- Calculate the Z scale.
- Click Import.
Unreal's formula for the Z scale is the max height of your heightmap in metres, times 100 to convert to centimetres, times 0.001953125. Use the elevation range the tool reports as that height. A range of 1,500 m gives a Z scale of 292.97.
Import into Unity
Unity's manual recommends storing heightmaps as RAW files, and its heightmap resolutions are 33, 65, 129, 257, 513, 1025, 2049 or 4097. Download the 16-bit RAW at 1025 or 2049 px.
- Select your Terrain and open Terrain Settings in the Inspector.
- Under Texture Resolutions (On Terrain Data), click Import Raw and choose the file.
- Set Depth to Bit 16 and Resolution to the file's size.
- Import. The file is little-endian; if the terrain looks like noise, change Byte Order and import again.
Then set Terrain Height to the elevation range, and Terrain Width and Terrain Length to the side of the square. All three are in world units. Unity caps Terrain Height at 10,000.
Use it in Blender
- Add a Grid. Blender describes it as a base for landscapes. Raise its X and Y Subdivisions; more spans keep more of the map's detail.
- Add a Displace modifier and give it a new image texture with your PNG. Blender reads 16-bit PNG and converts it to 32-bit float.
- Set the image's color space to Non-Color, so the gray values stay as they are.
- Set Midlevel to 0, so black is no displacement. Strength then sets the height of white, since the offset is the texture value minus Midlevel, times Strength.
CNC carving and laser engraving
- For CNC, use the 16-bit PNG in Aspire, Carveco or Carbide Create and set the model height to the relief depth you want to carve.
- For laser 3D engraving, load the PNG in LightBurn as a 3D slice image; the 16-bit range keeps gentle slopes from banding.
- To print the terrain instead, open the 3D print group under the download button and export a watertight STL.
Cities: Skylines II
Its map editor asks for a 4096 by 4096 px, 16-bit grayscale PNG or TIFF. The largest size here is 2049 px, so this tool does not make a map it can load as is.
Where the data comes from
The tool reads Terrain Tiles from the AWS Open Data registry: 256 px tiles in Terrarium format at zooms 0 to 15, assembled by Mapzen from SRTM, GMTED, EU-DEM, USGS 3DEP, ETOPO1 and national datasets. SRTM is specified at 16 m absolute vertical accuracy at 90 percent confidence. The attribution line under the preview lists the sources your square used and the credit each one asks for. Do not use these maps for navigation.
Questions
What is a height map?
A grayscale image where brightness is elevation. Here black is the lowest point of the square and white the highest. A 16-bit PNG holds 65,536 gray levels, so gentle slopes come out smooth instead of stepped. Game engines, Blender, CAM software and laser software read it to build or carve the terrain.
Where does the elevation data come from?
From Terrain Tiles on the AWS Open Data registry, a global dataset assembled by Mapzen from public sources: SRTM and GMTED worldwide, EU-DEM in Europe, USGS 3DEP in the United States, ETOPO1 for the oceans and national datasets for Norway, the UK, Austria, Canada, Australia, Mexico and New Zealand. Each tile names its source, and the tool lists the ones your square used.
Why is a size greyed out?
The finest tiles, zoom 15, have pixels of about 4.8 m at the equator and 3.3 m in the Alps. A small square holds too few of them for a large image, and filling the gap would only stretch the data. The tool never stretches tiles more than 1.25 times, so it greys out those sizes and names the smallest square that works. A 2 km square in the Alps tops out at 512 px; 2048 px needs about 6 km.
Which size and format should I pick for Unreal Engine or Unity?
For Unreal Engine, a 16-bit PNG at 1009 or 2017 px, two of the landscape sizes its Landscape Technical Guide recommends. For Unity, the 16-bit RAW at 1025 or 2049 px: Unity imports heightmaps as RAW, and its heightmap resolutions are a power of two plus one.
Do I need to credit the data?
Yes, when you publish or sell what you make with it. The attribution line under the preview names the dataset and the credit each source requires, for example SRTM and 3DEP courtesy of the U.S. Geological Survey or EU-DEM produced with Copernicus data funded by the European Union. Place names come from OpenStreetMap contributors under the ODbL.
Is anything uploaded?
No. Your browser fetches the elevation tiles and, when you search by name, asks OpenStreetMap for coordinates. The height field, the preview and the file you download are built on your device.
Read next

Laser and CNC
Depth Maps for CNC Relief Carving: From Photo to Toolpath
How to prepare a depth map for CNC relief carving: resolution, depth, background, PNG or STL, roughing and finishing tools, stepover and common mistakes.
November 20, 2026 3 min read

Depth maps
16-Bit vs 8-Bit Depth Maps for LightBurn 3D Sliced Engraving
When a 16-bit depth map improves a LightBurn 3D Sliced engraving, when 8-bit is enough, how passes relate to gray levels, and how to check a file's bit depth.
September 21, 2026 3 min read

Depth maps
3D Laser Engraving: The 3 Types, the Machines and How to Do It
What 3D laser engraving means (relief, crystal or curved surfaces), how to engrave a depth map step by step, starting settings, software and machine prices.
October 8, 2026 10 min read