PNG to STL Converter
This free PNG to STL converter turns a PNG of up to 10 MB into a printable binary STL in your browser — a heightmap relief for photos or an extruded silhouette for logos and line art. Transparent areas are treated as background, output is in millimetres (100 mm longest side by default, up to a 256-cell grid), and the image is never uploaded.
Last updated: 2026-10-22
Why PNG is the best source image for STL conversion
PNG is lossless, so every pixel arrives exactly as the designer saved it. That matters more here than anywhere else in image work: extrusion throws away every grey value and keeps only a black-or-white decision, so a hard edge stays hard and a soft edge turns into a ragged one. JPEG compression blurs edges into a halo of intermediate values, and the threshold then has to guess where the shape actually ended.
The alpha channel is the other advantage. Logos, stickers and icons are usually exported on a transparent background, and this tool composites transparency onto white before reading luminance — so a transparent area reads as empty background, which is exactly what you want. There is no need to flatten the file on white in an image editor first, which is the step most conversion guides have to explain.
PNG is also the format that depth and height sources arrive in: lithophane masters, greyscale displacement maps exported from 3D tools, height fields rendered out of terrain software. Those are luminance data, not photographs, and heightmap mode is built for exactly that. One caveat — a screenshot of a vector logo is also a PNG, and it will convert, but its one-pixel lines print as fragile ridges.
How to convert PNG to STL
Drop a PNG of up to 10 MB. Images are read on your device, so nothing is uploaded. Pick one of two modes. Heightmap maps brightness to height — bright pixels rise, dark pixels sink — and produces a relief on a solid base plate, 3 mm of relief on a 1 mm base by default. Extrude turns everything below a brightness threshold into a solid column, 5 mm tall by default, and is what you want for logos and silhouettes.
The resolution ceiling is worth knowing up front. The image is resampled to at most 256 cells on its longest side, which keeps triangle counts and file sizes sane. At the default 100 mm width that is roughly 0.4 mm per cell — plenty for a logo silhouette, and the real limiting factor for a finely detailed photo relief. Feeding in a 6000-pixel PNG does not add detail beyond that grid.
The download is binary STL in millimetres, centred on the origin with its bottom at Z=0, so it lands on the build plate without manual repositioning. Both modes produce closed solids: the heightmap gets a flat back plate, and extrusion builds one column per solid pixel, with walls only where a neighbour is empty.
One number does not do what people expect: the DPI value stored in a PNG. Print work talks about 300 dpi, and image editors happily write that into the file, but nothing in an image to STL conversion reads it. Physical size comes from the output-size setting, which fixes the longest side in millimetres; detail comes from the pixel grid. The DPI tag decides nothing at all. Set the size you actually want to print and ignore whatever resolution claim the file carries.
Which kind of PNG are you converting?
Transparent logo or icon: use Extrude. Dark pixels are solid by default, which suits black artwork on a transparent or white background. A white logo on transparency needs the invert switch, because otherwise nothing at all passes the threshold and the tool stops with an empty-result message.
Greyscale depth map or lithophane source: use Heightmap with invert on, so dark areas become thick and light areas thin — thickness is what forms the image when the panel is backlit. Reduce the base to around 0.6 mm and raise the relief depth so there is a usable range of thickness through the print.
One-bit line art, pixel art or a screenshot: use Extrude with smoothing at zero so nothing softens the edges, and crop out UI chrome or captions first. Antialiased edges are the main quality risk — the threshold cuts them at an arbitrary point, so a 2-pixel soft border becomes a slightly uneven outline.
PNG to STL problems and fixes
If the result is a solid slab or nothing at all, the polarity is backwards. Extrude keeps dark pixels as solid, so a light subject on a light background disappears and a dark background floods the plate. Flip invert, or drag the threshold until only the shape you want remains solid.
Ragged edges come from soft or antialiased boundaries being cut by a hard threshold. Adding one smoothing pass rounds the noise off before thresholding, and raising the source resolution helps until you hit the grid cap. For logos it is often faster to export the artwork again with crisp edges and no drop shadow.
Flat or exaggerated relief is a ratio problem, not a bug: 3 mm of relief across a 100 mm panel is subtle, and 3 mm across a 30 mm panel is dramatic. Change the longest-side size or the relief strength, then look at the preview before downloading. Diagonal edges in extrusion mode always show small stair steps at 0.4 mm per cell; scale the model up to make them finer.
PNG to STL FAQ
Is this PNG to STL converter free?
Yes. Heightmap and extrusion conversion are free, need no account and add no watermark. AI reconstruction from a single image is a separate paid workflow that uploads the file and uses credits — it is not required for anything described on this page.
Is my PNG uploaded anywhere?
No. The image is decoded and converted in your browser, and the STL is generated on your device. Nothing is sent to a server, which also means a large batch of images costs you no queue time — the only limits are the 10 MB per-file cap and your own memory.
Does a transparent PNG work?
Yes, and it is the easiest case. Transparent pixels are composited onto white before luminance is read, so the background reads as empty and only the visible artwork becomes solid. That means you can convert a logo straight from a design-tool export without flattening it first.
Why is the whole model solid, or completely empty?
Extrude treats dark pixels as solid by default. A light logo on a white background therefore produces nothing, and a photo with a dark background produces a full plate. Use the invert switch to flip which side is solid, then fine-tune the threshold if the boundary lands in the wrong place.
What image resolution do I need?
Around 1000 to 2000 pixels on the long side is more than enough, because the tool resamples to a 256-cell grid regardless. A sharper, higher-contrast image at modest resolution beats a huge soft one — beyond the grid cap, extra pixels change nothing except upload time.
Can I make a lithophane from a PNG?
Yes: choose heightmap mode and switch invert on, so dark areas print thick and light areas thin. Keep the base around 0.6 to 0.8 mm, raise the relief depth for a wider thickness range, then print the panel upright with white or translucent filament and thin layers — the image appears when light passes through.
Does it accept JPG and WEBP too?
Yes, any image the browser can decode — PNG, JPG, WEBP. PNG is still the better source for artwork and logos because it is lossless, while photographs usually arrive as JPG and work fine in heightmap mode. The format matters far less than contrast and a clean background.