How it works
1Drop in the PNG
Drag the PNG onto the converter. Transparency is kept: any fully transparent pixel is read as background and stays at the lowest level, just the base. A PNG with a white background behaves like a normal image, so remove the background first if you want only the subject.
2Choose relief or trace
Relief turns shading into height, which suits height maps, embossed artwork and grayscale renders. Extrude traces the PNG into outlines with a brightness threshold and lifts them to a fixed height, which suits flat-colour logos, icons and silhouettes with sharp edges.
3Set millimetres and check the report
Enter the printed width and the height. The report card shows the outer size, triangles, watertight result, number of shells and estimated grams, so you can see straight away if loose pieces need a base plate to hold them together.
4Download and slice
Save STL, 3MF or OBJ. The STL name includes the size, for example extrude_64x64x4.6mm.stl, which helps when you have several versions of the same graphic open in your slicer.
Settings explained
PNG files reach this page in two ways, so the table covers both the relief settings and the trace settings that matter most for PNG graphics. Defaults are listed as the converter opens them; the recommended column is a starting point for typical PNG artwork.
| Setting | What it does | Start with | Higher | Lower |
|---|---|---|---|---|
| Width (mm), relief | Long-side size of the relief on the bed. | 100 mm (default). | More room for small graphic details to survive. | Fine pixel art details merge together. |
| Max relief height (mm) | Height of the brightest areas above the base; transparent areas stay at the base. | 3 mm (default). 1.5 to 2 mm for busy illustrations. | Bold, deep relief; steep edges on hard-edged graphics. | Gentler surface that hides banding in gradients. |
| Base thickness (mm) | Solid floor under everything, including transparent regions. | 1.2 mm (default). | Stiffer tile; useful above 120 mm wide. | Less plastic, but thin floors can warp. |
| Smoothing passes | Softens pixel steps before meshing. | 1 (default). 0 for pixel art where crisp steps are the point. | Rounder edges, gradients look cleaner. | Exact pixel steps, including any jaggies in the PNG. |
| Resolution (samples, long side) | Sampling density of the relief mesh. | 200 (default). Match it to the PNG width for pixel art up to 600. | Sharper graphic edges, bigger file. | Smaller file, blurrier edges. |
| Threshold (extrude) | Brightness cut-off that decides which pixels become solid when tracing. | 0.5 (default). | More of the lighter pixels count as solid; outlines grow. | Only the darkest pixels become solid; thin strokes may break. |
| Width and height (extrude) | Overall width of the traced shape and its extrusion height. | 60 mm wide, 5 mm tall (defaults). 2 to 3 mm tall for badges. | Larger, chunkier part. | Small icons lose features under about 0.8 mm wide. |
Printing PNG-based models
Traced PNG logos print best flat on the bed with the plate down, using a colour change where the plate ends for two-tone badges. PNG reliefs of artwork benefit from fine layers of 0.12 mm or so. Check the shell count: several shells without a plate means loose pieces on the bed.
- For badges and coasters, the plate is what keeps letters and dots together; leave it on unless you want separate pieces.
- Single-colour icons look sharper with a 0.3 to 0.4 mm bevel because the top edge catches the light.
- Pixel-art reliefs: set smoothing to 0 and resolution to the PNG pixel width so each pixel becomes a clean square step.
- Height maps with gentle slopes can show faint banding between grey levels; one smoothing pass usually hides it.
- Ironing in the slicer, where available, gives flat extruded tops a cleaner finish.
3D models to print
Drag any model to turn it. We modelled these in code to show full-colour 3D objects; each one is a free STL you can download and print.

- Size
- 41.9 × 38.6 × 81 mm
- Triangles
- 34,912

- Size
- 44.5 × 43.1 × 96 mm
- Triangles
- 24,436

- Size
- 46.3 × 42.6 × 83.9 mm
- Triangles
- 66,832

- Size
- 57.1 × 50.3 × 57 mm
- Triangles
- 84,736

- Size
- 48 × 64.9 × 56.2 mm
- Triangles
- 34,208

