STL to PNG Converter

Turn an STL file into a PNG picture right in your browser. Pick a view (front, back, left, right, top, bottom or isometric, or turn the model by hand), a size up to 4096 × 4096 pixels and a transparent, white or coloured background, and download the PNG. The model is drawn by your graphics card with a depth buffer, so the nearest surface is always the one you see, even in complex parts. Choose orthographic (true proportions, as in a technical drawing) or perspective, smooth or flat shading, a colour, and sharp edges drawn as lines. Tick several views to get them all in one ZIP, or as one contact sheet; add several STL files and the ZIP has every view of every file. Nothing is uploaded.

100% private — everything runs in your browser. Everything runs in your browser; your STL files are never uploaded.

100% private — runs in your browser
Drop STL files here or click to chooseBinary or ASCII STL. Add several files to make pictures of all of them at once.

Loading the 3D engine…
The PNG appears here once an STL is added
The PNG as it will be saved (shown smaller)

File details

Camera

Picture

Views for the ZIP and contact sheet

Runs in your browser: your STL files are read and drawn on your device and never uploaded. The 3D engine (three.js) loads from the jsDelivr CDN. You may use what you make here, including commercially, with no credit needed. The rights in your own models stay as they were.

How to convert an STL to PNG

  1. Drop one or more STL files on the box, or click Try a sample.
  2. Choose the view, size, background and shading; the picture below the 3D view shows the PNG as it will be saved.
  3. Click Download PNG.
  4. For a set of pictures, tick the views you want and click Ticked views (.zip) or Contact sheet (.png).

What you can use it for

  • Make product or listing pictures of a 3D print with a transparent background
  • Add front, top and side views of a part to a document or quote
  • Make thumbnails for a whole folder of STL files in one go
  • Show a model on a website or in a chat without a 3D viewer
  • Make an isometric picture for instructions or a parts list
  • Check which way faces point with the normal-colour shading

The views

ViewCamera looks fromRight in the pictureUp in the picture
Front−Y+X+Z
Back+Y−X+Z
Left−X−Y+Z
Right+X+Y+Z
Top+Z+X+Y
Bottom−Z+X−Y
Isometric(0.5774, −0.5774, 0.5774)(0.7071, 0.7071, 0)(−0.4082, 0.4082, 0.8165)

STL files have Z up, as on a 3D printer’s bed, so the front view looks along +Y with Z up. Isometric looks from the front right top, at equal angles to all three axes. Computed by the page’s own view code.

How big the model is in the picture

PNG sizePixelsOur 60 × 40 × 46 mm L bracket, front viewSame bracket, isometric view
512 × 5120.26 MP451 × 345 px406 × 451 px
1024 × 10241.05 MP901 × 691 px813 × 901 px
2048 × 20484.19 MP1802 × 1382 px1626 × 1802 px
4096 × 409616.78 MP3604 × 2763 px3252 × 3604 px
1920 × 10802.07 MP1240 × 950 px857 × 950 px

With the default margin of 6 % on each side, the model is scaled to fill the picture; change the margin from 0 to 40 %. Computed by the page’s own framing code.

Picture settings

SettingChoices
ProjectionOrthographic (true proportions) or perspective
Size512 to 4096 px a side, square, 16:9, 4:3, 4:5 or any width and height
BackgroundTransparent (alpha channel), white or any colour
ShadingSmooth, flat (facets show) or normal colours (shows which way faces point)
LinesSharp edges (over 30°) drawn as dark lines
Several picturesTicked views of every file as one ZIP, or the ticked views of one file as one contact sheet PNG

What our test files give

Test fileWhat it checksTrianglesTypeSize
l-bracket.stlL bracket, binary24Binary60 × 40 × 46
plate-hides-cube.stlA plate in front of a cube (the cube must be hidden in the front view)24Binary40 × 40 × 40
bar-inside-out.stlA bar with every face turned inwards12Binary120 × 10 × 10
open-sheet.stlOne open sheet2Binary50 × 30 × 0
padded-binary.stlBinary with 37 extra bytes at the end12Binary20 × 20 × 20
bar-ascii.stlASCII STL12ASCII30 × 10 × 5
sphere-16k.stlA sphere with 16,128 triangles16,128Binary50 × 50 × 50
bar-yup.stlA bar exported Y-up12Binary10 × 40 × 10

Our own STL test files. Each picture made from them was checked pixel by pixel against our own depth-buffer drawing of the same triangles: the nearest face wins, the background stays transparent and the PNG has the size asked for.

Next steps

Measure and check the model in the STL viewer, or make a dimensioned line drawing with Orthographic Drawing. Need a 3MF for a colour printer? Try STL to 3MF, or go back with 3MF to STL.

Sources

Sources: Library of Congress: STL (STereoLithography) File Format Family (triangles with a normal each, no standard colour); W3C: Portable Network Graphics (PNG) Specification (lossless, with an alpha channel for transparency).

More free tools

Working with 3D models?

View, convert and make 3D files with free tools that run privately in your browser, with no sign-up and no watermark.

See all free tools →

Frequently asked questions

Is this STL to PNG converter free?

Yes. There is no sign-up, no watermark and no limit on how many pictures you make. Everything runs in your browser, so your STL files never leave your device.

Can the background be transparent?

Yes, and it is by default: the PNG keeps an alpha channel, so only the model is drawn. You can also choose white or any colour.

How large can the PNG be?

Up to 4096 × 4096 pixels, in any shape (square, 16:9, 4:3, portrait or a custom width and height). Some phones and older graphics cards allow less; the page tells you the largest size your browser can draw.

Which views can I make?

Front, back, left, right, top, bottom and isometric, as STL files are laid out (Z up, as on a print bed), plus the view you turned the model to in the 3D view. Tick several to get them in one ZIP or one contact sheet.

Orthographic or perspective?

Orthographic draws parallel lines as parallel and keeps every part at true scale, as in a technical drawing; it is the default. Perspective looks the way a camera sees the model, with far parts smaller.

Can I convert several STL files at once?

Yes. Add them together and Ticked views (.zip) makes every ticked view of every file, named after the file and the view.

Why is my model lying down?

Most STL files are Z-up, and the views follow that. If your file came from an app that writes Y-up, set Up axis in the STL to Y up.

Does it keep the colours of my model?

STL files have no standard colour, so the model is drawn in the colour you pick. Normal colours shading paints each face by the way it points, which shows faces that are turned the wrong way.

Is this a heightmap for CNC carving?

No. This makes pictures of the model as it looks. A grey heightmap for carving is a different kind of image.

Are my STL files uploaded?

No. The STL files are read and drawn by JavaScript and your graphics card in your browser, so they never leave your device. Only the 3D engine itself (three.js) is loaded from a public CDN. There is no sign-up and no watermark.