Convert png to stl

Free online PNG to STL converter

Create printable STL reliefs from grayscale heightmaps or traced PNG silhouettes.

Convert PNG to STL online - free

Uploading…
Selected files exceed the 30 MB total limit. Please select fewer or smaller files.

Model type

A relief raises the bright parts of the picture above a base plate: terrain, embossed logos, signs. A lithophane is a thin plate that is thicker where the picture is dark, so the photo appears when light shines through it. Print it in white filament.

Model size (longest side)

Height

Relief: how far the brightest parts rise above the base plate. Lithophane: the thickest point of the plate (the thinnest is 0.8 mm). Auto uses 5 mm for a relief and 3 mm for a lithophane.

Mesh detail

More detail keeps finer features of the picture, but the file gets bigger and slower to slice.

Swaps high and low, for example to raise a dark logo on a white background.

Your file is processed instantly and deleted as soon as you download it.

How it works

  1. 1/3

    Upload your .png file

    Click to browse to select your file you want to convert or simply drag & drop your file into selected area.

  2. 2/3

    Perform .png to .stl conversion

    After successful file upload, click to convert when you are ready.

  3. 3/3

    Download converted .stl file

    Conversion result is ready to download.

How to convert png to stl file

A 3D printer, CAD package, or CNC workflow may require an STL mesh instead of a flat PNG image. The conversion is useful when the PNG is a heightmap or silhouette; an ordinary photograph cannot become an accurate 3D model without additional modeling decisions.

What the PNG format is

PNG is a raster image format that stores pixels with lossless compression and can include an alpha channel for transparency. Adobe Photoshop, GIMP, Krita, Affinity Photo, and screenshot or scanning tools commonly create PNG files for drawings, logos, interface captures, scanned documents, and grayscale heightmaps.

A PNG contains color or brightness values, not 3D coordinates, surfaces, thickness, or physical units. Conversion must therefore apply an interpretation: grayscale brightness can control surface height, or a traced outline can become an extruded solid.

What the STL format is

STL stores a surface as triangular facets. 3D-printing slicers such as Ultimaker Cura, PrusaSlicer, and Bambu Studio use STL meshes to generate toolpaths, while CAD and mesh applications use STL for basic geometry exchange.

STL does not store color, transparency, textures, materials, or a reliable unit declaration. Binary STL is normally smaller and more suitable for transfer; ASCII STL is human-readable but much larger. A printable model should be a closed, non-self-intersecting, manifold surface with correctly oriented normals.

Convert a grayscale heightmap in Blender

  1. Prepare the PNG in GIMP, Photoshop, or another image editor. Convert it to grayscale, crop unwanted margins, remove noise, and use black for the lowest areas and white for the highest areas. Flatten or remove unintended transparency.
  2. Open Blender and delete the default cube. Add a plane through Add → Mesh → Plane, enter Edit Mode, and subdivide it into enough faces to represent the useful image detail. A 200 × 200 grid contains 40,000 vertices; larger grids increase memory use and STL size.
  3. With the plane selected, add a Displace modifier through Modifiers → Add Modifier → Displace. Create a texture, set its type to Image or Movie, and load the PNG. Set the modifier's coordinates to UV; Blender's default plane already has suitable UV coordinates.
  4. Set Strength to the desired maximum relief height. Adjust Midlevel to choose which gray value represents zero displacement, then inspect the preview for clipped or inverted relief.
  5. Add a Solidify modifier after Displace to create base thickness. Apply the modifiers only after checking the mesh from the sides and below. Use Blender's 3D Print Toolbox or another mesh-repair tool to find holes, non-manifold edges, and intersecting faces.
  6. Set the object's dimensions explicitly in the Item panel, normally in millimeters. Select the object and use File → Export → STL; enable selection-only export when the scene contains unrelated objects.

Convert a logo or silhouette by tracing and extruding

  1. Open the PNG in Inkscape and use Path → Trace Bitmap. Clean the traced paths, remove the background, close open contours, and save the result as logo.svg.
  2. Import logo.svg into Blender through File → Import → Scalable Vector Graphics (.svg). Select the imported curve and set its 2D curve geometry Extrude value. Add a small Bevel only when rounded edges are required.
  3. Convert the curve through Object → Convert → Mesh. Inspect holes, internal paths, duplicate faces, and thin sections, set the intended dimensions, and export through File → Export → STL.

