STL, Explained
iLoveConverter Team 2 min read
On this page
STL (STereoLithography) is the universal 3D printing file — created by 3D Systems in 1987 for their pioneering stereolithography process, it has become the lingua franca of every 3D printer and slicer. Its genius is simplicity: STL stores nothing but triangles. Millions of them, covering every surface of the model, with no metadata, no colors, no textures, no units.
Technical details
STL comes in two flavors: ASCII (human-readable but huge files) and Binary (compact, one header + triangles array). Each triangle has three vertices and a surface normal vector pointing outward. The format is unitless — slicers assume millimeters by default, but the mesh itself carries no scale information. Topology, holes, and non-manifold geometry are not encoded explicitly — slicers must infer watertightness from the triangle mesh.
| Feature | STL | OBJ | GLB/glTF | PLY |
|---|---|---|---|---|
| Geometry | Triangle mesh | Polygon mesh | Triangle mesh | Triangle mesh |
| Color | None | Per-face + MTL | PBR, vertex, texture | Vertex color |
| Texture | None | MTL external | Embedded | Optional |
| Units | None | Model-dependent | Meters by spec | Model-dependent |
| Size (typical) | 100% | 120% | 60–80% | 80% |
Conversion
STL → GLB or OBJ adds color and texture capability. GLB is the modern standard for when appearance matters; OBJ + MTL is the legacy alternative. Reverse conversion (GLB/OBJ → STL) strips all color and materials, leaving only triangles — a one-way loss of appearance data that can’t be undone. STL → PLY is lossless for geometry, and PLY adds optional vertex colors.
Common problems
- File size bloat. High-detail models produce millions of triangles. Simplify before exporting.
- Non-manifold geometry. Holes, inverted normals, or zero-area triangles cause slicing failures.
- Scale confusion. STL has no units — a 50 mm cube and a 50 m cube are both indistinguishable as meshes.
FAQ
Can I add color to an STL file?
No — STL has no color data. Use OBJ with an MTL file for basic per-face colors, or GLB/glTF for full PBR materials and textures.
Why is my STL file so large?
High-poly meshes — a character model with sculpted details can hit 200 MB. Simplify the mesh in Blender, MeshLab, or your CAD tool before exporting. Reducing from 500k triangles to 50k often looks identical at print resolution.
Does my slicer care about ASCII vs Binary STL?
No — they both render identically. Binary is 5–10x smaller and preferred for sharing. ASCII survives email text filters but is impractical for models with more than a few thousand triangles.
Can STL store hollowed models?
The mesh defines the outer surface; slicers compute the internal volume and infill. A hollowed model is just a watertight mesh with no interior — the slicer handles the rest.
What’s the difference between STL and 3MF?
3MF is Microsoft’s newer format — it adds material properties, colors, multiple parts, and units. But STL is still universal; 3MF support is growing but not yet standard across all printers.
Try it yourself — free, right in your browser
Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.
Format deep-dives: STL (.stl) , GLB (.glb)