What does an STL file store?
STL is associated with stereolithography, the process for which it was developed; you will also see “Standard Tessellation Language” and “Standard Triangle Language.” It represents a surface as triangular facets. A facet records three corner coordinates and a normal vector. Adjacent facets should meet consistently to describe the intended boundary. Source: Library of Congress, STL format family.
- 4 corner positions
- 2 triangular facets
- 1 shared diagonal
Triangle positions and facet normals describe the surface.
A coordinate value of 20 does not say “20 mm.”
A slicer still needs printer, material and process settings.
Think of a cube: six square faces can be represented by twelve triangles. A rounded object needs a finer mesh to approximate its curves. More triangles can improve the approximation, but the triangle count alone tells you neither whether the mesh is valid nor whether your printer can reproduce the detail.
ASCII STL vs binary STL
Both encodings describe facets. ASCII writes readable text; binary uses fixed-size numeric records. The usual binary layout is an 80-byte header, a 4-byte triangle count and 50 bytes per triangle. A conventional 12-triangle cube is therefore 84 + 50 × 12 = 684 bytes. ASCII size varies with number formatting and whitespace. Source: Library of Congress, binary STL.
| Question | ASCII | Binary |
|---|---|---|
| Can I inspect it in a text editor? | Yes; facets appear as readable text. | Not usefully; use a mesh viewer or parser. |
| How large is it? | Depends on text formatting and numeric precision. | 84 + 50 × triangle count bytes in the conventional layout. |
| Does this encoding repair errors? | No. | No. Converting the encoding does not close a hole. |
| Which should I send? | Use when readable text is required. | Usually the compact choice when the receiving software accepts it. |
You can download a 684-byte repaired cube from our published repair test. Its coordinates span −10 to +10, intended as 20 mm; confirm the import unit yourself. For a same-geometry ASCII/binary pair, download the sphere files in our file-size guide.
Why is my STL the wrong size?
STL has no standard scale or unit declaration. The exporter writes numbers, and the importer decides what those numbers mean. Source: Three.js STL exporter documentation. A coordinate span of 20 could represent 20 mm or 20 inches in different workflows.
If a part is off by a factor of 25.4, check whether inches and millimeters were interpreted differently. A factor of 1,000 can point to meters versus millimeters. These are clues, not an automatic unit diagnosis. Check a known design dimension before changing scale; keep a note of the intended unit with the file.
The STL checker reports raw bounding dimensions and always asks you to review units. It does not infer millimeters from the filename. In a slicer, compare the imported size with a known dimension, then review orientation and the build volume.
What STL leaves out—and when another format fits
The standard STL representation has no color, texture or material system. Some binary STL color extensions exist, but their conventions are incompatible; do not assume that a colored STL transfers reliably between programs. Source: Library of Congress, appearance limitations.
| Format or project | Useful for | What to check |
|---|---|---|
| STL | Exchanging a simple triangulated surface. | Units, topology and mesh resolution; no standard UV/material transfer. |
| Native CAD project / STEP workflow | Keeping an editable design or exchanging CAD surfaces. | Preserve the native project for its sketches and history; a mesh conversion does not recreate them. |
| 3MF | A manufacturing model with explicit units, objects and base materials in the core format. | Application support for extensions and project-specific settings varies. |
| Sliced printer job, often G-code | Commands generated for a particular machine and process. | Use the intended printer profile; an STL is not a substitute for this job. |
The 3MF Consortium core specification defines model units, mesh objects, components and base materials. Converting a basic STL to 3MF cannot recover colors, units or CAD history that were never supplied. STL Peak’s current tools work with STL; this page does not offer a format converter.
How to open an STL and prepare it for printing
- Keep the original and confirm its source.
Make a working copy. Keep the CAD project if you have one, plus any supplied license or manufacturing notes.
- Inspect the surface and dimensions.
Open it in a local mesh editor, slicer or the STL checker. Rotate the preview, compare a known dimension and review reported errors. Our checker accepts up to 50 MB / 500,000 triangles.
- Repair only what needs repair.
A deliberate opening or separate part is not automatically a defect. The STL fixer handles duplicates, zero-area faces, adjacent winding and simple planar hole closure; complex intersections or junctions need another workflow.
- Reduce excess triangles if necessary.
The STL compressor can export binary or simplify geometry. Use the step-by-step size guide to distinguish those operations.
- Slice, inspect layers and estimate cost.
Choose settings for your printer and material, inspect walls and supports, and use the slicer’s weight and time in the 3D printing cost estimator. File bytes and triangle count are not material usage or print duration.
Which STL Peak tool should I use?
| Your question | Next step | Limit to remember |
|---|---|---|
| What errors are in this file? | STL checker | Eight diagnostic categories; no self-intersection, thin-wall or printability certification. |
| Can I fix a simple hole or duplicate face? | STL fixer | Limited repair scope; compare shape and dimensions after export. |
| The file is too large. | STL compressor | 50 MB / 500,000 triangles; simplification can change geometry. |
| What will this print cost? | Cost estimator | Prefer slicer weight and time; solid STL volume does not include infill or supports. |
| I need a different repair workflow. | Seven repair tools compared | Distinguishes measured outputs from documentation-only comparisons. |
Common questions about STL files
Is an STL file ready to print?
It is a model input, not a universal ready-to-run printer job. Confirm scale and geometry, slice it with appropriate settings and inspect the layers. A clean topology report does not guarantee a successful print.
Can I edit an STL like a CAD project?
You can edit the mesh, but the triangles do not contain the original sketches, dimensions, constraints or feature history. Keep the native design for those edits.
Does a larger STL make a better print?
Not by itself. Extra triangles can approximate curves more closely, but excessive detail increases processing cost. Important features, manufacturing tolerances and actual printer resolution determine what detail matters.
Does STL contain infill?
A normal surface mesh does not specify a slicer’s infill percentage. Infill, perimeter settings and supports are chosen during print preparation. Modeled internal structures are geometry and need separate inspection.
Sources and scope
Written by the team that builds the linked tools. Format references were checked November 14, 2026. The diagram is illustrative; the downloadable cube and sphere are synthetic examples, not customer files.
- Library of Congress: STL format family
- Library of Congress: binary layout and color extensions
- Three.js: STL exporter and arbitrary units
- 3MF Consortium: core specification
START WITH UNDERSTANDING
Check the file you have.
See dimensions and a local diagnostic report, then choose whether to repair or reduce it. Select the file again when moving between tools.
Open STL Checker ↗Read the file-size guide ↗