STL file too large to upload? Reduce its size without losing the fit
By Sina Esfahani, OmniTechs · Published 30 November 2026
An STL describes a surface as triangles, so its size grows with the number of triangles. A binary STL takes 84 bytes plus exactly 50 bytes per triangle; a text (ASCII) STL takes several times more for the same shape. Three things make an STL large: ASCII instead of binary, an export far finer than the part needs, or a dense scan or sculpt. Keep the original, then shrink a copy in the order below. Finish by comparing the copy with the original: a smaller file that no longer fits is not a fix.
Shrink it in this order:
Keep the original. Note its file size, triangle count and the holes and faces that must fit.
If the file is ASCII, save it as binary. The triangles stay the same and the file shrinks to roughly a fifth.
If you have the CAD model, export again with a deliberate deviation, for example a tenth of your tightest tolerance.
No CAD model (scan, sculpt, download)? Decimate a copy in small steps, and keep holes and mating faces out of it where you can.
Still too large for the form? Zip the STL, send a 3MF, or share a download link.
Compare copy and original: overall size, volume and triangle count, then measure every critical hole and face.
Why an STL gets so large
A binary STL is an 80-byte header, a 4-byte triangle count and then one 50-byte record per triangle: a normal and three corners, each three 32-bit numbers, plus a 2-byte attribute field. File size is therefore 84 + 50 × triangles. An ASCII STL writes the same twelve numbers as text over seven lines per triangle. With six decimals in scientific notation that comes to about 240 bytes per triangle, nearly five times the binary record.
Approximate STL size by triangle count
| Triangles | Binary STL | ASCII STL (estimate) |
|---|---|---|
| 100,000 | 5.0 MB | about 24 MB |
| 500,000 | 25.0 MB | about 121 MB |
| 1,000,000 | 50.0 MB | about 242 MB |
| 5,000,000 | 250.0 MB | about 1.2 GB |
Flat faces need few triangles; curves, fillets, threads, embossed text and scanned surfaces need many. To see the count, load the file in PrusaSlicer and select it: the Info box in the right-hand sidebar shows Size, Volume and Facets (the triangle count). Write these down before you change anything.
Where should I start?
Choose your route by what you have
| What you have | Best route | Why |
|---|---|---|
| An ASCII STL | Save as binary | No shape change at all |
| The CAD model | Export again with a chosen deviation | Triangles are rebuilt from exact geometry |
| A scan, sculpt or organic download | Decimate a copy in steps | No exact geometry to export from |
| A mechanical STL with fits but no CAD | Zip or 3MF first; decimate only lightly | Decimation does not know which hole matters |
| A reasonable file and a strict upload limit | Zip, 3MF or download link | Nothing about the shape needs to change |
Step 1: Save an ASCII STL as binary
Open the file in a plain text editor. If you can read lines such as facet normal, vertex and endloop, it is ASCII. Binary files show unreadable characters.
Converting keeps every triangle. Binary stores each coordinate as a 32-bit floating-point number, which for parts of a few hundred millimetres is precise far below a micrometre.
From CAD: choose binary on export (see the table in step 2).
PrusaSlicer: import the STL, then File > Export > Export Plate as STL/OBJ. PrusaSlicer writes STL in binary. Put only this one object on the plate.
Blender: File > Import > Stl (.stl), then File > Export > Stl (.stl) with Format: ASCII switched off. Leave Scale at 1.0 so the dimensions do not change.
Size and Facets must stay identical to the values you wrote down.
Step 2: Export again from CAD with a deliberate deviation
Every CAD program approximates curves with triangles within two limits. The distance limit (deviation or chordal tolerance) sets how far a triangle may lie from the true surface. The angle limit sets how sharply neighbouring triangles may change direction. Smaller limits mean more triangles.
On a hole, the deviation costs you clearance. The flat sides of a faceted hole can sit up to the deviation inside the true circle, so the hole can measure up to twice the deviation smaller across the flats. For an 8 mm hole:
Deviation and faceting on an 8 mm hole (radius 4 mm)
| Deviation | Segments around the hole | Hole up to this much smaller |
|---|---|---|
| 0.1 mm | 15 | 0.2 mm |
| 0.01 mm | 45 | 0.02 mm |
| 0.001 mm | 141 | 0.002 mm |
Ten times finer means about three times as many segments around every curve, and more again on surfaces curved in two directions. A useful start: set the deviation to about a tenth of your tightest tolerance. With ±0.1 mm on a hole, 0.01 mm costs at most 0.02 mm of that hole. No CAD vendor publishes a universal value, so treat this as a starting point and check the result.
STL export settings that control size, by CAD program
| Program | Where | Settings that change size |
|---|---|---|
| Autodesk Fusion | Utilities > Make > 3D Print, Preparation Type: Export | Format STL (Binary), STL (ASCII) or 3MF; Refinement Settings: Surface Deviation, Normal Deviation, Maximum Edge Length, Aspect Ratio; Preview shows the mesh |
| SOLIDWORKS | File > Save As, type STL (*.stl), Options | Output as Binary or ASCII; Unit; Resolution Coarse, Fine or Custom with Deviation and Angle sliders; Define Maximum Facet Size; Show STL info before file saving lists triangles and file size |
| Onshape | Right-click the Part Studio tab > Export, Format STL | STL Format Text or Binary; Units; Resolution Coarse, Medium, Fine or Custom with Chordal tolerance, Angular deviation and Minimum facet width |
| FreeCAD | Mesh workbench: Meshes > Create mesh from shape, then export the mesh | Standard mesher: Surface deviation and Angular deviation |
Three more export points:
A small maximum edge length (Fusion) or maximum facet size (SOLIDWORKS) forces many small triangles even on flat faces. Leave it off unless you need it.
Export only the bodies that will be printed, not the whole assembly with screws and fixtures.
Choose millimetres as the unit. STL itself stores no unit, so the receiver reads the numbers as you exported them.
A coarser export can show visible facets on large curved faces. If the silhouette matters, compare two exports as shown in exporting STEP to STL with smooth curves.
Step 3: Decimate a scan or sculpt with care
Decimation merges vertices to reduce the triangle count. It suits scans, sculpts and organic models. Blender's manual says it is not usually meant for meshes modelled economically, where every face defines the shape, which describes most mechanical parts. On those, holes can turn oval or smaller and sharp edges round off.
In Blender:
Import the STL and select it.
Add a Decimate modifier in Collapse mode. Ratio is the share of faces to keep: 0.5 keeps half. The modifier shows the remaining face count.
Optional: a Vertex Group limits which parts are decimated, so you can leave holes and mating faces out.
For forms made mainly of flat surfaces, Blender offers Planar mode, controlled by an Angle Limit.
Export with Apply Modifiers switched on, and Format: ASCII off.
The one-minute video shows import, Decimate and export; it skips the check in step 5.
In PrusaSlicer: right-click the model and choose Simplify model. Limit the reduction by Level of detail (Extra high to Extra low) or by Decimate ratio. The dialog shows the resulting triangle count and can Show wireframe. Apply it, check it, and undo with Ctrl+Z if the shape suffers. Then export as in step 1.
Work in steps: halve the count, check, and only then go further. Stop at the first step where a critical hole or face changes more than your tolerance allows.
Step 4: Zip it or send a 3MF
Often the shape does not need to change at all.
Zip: in Windows, right-click the file, choose Show more options > Send to > Compressed (zipped) folder. The receiver unpacks an identical STL. How much it saves depends on the file, so check the zip size.
3MF: a zipped XML package that the 3MF Consortium describes as generally smaller than comparable formats. It can also record the unit. Fusion and SOLIDWORKS both export 3MF directly. See what 3MF and STL each preserve before you switch.
Download link: when the original must stay untouched, share it through a file-sharing link instead of shrinking it.
Do not rename an STL to .3mf or .zip. A new extension does not convert the content.
Step 5: Check that holes, fits and dimensions survived
A reduced file passes only when the features that matter still match the original. Check in this order:
Overall size. Load original and copy in PrusaSlicer. Size (X, Y, Z) must match within your tolerance. A change here means something was scaled, moved or cut away.
Volume. A re-export from CAD changes Volume only slightly, because curves are approximated differently. A clear drop after decimation means material has been removed somewhere: find out where.
Triangle count and file size. Note how much you actually saved.
Critical features. Use PrusaSlicer's measurement tool (left toolbar, since version 2.6). It recognises points, edges, circles and planes. Measure each fitting hole, the distance between hole centres and the thickness of mating flanges, and compare with the drawing or the original.
Deviation map for scans. In CloudCompare, Tools > Distances > Cloud/Mesh dist. compares the reduced copy's vertices with the original and colours the distances. If the copy has few vertices, run Sample points on mesh first and compare that cloud. Look at where the largest deviations sit. Far from any fit, they rarely matter; on a mating face, go back one step.
Write the values for original and copy side by side. The tolerances come from your drawing or agreement, not from this guide.
The STL check guide explains units and dimensions in more detail and has a browser viewer that keeps your file on your device. If decimation left holes or warnings in the mesh, use checking a repaired STL.
Worked example (hypothetical)
A cover plate drawn in Fusion has four 8 mm holes toleranced at ±0.1 mm. It was exported with a very fine custom refinement: 1,200,000 triangles, a binary STL of 60.0 MB. The upload form accepts 8 MB per file.
The file is already binary, so step 1 gains nothing.
Export again with Surface Deviation 0.01 mm. That costs each hole at most 0.02 mm, a tenth of its 0.2 mm tolerance band. Suppose the new file has 150,000 triangles: 84 + 50 × 150,000 = 7,500,084 bytes, or 7.5 MB.
That is just under the limit, with little margin. Zipping it or exporting a 3MF gives room.
Check: Size unchanged, Volume within a fraction of a percent, all four holes measure 7.98 mm or more, hole spacing unchanged. The copy passes.
Contrast: if the same plate existed only as a 3D scan, there is no CAD to export from. Decimating in steps would be the route, and if the hole edges turn jagged before the file is small enough, stop and send the original through a download link.
When to stop, and where to go next
A critical hole or face moves outside its tolerance: go back to the last good copy or the original.
The mesh shows holes or non-manifold warnings after decimation: repair and check it, or start again from the original.
You cannot reach the limit without visible damage: stop cutting. Send the original via a link, or ask the receiver for another upload route.
The part carries load or must be safe: do not judge fit from a reduced mesh alone. Send the full-resolution original or the CAD model with the drawing.
If you need to change a hole without CAD, see editing an STL without the CAD source. For how much clearance a printed fit needs, read 3D printing tolerances and clearance.
At OmniTechs, the 3D printing service estimate calculator accepts STL, 3MF, OBJ and PLY up to 256 MB per file. The request form takes up to three attachments of 8 MB each, 12 MB in total; for anything larger, add a download link. A large but intact file can therefore often go to the calculator without being reduced at all.

