PNG to STL

PNG → Printable STL: contours for stamps, or heightmaps for reliefs & lithophanes. Free online.

Workspace

Drop files here

or click to browse, paste supported

About This Tool

Designed for PNG images, the tool uses transparent channels to extract precise contours, making it ideal for stamps and logos. For regular photos, the heightmap mode converts them into reliefs or lithophanes. You can adjust the resolution before exporting the STL file, and all processing is done locally in your browser.

How to Use

A logo or icon with a transparent background

Use Outline Extrude: only the visible shape becomes solid.

  1. 1

    Load the PNG

    Transparent pixels are left empty, so the outline is cut cleanly with no background to remove.

  2. 2

    Set thickness and base

    Choose Extrude Height. If the logo has separate pieces, set Base to Follow Outline or Rectangle so they stay joined.

  3. 3

    Download and scale

    Download the STL and scale it to its final size in your slicer.

A photo or grayscale picture

Use Heightmap: brightness becomes height.

  1. 1

    Switch to Heightmap

    Use Raise By to decide which parts stand up: dark areas for a lithophane, light areas for a raised picture.

  2. 2

    Set relief and base

    Set Relief Height and Minimum Base Thickness. Add a little Smoothing if the photo is noisy.

  3. 3

    Download and print

    Download the STL. For a lithophane, print it upright in a light colour and hold it up to a light.

About Configuration Options

Quick recipes

  • A keychain or stamp from a logo

    Try: Outline Extrude, Base: Follow Outline, and a few millimetres of Extrude Height.

  • A backlit photo lithophane

    Try: Heightmap, Raise By: Dark Raised, and a thin Minimum Base Thickness.

  • A smoother surface from a noisy photo

    Try: Raise Smoothing a little and lower Detail.

  • Fewer stray shapes around a logo

    Try: Raise Ignore Small Specks and adjust Threshold.

Conversion Mode

Conversion Mode

Outline Extrude
Select how the image should be converted into 3D geometry.
  • Outline ExtrudeRecommended: Generates solid shapes with uniform thickness from image outlines. Ideal for stamps, logos, nameplates, and other uniform-thickness objects.
  • Heightmap: Creates a relief surface from the image's light and dark areas. By default darker parts are raised; change it under Raise By to lighter, vivid colors, or custom per color. Great for photo reliefs, terrain models, and artistic surfaces.

Size

Width (X)

100mm10mm – 500mm
Final model width, including the base. With the aspect ratio locked, the length follows the shape's proportions and does not change with Detail.

Length (Y)

Locked to the width by the shape's aspect ratio. Editing it rescales the width.

Lock Aspect Ratio

on
When on, the height follows the width using the shape's proportions. Turn off to set width and height separately (the model is stretched).

Background

Background

By Brightness
By Brightness: transparent areas of a PNG are the background; opaque images are split by Threshold. Remove by Color: transparent areas plus pixels close to any picked color are removed. Keep Background: nothing is removed.

By Brightness · Remove by Color · Keep Background

Background Colors

#ffffff
Pixels close to any of these colors are removed. Add a second color for gray-and-white checkerboards or two-tone backgrounds (up to 4).

Tolerance

150 – 100
Higher values also remove colors further from the picked ones. Raise it if a colored fringe remains or the background is uneven.

Transparent Fill

White
Fill transparent areas with this color and keep the whole image.

White · Black

stl|Open With: Slicer Software、MeshLab、Windows 3D Viewer、STL Viewer Online

From PNG to a good print

PNG files with a transparent background give the cleanest outlines, because empty areas are dropped instead of printed. Then match the printer settings to what you are making.

What you are makingSlicer settingsReason
A cookie cutter or stencilFlat, 0.2 mm layers, 2 walls, no infill needed.Thin walls cut cleanly and print in minutes.
A two-colour logoPause at the layer where the raised part starts and swap filament.Gives a second colour without a multi-colour printer.
A lithophaneUpright, 100% infill, 0.12 mm layers, white PLA.Even thickness gives even light.
A wall signFlat, 0.2 mm layers, 15% infill, brim on.A brim stops corners lifting on large flat parts.

Frequently Asked Questions

View all FAQs

How are transparent areas handled?

In Outline Extrude mode, transparent areas typically generate no geometry (hollow), leaving only the opaque subject, ideal for stamps and silhouettes. In heightmap mode, brightness determines thickness; transparency is processed as previewed.

Will PNG colors be preserved in the STL?

No. STL only stores geometry. For colored models, use the 'PNG to 3MF' converter, or paint after printing.

Why does my PNG contour capture background noise or extra shapes?

Outline Extrude mode extracts regions by brightness, so a busy or colored background, or anti-aliased edges, can produce stray shapes. Crop the subject, use a clean transparent background, and adjust the threshold to ignore faint areas.

How large will the model be, and what units does the STL use?

The exported file is written in millimeters. The vertical settings (depth, max height, base thickness) are mm, but the horizontal footprint follows the image's pixel grid, so check the size in your slicer and scale the model to the dimensions you need.