This method creates a constant-thickness solid from an outline. It does not reproduce photographic shading or hidden 3D structure.

Use an online converter

For a non-confidential grayscale heightmap, ImageToSTL.com provides an image-to-STL converter with controls for model width, height, base thickness, maximum relief height, and output format. Upload the PNG, select grayscale or heightmap processing, set the dimensions and base thickness, preview the relief, and download the STL. Interface names and limits can change, so inspect the downloaded mesh in a slicer before printing.

Online converters generally interpret brightness as height. They do not infer mechanically accurate solids, overhangs, internal cavities, or separate depths from an ordinary photograph. Do not upload proprietary designs, personal scans, or other confidential images.

Quality and compatibility limits

  • Resolution does not equal printable detail. A 1000 × 1000 PNG can produce a very dense mesh without improving the result. Nozzle diameter, layer height, printer XY resolution, and the material determine useful detail.
  • Anti-aliased edges, noise, and compression artifacts become unwanted ridges in a heightmap. Blur, denoise, or threshold the source image before conversion when a smooth relief or clean outline is required.
  • A single heightmap cannot represent overhangs, vertical cavities hidden from the viewing direction, or independent objects at different depths. Use CAD, sculpting, or conventional 3D modeling software for those features.
  • Check the STL in Blender, MeshLab, Microsoft 3D Builder, or the target slicer. Look for holes, flipped normals, self-intersections, zero-thickness regions, disconnected shells, and incorrect scale.
  • STL has no dependable unit metadata. Export and import using an agreed convention, normally millimeters, and confirm the model dimensions in the slicer before manufacturing.

PNG vs STL: format comparison

How the PNG and STL formats compare on the properties that matter most for this conversion.

Comparison of the PNG and STL file formats
Property .PNG Portable Network Graphics .STL Stereolithography
Open standard Yes Partly open
Compression Lossless Uncompressed
Typical file size Small Small
Opens in a web browser Yes, natively No
Further editing Limited Not directly editable
Metadata support Extensive None
Plain-text readable No Yes
Best used for Web publishing Embedding in applications
Introduced 1996 1987
Developer PNG Development Group 3D Systems
MIME type image/png model/stl

Frequently asked questions

Is the PNG to STL converter free?

Yes, converting PNG to STL on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.

How large can my PNG file be?

You can upload PNG files up to 50 MB and convert up to 20 files at once in a single batch.

What happens to my uploaded files?

Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.

Do I need to install any software to convert PNG to STL?

No. The PNG to STL conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.

Did the conversion fail?

In most cases, the cause is an incorrect file format. Please upload a valid PNG file for this PNG to STL conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.

Can a PNG be converted to an STL for 3D printing?

Yes, but the PNG must be interpreted either as a grayscale heightmap for a relief or as a silhouette for an extruded shape. A normal color image does not automatically contain complete 3D geometry, so the result depends on how its pixels are mapped to height or outline.

Will PNG transparency and colors be preserved in an STL?

No, STL does not preserve transparency, colors, textures, or other image metadata. Transparency is usually treated as a background or ignored, while grayscale brightness may be converted into surface height if the conversion uses the PNG as a heightmap.

What PNG resolution should I use when creating an STL relief?

Use a source resolution that contains enough detail for the intended physical size, because each pixel can contribute to the relief mesh. Increasing resolution can preserve finer features but may create a heavier mesh, while low resolution produces stepped edges and a visibly coarse surface.

Why does my PNG-to-STL result have a flat or broken shape?

This usually happens when the PNG is not a suitable heightmap or has an unclear background, transparency, very low contrast, or thin disconnected details. A silhouette conversion also needs a clean, closed outline, while a heightmap needs clearly separated dark and light values to define usable depth.

Additional formats for
png file conversion

Reverse conversion

Convert to stl from
other formats

Share on social media: