STLPal

Guides / Updated November 20, 2026

What is an STL file?

An STL file is a 3D shape made of triangles. It's the file most 3D printers and slicers expect, because it holds the shape and nothing else. You can open one free in our STL viewer, with nothing to install.

What's inside

An STL is a long list of triangles. Each triangle has three corner points and a direction it faces. Put enough of them together and you get any shape: a cube needs 12, a detailed figure can need millions.

That's all there is. No colour, no material, no unit and no print settings.

Where it came from

3D Systems created STL in 1987 for its stereolithography printers, which is where the name comes from. It was simple enough that every tool learned to read it, and it's still the default today.

The two kinds of STL

Binary STLText (ASCII) STL
How it's storedPacked numbersReadable text, one line per value
Size50 bytes per triangleSeveral times bigger
Common?Yes, the usual kindMostly from older tools

Both hold the same shape. A million-triangle model is about 50 MB as binary STL.

Why STL causes trouble

  • No unit. Slicers assume millimetres. A model made in metres or inches comes in far too small. Fix it with a resize, like our STL editor's Inches → mm button.
  • No colour. Colour has to come from your filament or from painting in the slicer.
  • No sharing between triangles. Each one repeats its own corners, so the files are big and small gaps are easy to create.

How to open and make one

  • Open: any slicer (Bambu Studio, PrusaSlicer, OrcaSlicer, Cura), Blender, or our free STL viewer in the browser.
  • Make: export from a CAD app such as Tinkercad, Fusion or Onshape, or from Blender with File → Export → STL.
  • Download: MakerWorld, Printables and Thingiverse all have STL files.

Got an STL file? What to do next

  • Look at it first. Drop it in our STL viewer to check it's the model you expected, right way up.
  • Check it's healthy. If the slicer refuses it or you spot holes, run it through our STL repair tool.
  • Check the size. STL carries no unit, so a model that comes in tiny or huge needs a resize in our STL editor — the Inches → mm button fixes the usual case.
  • Then slice it in Bambu Studio, PrusaSlicer, OrcaSlicer or Cura — or convert it to 3MF if you want settings and colours kept with the model.

Inside a binary STL, byte by byte

A binary STL starts with an 80-byte header, which can hold any text and is usually ignored. Next comes a 4-byte number saying how many triangles follow.

Each triangle then takes exactly 50 bytes: 12 for the direction it faces, 36 for its three corners (three numbers each), and 2 spare bytes that most tools leave at zero. So the file size is always 84 + 50 × the triangle count. If a file is a different size, it's cut short or it isn't binary.

What a text STL looks like

Open a text (ASCII) STL in any text editor and you'll see it starts with the word solid and a name. Each triangle is written out as facet normal with three numbers, then outer loop, three vertex lines with three numbers each, then endloop and endfacet. The file ends with endsolid.

That makes it easy to check by eye, but every number is spelled out as text, so the same model is several times bigger. If you need to send one, save it as binary first. Any slicer or our STL viewer reads both.

How many triangles is too many?

TrianglesBinary STL sizeTypical source
10,000about 0.5 MBA simple bracket or a low-poly model
100,000about 5 MBA detailed part or a smooth figure
1,000,000about 50 MBA sculpt or a 3D scan
5,000,000about 250 MBAn unreduced scan, slow to open anywhere

Sizes follow straight from the 50-bytes-per-triangle rule. Past a million triangles, most of the detail is finer than a 0.4 mm nozzle can print.

If a file is huge, reduce it before you slice. Blender's Decimate modifier cuts the triangle count while keeping the shape.

Why curves come out with flat sides

An STL can't store a real curve. A circle becomes many straight edges, and a cylinder becomes a ring of thin flat strips. Fewer triangles means you can see the flat sides on the print.

CAD apps let you pick how fine to go when you export. Fusion calls it Refinement, others call it deviation or tolerance (how far a flat face may stray from the true curve). Going finer than your printer can show only makes the file bigger. If small holes print as polygons, export again at a finer setting.

Things the STL format doesn't check

  • Closed surfaces. Nothing in the format makes a model watertight, so an STL can describe a shape with holes or faces pointing the wrong way. That's why repair tools exist.
  • Separate parts. Several objects get saved as one list of triangles, and the names usually disappear. Load the parts one by one, or use 3MF, if you need them apart.
  • Your design history. Holes, fillets and sketch sizes are gone. To change a hole from 5 mm to 6 mm, go back to the CAD file, not the STL.

STL vs G-code: which one does the printer read?

Your printer doesn't read the STL. The slicer (Bambu Studio, PrusaSlicer, OrcaSlicer, Cura) cuts the shape into layers and writes G-code: the moves, speeds and temperatures for one printer and one filament.

So keep the STL and slice again when you change printer, nozzle or filament. A G-code file made for someone else's printer can print badly or crash the nozzle on yours.

An STL is just numbers describing a shape, so opening one doesn't run anything on your computer. The usual risk is a broken file that won't load, not a harmful one.

Tools for this