png to stl
Convert PNG to STL
Turn a PNG or JPG logo or silhouette into a solid STL for 3D printing. The dark shape is traced and extruded to the thickness you set. Runs in your browser.
Good to know
The result is flat with clean edges, like a sign or a cookie cutter: everything darker than the threshold is one thickness, and everything lighter is left out. That suits logos, icons, silhouettes and line art. A photo needs its shades, so make that with the lithophane maker, which turns brightness into thickness.
How it works
- 1Drop a PNG or JPG in the box above: a logo, an icon or a silhouette, dark on light.
- 2Move the threshold until the preview shows the shape you want. Turn on Invert for light on dark.
- 3Set the width and the thickness in millimeters, and smooth the edge if it looks stepped.
- 4Download the STL and slice it. Print it flat, face up.
From pixels to a solid
A PNG is a grid of colored pixels with no size and no depth. An STL is a surface of triangles in millimeters. To get from one to the other, the edge between dark and light is traced into outlines, and the outlines are pushed up into a solid with flat faces and straight walls.
Kept: the silhouette, with holes inside letters and rings left open. Lost: colors, shades and anything lighter than the threshold. Soft shadows and gradients turn into a hard edge wherever they cross it.
Thin lines print badly below about 0.8 mm, two passes of a 0.4 mm nozzle. If a detail is thinner than that at your width, make the print wider or raise the threshold to thicken it.
Pictures that trace well
High contrast and a plain background. A PNG with a transparent background works: clear pixels are left out.
500 pixels or more across. Smaller pictures are enlarged first, which rounds their steps but cannot bring back detail.
One color of ink. A logo in several colors traces as one shape; anything lighter than the threshold drops out.
About STL
STL (Stereolithography). The default 3D printing format since 1987: a bare list of triangles. Every slicer reads it, but it has no units, no color, and no parts.
Units: None in the file. Slicers read the numbers as millimeters. Up axis: Z. Opens in Bambu Studio, PrusaSlicer, Cura, OrcaSlicer, and Blender.
Questions
- Can I convert a JPG to STL the same way?
- Yes. PNG, JPG and WebP all work. JPG compression leaves faint speckles near edges; the tracer drops specks, and a little more smoothing cleans up what is left.
- What does the threshold do?
- It sets how dark a pixel must be to count as the shape. Raise it to catch lighter greys and thicken thin lines, lower it to keep only the darkest parts. For a light logo on a dark background, turn on Invert.
- How big will the print be?
- A picture has pixels, not millimeters, so you set the width and the height follows. The STL is in millimeters, which is what slicers expect.
- Is the PNG to STL converter free?
- Yes. You get 3 runs a month without an account. Sign in with your email, free, and there is no limit.
- Is my image uploaded?
- No. The file is read and converted in your browser. It never reaches our servers.
- Can I turn a photo into an STL?
- Not as a solid: a photo has no single outline. The lithophane maker turns a photo into a relief you can print. To get a real part from a photo of an object, upload it to Voloom with a sentence about what it is.
- Can I put the logo on a part?
- Yes. Upload the image to Voloom with a prompt, such as “a keychain with this logo raised 1 mm”, and it builds the part around it.