Height Map to STL

Turn grayscale height maps and terrain images into 3D-printable STL models with live preview.

Loading...

Please wait

About This Tool

Upload a PNG, JPG or WebP height map. Brighter pixels become higher peaks. Tune max height, base thickness, smoothing and sample resolution, then download STL for printing or further editing.

Tips

  • 1Prefer high-contrast grayscale sources
  • 2Raise base thickness for stable prints
  • 3Higher resolution captures more detail but produces larger files

About Configuration Options

Terrain settings

Invert height

Defaultoff

When enabled, dark pixels become high and light pixels become low.

Max height

Default5mm

Range0.5mm – 20mm · step 0.5mm

Maximum height of the tallest terrain peak in mm.

Base thickness

Default1mm

Range0mm – 5mm · step 0.5mm

Thickness of the solid base below the terrain.

Smoothing

Default2

Range0 – 10

Applies smoothing to reduce noise in the terrain mesh.

Resolution

Default400px

Range100px – 400px · step 50px

Number of grid subdivisions. Higher = more detail, larger file.

Format Information

Input format

Extension:
Image
Full Name:
Image File
Type:
Image
Format:
PNG / JPG / JPEG / SVG / WebP
Open With:
Image EditorWindows PhotosPreview (Mac)Vector EditorWeb BrowserInkscape
Description:
Any supported image format including PNG, JPG, JPEG, SVG, and WebP. The tool automatically detects the format and applies the appropriate conversion settings.

Notes:

  • Maximum supported resolution: 4096×4096 pixels

Supported Features:

  • Supports PNG, JPG, JPEG, SVG, and WebP formats
  • Automatic format detection
  • Transparency support for PNG and WebP

Output format

Extension:
stl
Full Name:
Stereolithography
Type:
3D Mesh
Format:
STL (Binary / ASCII)
Open With:
Slicer SoftwareMeshLabWindows 3D ViewerSTL Viewer Online
Description:
STL is the most widely supported 3D printing format, storing triangle mesh only. It works with virtually all slicers and printers, the universal choice.

Notes:

  • Does not support colors, textures or materials
  • No unit definition — verify scale in your slicer
  • ASCII format is 4-6× larger than binary

Supported Features:

  • Triangle mesh only — simple and universally compatible
  • Binary and ASCII encoding options
  • Directly importable into Cura, PrusaSlicer, Chitubox, etc.

How to Use

1

Upload a height map

Drop a grayscale or color image

2

Adjust terrain settings

Set height scale, base and resolution

3

Download STL

Export a printable mesh

Frequently Asked Questions

About this tool

Q

What image works best?

A

Grayscale elevation maps or high-contrast photos. White = high, black = low (or invert for the opposite).

Q

Can I use real terrain data?

A

Export a grayscale DEM or screenshot from a mapping tool, then upload it here. Direct map-API terrain fetch is not included in this version.

Q

Is processing local?

A

Yes. Conversion runs in your browser with optional Web Worker acceleration.

General questions

Q

Is Any3D completely free?

A

Yes, Any3D's core features are free to use forever. We provide format conversion, model optimization, and online preview at no cost, with no registration required.

Q

Are my files uploaded to your servers?

A

No. Files you select are processed only in your browser on this device—they never leave your device and are never sent to our servers. We don't store any user files; after processing, related data in browser memory is released.

Q

Do I need to install software?

A

No installation required. Any3D is entirely browser-based—just open the webpage to use all features. It works on Windows, Mac, Linux, and other major operating systems.

Q

Is there a file size limit?

A

The processing capacity depends on your device performance and the model's vertex count and texture complexity, rather than file size alone. We impose no file size limit, but when a model exceeds what your device can handle, the page may lag or even crash.

Support Us