- Size
- 87.2 × 55.2 × 56.1 mm
- Triangles
- 99,744
PNG to STL: this converter vs other routes
For PNG graphics you can trace here, trace in Inkscape and import the SVG into Tinkercad or your slicer, or ask an AI generator. Tracing here keeps everything in one step with millimetre sizing. Inkscape gives the most control over curves. AI suits pictures of objects, not flat graphics.
| Route | Handles transparency | Steps | Good for | Watch out for |
|---|---|---|---|---|
| STL Genie relief or extrude | Yes, transparent = background | One page | Logos, icons, height maps | Very thin strokes at small widths |
| Inkscape Trace Bitmap, then SVG import | Yes, after tracing | Trace, save, import, size | Fine-tuning curves by hand | Extra nodes and tiny specks from tracing |
| Tinkercad image import | Check current Tinkercad behaviour | Upload SVG, scale, export | Combining a logo with other shapes | No height map support for shaded PNGs |
| AI photo to 3D | Background removed by the model | Upload, wait, download | Pictures of real objects | Flat logos get guessed depth they do not need |
How PNG transparency is handled
Transparent pixels in a PNG are treated as empty background. In relief mode they sit at the lowest level, so only the base remains there. When tracing for extrude, they count like white paper and never become solid. The subject keeps its exact cut-out shape, with no box around it to remove later.
This is the main reason to prefer PNG over JPG for graphics. A logo exported with a transparent background gives you exactly the shape and nothing else. The same logo saved as JPG has a white or coloured box around it, plus compression speckles at the edges that tracing can turn into tiny islands.
If your PNG has a solid white background instead of transparency, the result is the same in relief mode as long as invert is off, because white is high: the background becomes the tallest part. Turn invert on, or remove the background in an image editor, so the subject stands up instead of the paper.
Crisp graphics vs photos saved as PNG
PNG is lossless, so a PNG photo is still a photo: soft gradients, noise and no clear edges. Those make good reliefs and lithophanes. Flat-colour graphics with hard edges, such as logos, icons and line art, are better traced and extruded, because a relief would only turn their edges into steep walls.
- Flat logo or icon on transparency: Extrude, with a plate if it has separate parts.
- Grayscale height map or depth render: Relief, smoothing 1, resolution 200 or more.
- Photo saved as PNG: Relief for an embossed look, Lithophane for a backlit panel.
- Pixel art: Relief with smoothing 0, or Extrude with threshold 0.5 for a flat silhouette.
- Screenshot with text: Extrude, and make sure the text is at least 5 mm tall in the final print.
When to trace a PNG instead of making a relief
Trace when the PNG has two or three flat colours and you care about clean edges and an even height. Make a relief when shading carries the meaning, as in terrain, sculpted renders or photographs. If you are unsure, build both: each takes seconds and the report card shows which is simpler to print.
Tracing compares each pixel with the threshold, keeps the dark side by default, and turns the boundary into outlines. Turn invert on for a white logo on a dark background. The traced paths are extruded straight up, so the top is perfectly flat and the sides are vertical. That is why the traced logo badge example needs only 4,280 triangles, against about 50,000 for the terrain relief.
A relief keeps every grey level as a height, which flat graphics do not need. Their single colour becomes a plateau and their edges become cliffs that the printer draws as many tiny steps.
PNG resolution, cell size and file size
Resolution is the number of height samples across the long side, not the pixel size of your PNG. At the default 200 samples, a 100 mm relief has cells about half a millimetre wide and a 2.9 MB STL. Going to 600 gives 0.17 mm cells but a file roughly nine times bigger.
A 0.4 mm nozzle cannot draw detail much finer than its own width, so cells below about 0.25 mm mostly add file size on a 100 mm print. Raise resolution when the print gets larger, not to chase pixels the printer cannot reproduce.
| Resolution | Cell size at 100 mm wide | Triangles | STL size | Build time |
|---|---|---|---|---|
| 100 | 1.01 mm | 15,690 | 0.7 MB | 1 ms |
| 200 (default) | 0.503 mm | 61,390 | 2.9 MB | 4 ms |
| 300 | 0.334 mm | 137,090 | 6.5 MB | 8 ms |
| 400 | 0.251 mm | 242,790 | 11.6 MB | 15 ms |
| 600 (max) | 0.167 mm | 544,190 | 25.9 MB | 33 ms |
Source: Measured on STL Genie, November 2026 (Intel i7-8700, Node 22). Browser times are of the same order; slower phones take longer.
Preparing a PNG for the cleanest result
Export the PNG at least 1,000 pixels across, with a transparent background and without drop shadows or glows. Thicken any line thinner than about 1 % of the image width. Flatten soft gradients you do not want as height. Five minutes in an image editor saves several failed prints.
- Remove soft drop shadows: they trace as ragged blobs and relief as shallow ramps.
- Close small gaps in outlines so letters such as O and A keep their counters as holes rather than merging.
- Avoid anti-aliasing into a coloured background; anti-aliasing into transparency traces cleanly.
- For two-colour prints, export one PNG per colour and build each as its own STL at the same width.
Troubleshooting
The transparent background came out as a solid block
The PNG probably has a white or near-white background rather than true transparency; many exports flatten alpha silently. Open it in an image editor, check the background shows the checkerboard, and re-export as PNG with transparency. Alternatively turn on invert so the white background becomes the low part.
My traced logo has tiny specks and islands around it
Those are leftover pixels from anti-aliasing, noise or a faint shadow. Raise or lower the threshold slightly so they fall on the background side, or clean the PNG first. The report card shell count is a quick check: a single logo with a plate should be one or a few shells, not dozens.
The letters inside my logo filled in
Small holes in letters like e, a and o close up when the logo is printed too small or the threshold keeps too many grey pixels. Increase the width, lower the threshold a little, or thicken the gaps in the source PNG so each counter is at least 1 mm across at final size.
The relief shows stair steps in smooth gradients
An 8-bit PNG has 256 grey levels, so a 3 mm relief steps by about 0.012 mm per level, which is fine, but posterised or heavily compressed gradients have far fewer. Add one or two smoothing passes, and print with finer layers so the slicer can follow the slope.
The slicer warns about many separate objects
An extruded PNG without a base plate exports each disconnected shape as its own shell, which some slicers offer to split into separate objects. Turn the plate on to join them, or accept the split if you want to print the pieces in different colours.
Frequently asked questions
How do I convert a PNG to STL for free?
Drop the PNG on this page, choose Relief for shaded images or Extrude for logos, set the width in millimetres and download. It runs in your browser with no upload, no account and no file limit.
Does PNG transparency work when converting to STL?
Yes. Fully transparent pixels are treated as background: they stay at the base in relief mode and are never solid when tracing. That makes PNG with transparency the cleanest starting point for logos and cut-out graphics.
Is PNG or SVG better for a 3D printed logo?
SVG is better if you have it, because it is already clean outlines and needs no tracing. A high-resolution PNG with transparency is a close second. Low-resolution PNGs trace with wobbly edges that show on the print.
What PNG resolution do I need for a good STL?
About 1,000 pixels on the long side is plenty for prints up to 150 mm. The converter samples at most 600 points across the long side, so a much larger PNG adds no detail to a relief, though extra pixels can still help tracing produce smoother curves.
Why is my PNG relief upside down in height?
By default white is high and dark is low. For dark artwork on a light background that pushes the background up. Turn on invert and the dark parts become the raised areas.
Can I make a keychain from a PNG?
Yes. Use Extrude, switch on the base plate and the keychain hole, and keep the design at least 40 mm wide so thin parts survive. The default hole is 4 mm; 4 to 4.5 mm fits common split rings.
Can I turn a PNG into a lithophane?
Yes, if the PNG is a photo or a shaded image. Switch to Lithophane, where dark areas become thick and light areas thin. Flat logos make poor lithophanes because they have no mid-tones.
Last updated 2026-11-18.