PNG to STL Converter
Drop in a PNG logo, icon or silhouette and get a watertight STL you can slice: the shape is extruded in millimeters, with an optional base plate. Everything runs 100% in your browser and nothing is uploaded. Want a real 3D product from a photo instead of a flat shape? FurniMesh (furnimesh.com), made by our team, builds one from a single photo.
What happens to your PNG
The converter reads your image into a hidden canvas and turns it into a grid of samples, 200 across by default. Each sample is either solid or empty. With Auto selected, a PNG that contains any transparency uses its alpha channel: opaque pixels become plastic, see-through pixels become air. A PNG with no transparency falls back to brightness, so dark ink becomes solid and white paper disappears. You can force either source and move the brightness threshold, which starts at 50%. Invert flips the result, handy for white artwork on a black background.
Empty transparent margins are trimmed before anything is measured, so the Width you type is the width of the artwork itself, not of a canvas with 200 pixels of nothing around it. The solid region is then pushed straight up by the extrusion height, 3 mm unless you change it. With the base plate on, the shape sits on a 2 mm slab that extends 3 mm past the artwork on every side. That is the classic keychain, nameplate and badge layout, ready for a two-color filament swap at the plate's top layer.
Smooth edges or pixel blocks
Smooth uses marching squares. Instead of stair-stepping around every sample, it finds where the outline crosses between two samples and places the edge there, with sub-pixel interpolation from the actual alpha or brightness values. Curves on lettering and round logos come out as clean, slightly faceted outlines rather than jagged steps. This is the right choice for almost every logo.
Pixel blocks builds one square column per solid sample, like stacking LEGO bricks. Use it on purpose for pixel art, 8-bit sprites and QR-style patterns, where the square steps are the point. Where two pixels touch only at a corner, the converter adds a bridging pixel. That keeps the mesh manifold, because a corner-only contact would give one edge four triangles, which confuses slicers.
Either way, the result is one closed, watertight solid: every edge belongs to exactly two triangles. The readout under the preview shows the triangle count, the final size in millimeters and the file size, which is simply 84 bytes plus 50 bytes per triangle in binary STL.
Grayscale relief mode
Some PNGs are not shapes at all. A texture, a terrain render or a soft-shaded emblem carries its information in shades of gray. Relief mode turns brightness into height: by default white rises 2 mm above a 1.2 mm base and black stays at the base, with an invert switch if you want dark areas high. The output is a closed slab with a sculpted top, useful for wall tiles, textured coasters and lithophane-style experiments.
A 2.5D extrusion, not a full 3D object
Every model this converter makes is 2.5D. The top surface follows your image, but the sides are vertical walls and the bottom is flat. That is exactly what a logo, sign or cookie-cutter outline needs, and exactly what a photo of a real object does not. If you drop in a picture of an armchair, you get a chair-shaped cookie, not a chair.
For a full 3D model of a real piece of furniture or a home object, you need a tool that infers depth, the back and the hidden legs. That is what our own product does: FurniMesh image to 3D builds a textured model from one photo of a single object, and its GLB to STL converter turns the result into a printable file in your browser. Our guide on going from a logo to a full 3D product model walks through when each route fits.
How it compares
We compared published features on each vendor's own site in November 2026. The free web converters all handle the basic job; the differences are where your file goes and how much control you get.
| Tool | What it does with a PNG | Where processing happens | Output | Cost |
|---|---|---|---|---|
| This converter | Alpha or threshold mask, extrusion with optional base plate, smooth or pixel edges, grayscale relief | Your browser; nothing uploaded | Binary STL in mm | Free, no account |
| 3DPEA | Stander (brightness height) and Extrude modes, each with a color variant; settings for basic thickness, border, transparency conversion, invert and smoothing | Not stated; uploaded files are not stored, per the site | STL, OBJ, 3MF and others | Free, no registration; one file at a time |
| ImageToStl.com | Extrude traces edges in the image; heightmap sets black to 0 mm and white to your chosen height | Its conversion servers; output kept 4 hours | STL and other 3D formats | Free; large images are resized |
| Tinkercad | Does not import PNG or JPG; you trace the image to SVG first, then import the vector | Web app; the vector is imported, no raster | STL, OBJ or GLTF | Free |
| FurniMesh (our product) | Not a PNG extruder: builds a full 3D model of a single object from a photo | Its servers for generation; GLB to STL converter runs in your browser | GLB, OBJ, SKP, BLEND; STL via converter | Free previews; downloads of generated models need a plan |
Our view: for a quick logo or sign where you would rather not upload anything, use the converter above. If you want color-separated parts for a multi-material printer, 3DPEA's color modes are worth a look. If you have the vector original and want to combine it with other shapes, Tinkercad's SVG import is the cleanest route.
Your file stays on your machine
The whole pipeline, from decoding the PNG to writing the STL, is plain JavaScript and canvas running in this tab. The 3D preview uses three.js served from this site, not from a third-party CDN. There are no uploads, no accounts, no cookies and no analytics. You can load the page, switch off your Wi-Fi and keep converting. Details are on the privacy page.
Guides for better prints
A good STL starts with a good PNG and sensible dimensions. These guides cover the questions that come up most:
- PNG to STL for logos, keychains and signs: real sizes, plate and letter heights, and where to put the keyring hole.
- How to prepare a PNG for 3D printing: contrast, transparency and how many pixels you actually need.
- PNG vs SVG for 3D printing: when the vector is worth the detour.
- Thin features and minimum wall thickness: why 0.8 to 1.2 mm is the number on a 0.4 mm nozzle.
- From logo to full 3D product model: when a flat extrusion is not enough.
Maker guides
Real sizes, real wall thicknesses and the reasons behind them.
- PNG to STL for Logos, Keychains and Signs
Plate thickness, raised height, margins and hole placement for keychains, desk signs, badges and magnets, with the numbers that print well.
- How to Prepare a PNG for 3D Printing
Contrast, transparency, pixel count and line thickness: the four things to fix in your image before it becomes an STL.
- PNG vs SVG for 3D Printing
How pixel and vector artwork turn into STL edges, when tracing to SVG pays off, and when a PNG is all you need.
- Fixing Thin Features: Minimum Wall Thickness
The reasoning behind 0.8 to 1.2 mm walls on a 0.4 mm nozzle, a pixel-to-millimeter worked example, and fixes for lines that disappear.
- From Logo to Full 3D Product Model
Where a flat extrusion stops, and how to get a full 3D model of a real product or furniture piece from one photo, then to STL.
PNG to STL questions
How do I convert a PNG to STL for free?
Drop the PNG into the converter at the top of this page, check the mask preview, set the width in millimeters, the extrusion height and whether you want a base plate, then press Download STL. Everything runs in your browser, so there is no account and no upload.
Does my PNG need a transparent background?
No, but it helps. If the PNG has transparency, the converter uses the alpha channel to decide what is solid. If it has none, it uses a brightness threshold instead, so dark artwork on a white background works too. Switch to Brightness and move the threshold slider if the preview looks wrong.
Is my image uploaded anywhere?
No. The PNG is read by JavaScript in your own browser tab, the mesh is built there, and the STL is saved straight from memory to your device. No server ever sees the file.
Can I turn a photo into a 3D model with this?
Only as a flat relief. The grayscale relief mode turns brightness into height, which suits lithophane-style panels and textures, but it cannot build the back or sides of an object. For a full 3D model of a real object such as a chair or lamp from one photo, use an AI image-to-3D tool like FurniMesh, then convert its GLB to STL.
What size should a PNG be for 3D printing?
Aim for roughly 4 to 10 pixels per millimeter of finished width. A 60 mm keychain is well served by a PNG 300 to 600 pixels wide; a 200 mm sign by 800 to 2,000 pixels. More pixels than the detail slider uses add nothing.
Why do thin lines disappear when I print my logo?
A 0.4 mm nozzle lays down lines about 0.4 to 0.45 mm wide, so slicers skip or thin out features narrower than about one line. Keep strokes at 0.8 mm or wider in the final size, ideally 1.2 mm, or scale the whole logo up.
Is the STL watertight?
Yes. Both edge modes build one closed solid in which every edge is shared by exactly two triangles, and pixels that touch only at a corner are bridged so the mesh stays manifold. Slicers can read it without repair.
Should I use SVG instead of PNG?
If you already have the SVG, vector import in a CAD tool gives perfectly clean curves. If all you have is a PNG, this converter gets you a printable file in under a minute, and with Smooth edges and enough detail the difference is hard to see at normal print sizes.