Convert 2D PNG/JPG Images to 3D STL Mesh files!

Use our fast and free image to STL online tool to convert your PNG and JPG 2D heightmap images or logo into 3D STL (Standard Triangle Language) mesh/model files suitable for printing with a 3D printer, CNC machining or for loading into your favourite 3D editing package. To see some examples of what our tool can create, please see our examples section below.

How to turn an image into a 3D model

Upload a PNG or JPG photo, logo, or heightmap, then choose Heightmap mode to raise the model from the brightness of the image, or Extrude mode to give a flat design a solid 3D thickness. Adjust the detail, size, and optional base to suit your project, then convert and download a 3D model such as STL for 3D printing, CNC machining, or use in a 3D editor.

Using this tool

Click on the "Upload a file" button above to begin. Your PNG/JPG image/heightmap should fit within 1000 x 1000 pixels, if it is larger than this the image will be resized to fit within this size. Once you submit your image it will be processed as quickly as possible. More complicated images may take longer than others so please be patient. For more information about how your image is converted into the final 3D model please see the section below How Does Image to STL Work?.

How to Convert your JPG or PNG to STL Online?

Here are three simple steps to create an STL file from a JPG or PNG file.

Image to STL Conversion Options

How Does Image to STL Work?

Heightmap Mode

The process is simple: After converting your image to greyscale, in Heightmap mode, our tool examines your 2D PNG or JPG (heightmap) image and based on the brightness of each pixel, will create a corresponding "3D" pixel where the height of the pixel is determined by the pixel luminosity. A black pixel will have a height of 0mm and not be included in the final 3D generated model, however a white pixel will have a height that you specify once your image is uploaded.

When using the Extrude Color mode the tool works in the same way as the Heightmap mode however the way the tool interprets the pixel color information changes and also the final generated model will contain the color data overlayed onto the model.

An original color height PNG image

An original color height PNG image

The heightmap converted to a color 3D heightmap model

The heightmap converted to a color 3D heightmap model

Another view of the 3D heightmap model

Another view of the 3D heightmap model

Extrude Mode

In Extrude mode our tool traces around the edges found in your image and creates simple but clean 3D models from the image, great for simple images. The Extrude Color mode also creates clean 3D models however instead of varying the model height based on the pixel brightness, the pixel color is used directly in the final model to provide color.

Simple shape to extrude

Simple shape to extrude

The swirl image is converted to a 3D model

The swirl image is converted to a 3D model

The tool creates clean and smooth edges in the 3D model

The tool creates clean and smooth edges in the 3D model

Finally...

The 3D STL file created by our tool can be printed with a 3D printer or if you would like to process the model further, it can be loaded into most 3D mesh editing packages such as Blender etc. For 3D videogame/application developers this is a useful tool for creating 3D mesh files from heightmap images for use in your games and other 3D applications.

Image To STL Examples

Image to STL Frequently Asked Questions

Other Frequently Asked Questions

© 2026 ImageToStl. Convert your PNG and JPG Files to 3D STL files.