Why STL Files Get So Large, and How to Make Them Smaller
An STL is big because it stores every triangle separately at 50 bytes each. Saving it as binary STL or 3MF shrinks it with no change to the model; reducing the triangle count shrinks it further.
An STL file is large because it writes every triangle out in full, 50 bytes each in binary and several times more as text. There are four ways to shrink it: save ASCII as binary, save as 3MF, reduce the triangle count, or re-export from CAD at a coarser resolution; the first two change nothing in the model. Just need it smaller now? Use the STL compressor, or convert STL to 3MF. If an upload form or a slicer rejected the file, check how big is too big for slicers and print services.

Why STL files get so large
STL is a deliberately simple format: a list of independent triangles. In binary STL each triangle takes exactly 50 bytes (a normal and three vertices as 32-bit floats, plus 2 spare bytes), after an 80-byte header and a 4-byte triangle count. Vertices are not shared, so a corner used by six triangles is written six times. The file size therefore depends almost only on triangle count:
| Triangles | Binary STL | ASCII STL (approx.) |
|---|---|---|
| 10,000 | 0.5 MB | 2–3 MB |
| 100,000 | 5 MB | 20–30 MB |
| 1,000,000 | 50 MB | 200–300 MB |
| 5,000,000 | 250 MB | over 1 GB |
The usual causes of a bloated file:
- ASCII encoding. Every number is written as text, typically making the file around five times larger than binary.
- 3D scans and photogrammetry. Scanners produce dense, uniform meshes – millions of triangles even on flat areas that would need two.
- Fine CAD export settings. A very small chordal tolerance turns every fillet, thread and text engraving into thousands of slivers.
- Sculpts. ZBrush or Blender sculpts at high subdivision levels easily exceed 5–20 million triangles.
- Merged assemblies. Repeated parts like screws or chain links are all written out in full.
Can you compress an STL without losing anything?
Yes, in three ways, and none of them changes a single triangle:
- ASCII STL to binary STL. The same triangles, stored as numbers instead of text.
- STL to 3MF. The same triangles, with shared corners stored once and the whole file zipped.
- ZIP for sending. The receiver unpacks the full-size STL again, so this only helps in transit.
Reducing the triangle count is the only route that changes the geometry. Tools called "STL compressor" do one or the other, and it is worth knowing which. Some only merge duplicate points and rewrite ASCII as binary, so a file that is already binary comes back the same size. Our STL compressor does both kinds: it saves binary STL or 3MF with every triangle kept, and it reduces triangles when you ask it to.

Step 1: Convert ASCII STL to binary
This is free size reduction with zero geometric change. Open the file in a text editor or look at the first bytes: an ASCII STL starts with solid and contains readable lines like facet normal. Re-exporting as binary in any converter, slicer or Blender typically shrinks it by about 80 %. Every modern slicer reads binary STL. The guide to ASCII vs binary STL shows how to tell the two apart.
Step 2: Consider 3MF instead of STL
3MF stores an indexed mesh (each vertex once, triangles reference it) inside a ZIP-compressed package. For a typical closed mesh, a 3MF is roughly a quarter of the size of the same model in binary STL, with no loss of geometry: on our three test models below it came out at 18–28 %. It also records units and keeps multiple parts separate. If the recipient uses PrusaSlicer, Bambu Studio, OrcaSlicer or Cura, convert STL to 3MF. For when STL still makes sense, see STL vs 3MF.
Step 3: Decimate – reduce the triangle count
Decimation (mesh simplification) merges triangles where the surface is nearly flat and keeps them where curvature is high. Good algorithms, such as quadric edge collapse, can remove most of the triangles from a dense scan before the change becomes visible, because most of those triangles describe flat or gently curved areas. A binary STL shrinks in step: half the triangles, half the file.
How many triangles do you actually need?
A useful way to think about it: a printer cannot reproduce facets much smaller than its resolution. An FDM printer with a 0.4 mm nozzle and 0.2 mm layers will not show the difference between a surface deviation of 0.005 mm and 0.02 mm. The STL compressor page has the triangle budget table; in short:
- FDM printing with a 0.4 mm nozzle: 100,000–500,000 triangles, which is 5–25 MB as binary STL.
- Resin printing with fine detail: 500,000–2 million triangles, 25–100 MB.
- Importing into CAD as STEP: under 50,000–100,000 triangles, 2.5–5 MB.
- Web or AR preview: 20,000–100,000 triangles, 1–5 MB.
CAD programs are the least tolerant. Mesh-to-solid conversion turns every triangle into a face, so a 500,000-triangle STL can make a CAD session unusable. Our converter warns when a mesh over 150,000 triangles is about to go to STEP for this reason.
What detail you lose
- Small text and engravings soften first, as do sharp, thin edges.
- Curves become visibly faceted at aggressive ratios, especially cylinders and spheres. Large flat areas lose nothing.
- Fine surface texture from scans (skin pores, fabric) disappears below a few hundred thousand triangles on a full figure.
- Dimensions on flat faces stay accurate; curved surfaces deviate by the decimation error, usually hundredths of a millimetre at moderate settings.
Reduce in stages (for example 50 %, then check, then 50 % again) rather than jumping straight to 5 %, and compare against the original before deleting it.
Step 4: If the file came from CAD, re-export instead of decimating
When you still have the CAD model, do not decimate its STL. Decimation works on the triangles it is given and damages exactly the curved faces and fillets that the export made fine. Export again with a coarser resolution, and the CAD program draws clean, larger facets from the true surface.
In Onshape, for example, the export dialog has a Resolution setting with Coarse, Medium, Fine and Custom. Custom lets you set the chordal tolerance, angular deviation and minimum facet width for STL. The same dialog has an STL Format choice of Text or Binary: choose Binary. Other CAD programs have equivalent settings under different names.
How to reduce STL file size in the browser
- Open the STL compressor and drop in your STL (OBJ, PLY, 3MF and other supported meshes also work). The file is processed in your browser.
- The model is reduced to 50 % straight away. The status line shows the triangle count before and after.
- For a stronger reduction, choose Keep 25 %, Keep 10 % or Keep 3 % under Reduce triangles and click Reduce. Start with 50 % or 25 % for printing; 10 % or 3 % suits dense scans headed for the web. Inspect curves and small details in the viewer.
- To keep every triangle and only change the format, click Undo mesh changes first.
- Choose the output format, STL or 3MF, and click Download. STL is saved as binary unless you tick ASCII STL.
There are four fixed levels and no field for a target triangle count; run Reduce again for steps in between. The simplifier is based on meshoptimizer; it preserves the overall surface shape and can drop tiny detached fragments. Reducing and previewing are free. Downloading a reduced model counts towards the 2 free downloads a day, and Pro removes that limit. Downloading the unreduced mesh as binary STL or 3MF is free and unlimited. If the mesh has holes or flipped normals, run STL repair before or after reducing.
Measured results
Three test models, saved with the tools on this site in November 2026. The ratios carry over to larger files; the sizes do not.
| Model | Binary STL | Same mesh as 3MF | Keep 50 %, binary STL |
|---|---|---|---|
| Gear, 1,152 triangles | 58 KB | 10 KB | 29 KB |
| Knot, 7,680 triangles | 384 KB | 107 KB | 192 KB |
| Vase, 34,080 triangles | 1.70 MB | 360 KB | 852 KB |
Saved as ASCII, the same three files were 4.3 to 6.1 times larger than binary. Reduced to 25 % and saved as 3MF, the vase came to 107 KB, about a sixteenth of the original STL.
Alternatives: Blender, Meshmixer, MeshLab and slicers
Blender (Decimate modifier)
- File > Import > STL, then select the object.
- Properties > Modifiers > Add Modifier > Decimate.
- Use Collapse mode and set the Ratio (0.2 keeps 20 %). The face count updates in the modifier panel.
- For CAD-like models with large flat faces, try Planar mode with an angle limit around 1–5°.
- Apply the modifier and export as STL (Blender writes binary unless you tick ASCII).
Meshmixer
Autodesk no longer develops Meshmixer, but it still runs and is widely used. Select all with Ctrl+A, then Edit > Reduce. Choose "Triangle Budget" for an exact target count or "Percentage", and enable "Preserve Boundaries" for open meshes. Accept and export as binary STL.
MeshLab
In the Filters menu, run Simplification: Quadric Edge Collapse Decimation. Enter the target number of faces or a percentage reduction, apply, and export the mesh as binary STL.
PrusaSlicer
PrusaSlicer tells you when a file is heavy: "This mesh exceeds 1M triangles and may cause processing slowdowns." Right-click the object and choose Simplify model. Set the target either as a detail level or as a decimation ratio, check the resulting triangle count in the preview, and apply. Then export the plate as STL or 3MF, or slice it directly.
Bambu Studio and OrcaSlicer
Both have the same command. Right-click the model, choose Simplify Model, and set either Detail level or Decimate ratio.
When reducing triangles is not enough
Some files are legitimately large: a full-size cosplay helmet with surface detail, or a highly detailed resin bust. If an upload limit is the problem, split the model with the STL splitter and send the parts separately, or ZIP the binary STL. How much ZIP saves depends on the model: it took 57–84 % off our three clean test models. A 3MF is zipped inside and opens directly in a slicer, so it is usually the better thing to send.
FAQ
Can I compress an STL file without losing quality?
Yes. Saving an ASCII STL as binary, or any STL as 3MF, keeps every triangle and only stores them more compactly. A ZIP does the same for sending. Only reducing the triangle count changes the model.
How much smaller can an STL get?
ASCII to binary removes about 80 %. A 3MF of the same mesh is roughly a quarter of the binary STL. Reducing triangles shrinks a binary STL in step: keeping 50 % halves the file, keeping 10 % leaves a tenth.
Can I reduce the polygon count of an STL?
Yes. Decimation removes triangles where the surface is flat and keeps them where it curves. The STL compressor on this site, Blender's Decimate modifier, MeshLab, Meshmixer and the Simplify model command in PrusaSlicer, Bambu Studio and OrcaSlicer all do it.
Does reducing STL file size affect print quality?
Converting ASCII to binary or STL to 3MF does not change the geometry at all. Decimation does, but at moderate ratios the deviation is far below what an FDM printer can reproduce. Check fine text and sharp edges before printing.
What is a good triangle count for 3D printing?
For FDM parts printed with a 0.4 mm nozzle, 100,000–500,000 triangles is plenty. Resin prints with fine detail benefit from more, 500,000 to around 2 million. Beyond that, slicing slows down without visible gain.
Why is my STL from a scanner so big?
Scanners create a uniform, dense mesh regardless of shape, so flat areas carry as many triangles as detailed ones. Decimation removes most of them with little visual change.
Is a smaller STL file faster to slice?
Yes. Load time, slicing time and memory use all scale with triangle count, so a 5-million-triangle model can take minutes where a 500,000-triangle version takes seconds.