STL vs 3MF vs OBJ: Which File Should You Print?

All three formats can carry the same printable shape, and any modern slicer opens all three. The differences are in what else travels with the shape: units, colour, print settings, and how many bytes it takes. This guide compares them with file sizes measured on our own example models.

The short answer

Use STL when you want the most compatible single-colour file, for print services, older software or sharing. Use 3MF when you want units, multiple parts, colours or slicer settings kept with the model. Use OBJ mainly when the model has textures or is going to 3D software rather than straight to a slicer.

What each format can carry
FeatureSTL3MFOBJ
Stores unitsNo; slicers assume millimetresYes, declared in the fileNo; usually treated as millimetres by slicers
Shares vertices between trianglesNo; every triangle lists its 3 cornersYesYes
Colour and materialsNo (some non-standard extensions)YesVia a separate MTL file and textures
Several objects and partsOne mesh soup, no structureYes, objects and build itemsYes, named groups
Slicer settings and platesNoYes, slicer project 3MFs store themNo
CompressedNoUsually; it is a ZIP packageNo
Accepted by print servicesAlmost alwaysOftenOften

Source: Format specifications (3MF Consortium core specification; STL and Wavefront OBJ conventions) and the STL Genie exporters, November 2026.

STL: the simple, universal format

STL lists triangles and nothing else. A binary STL has an 80-byte header, a 4-byte triangle count, then 50 bytes per triangle: a normal, three corners and two spare bytes. So its size follows exactly from the triangle count: 84 bytes plus 50 times the number of triangles.

That simplicity is why every slicer, CAD package and print service reads STL. It is also the source of its weaknesses. There is no unit field, so a model drawn in inches and exported without conversion arrives 25.4 times too small. There is no colour. And since every triangle stores its own three corners, shared corners are written several times, which wastes space.

There is also an ASCII variant that writes the same data as text. It is easier to read by eye and much larger. Our converters export binary STL only, with the size written into the file name, for example extrude_56.5x47.7x4.4mm.stl.

Real STL file sizes from our examples

Every binary STL from our examples matches the formula to the byte. The 400-triangle leaf SVG is 20,084 bytes; the 49,850-triangle terrain relief is 2,492,584 bytes; the 126,400-triangle cylinder lampshade is 6,320,084 bytes. File size is therefore a direct readout of how many triangles your resolution setting produced.

Notice the name keychain: three letters, yet 19,100 triangles, more than the paw keychain. The bevelled curves of the Gentilis font produce many small faces. Shape complexity, not physical size, drives the count.

Binary STL size versus triangle count, 12 example models
ExampleTriangles84 + 50 × trianglesActual binary STL
Leaf SVG40020,08420,084 bytes
Rocket SVG keychain1,01650,88450,884 bytes
Desk nameplate text2,356117,884117,884 bytes
PNG logo badge4,280214,084214,084 bytes
Paw keychain7,612380,684380,684 bytes
Name keychain19,100955,084955,084 bytes
Lithophane calibration strip44,9822,249,1842,249,184 bytes
Terrain relief49,8502,492,5842,492,584 bytes
Moon relief (JPG)66,2303,311,5843,311,584 bytes
Flat moon lithophane73,7103,685,5843,685,584 bytes
Curved moon lithophane115,5965,779,8845,779,884 bytes
Cylinder lampshade126,4006,320,0846,320,084 bytes

Source: Measured on STL Genie, November 2026: example files in /examples/, sizes read from disk.

How OBJ and 3MF sizes compare

Because OBJ and 3MF list each corner once and refer to it by number, they avoid repeating shared vertices. Re-exporting our examples with our own writers, OBJ came to 46 to 66 % of the binary STL size. Our 3MF came to 116 to 133 %, because we store its ZIP entries without compression.

The 3MF figure is specific to our exporter. A 3MF is a ZIP package, and our converters write it with stored, uncompressed entries so no compression library has to load in your browser. A 3MF saved by a slicer is normally compressed and usually ends up much smaller than the equivalent STL, so do not read our 3MF numbers as typical of the format.

ASCII STL is the clear loser: about 4.3 times the binary size in this layout. If a download or print service upload is slow, check that you are not using an ASCII STL.

The same meshes in four encodings
ExampleBinary STLOBJ (our writer)3MF (our writer, stored ZIP)ASCII STL (common text layout)
Rocket SVG keychain50,884 bytes23,587 bytes58,954 bytes220,009 bytes
Paw keychain380,684 bytes204,626 bytes461,028 bytes1,646,539 bytes
Terrain relief2,492,584 bytes1,552,795 bytes3,224,010 bytes10,816,306 bytes
Cylinder lampshade6,320,084 bytes4,141,192 bytes8,376,794 bytes27,434,515 bytes

Source: Measured on STL Genie, 2026-11-18, by re-exporting the example STLs with our OBJ and 3MF writers. ASCII STL sizes use a common six-decimal exponent layout written for this comparison; other ASCII writers differ.

3MF: the format slicers prefer for projects

3MF is an XML-based package that declares its unit, can hold several objects, colours and materials, and is used by Bambu Studio, PrusaSlicer and others to save whole projects with plates and settings. If you want to send a friend exactly what you sliced, a project 3MF carries far more than an STL can.

Our 3MF download contains the mesh in millimetres with the unit declared, nothing more. It does not include colours or print settings, because those belong to your printer and filament. Open it in your slicer, set up colours and plates, and save the project 3MF from there if you want to keep that setup.

Two cautions. Project 3MFs from one slicer can contain settings another slicer ignores or warns about, so if you share one, mention which slicer it came from. And some print services and older tools still accept only STL.

OBJ: for textures and 3D software

OBJ is a plain-text format that lists vertices once and faces by index, and it can reference a separate material file and texture images. That makes it common for coloured models headed to Blender or a game engine. For single-colour printing it offers little over STL, apart from somewhat smaller files.

Our OBJ export writes vertices and faces only, with a comment noting that units are millimetres, since OBJ has no unit field of its own. If you open it in software that assumes metres, scale by 0.001 or set the import unit to millimetres.

For textured AI models, the GLB download carries the colour data in one binary file, which is easier to handle than an OBJ with separate material and texture files.

Which format to choose

For a plain print from our converters, STL and 3MF give the same geometry, so pick whichever your workflow prefers. Choose STL for print services and maximum compatibility, 3MF when you will add colours or want units declared, OBJ for editing in 3D software, and GLB for viewing textured AI models.

  • Sending to a print service or posting on a model-sharing site: STL, unless the site asks for 3MF.
  • Opening in Bambu Studio, PrusaSlicer or OrcaSlicer for multi-colour work: 3MF, then save a project 3MF.
  • Editing in Blender or another modeller: OBJ or STL; both import cleanly.
  • Keeping the colours of an AI model for viewing: GLB.
  • Archiving a print you were happy with: the slicer project 3MF, which keeps settings with the mesh.

Common format problems

The usual trouble is size: a model imported at the wrong scale because a unit was assumed, a file too large to upload because it is ASCII or over-detailed, or colours lost because STL cannot store them. Each has a quick fix once you know which format property is responsible.

  • Model is tiny or huge: the source used inches or metres; scale by 25.4 or 1000, or re-export in millimetres.
  • Upload rejected for size: export binary rather than ASCII, or lower the conversion resolution.
  • Colours missing: STL cannot hold colour; use 3MF or reassign colours in the slicer.
  • Settings missing from a shared 3MF: it was a plain model 3MF, not a slicer project file.
  • OBJ loads without textures: the MTL file or images were not kept in the same folder.

Frequently asked questions

Is 3MF better than STL for 3D printing?

For projects, often yes: 3MF stores units, colours, multiple parts and slicer settings. For a simple single-colour model, the printed result from STL and 3MF is the same geometry.

Why is my STL file so big?

A binary STL is 84 bytes plus 50 bytes per triangle, so size tracks triangle count. Lower the resolution, or check it is not an ASCII STL, which was about 4.3 times larger in our comparison.

Does STL store units?

No. STL has no unit field, and slicers assume millimetres. Our files are always in millimetres and put the size in the file name.

Can Bambu Studio open OBJ files?

Yes, Bambu Studio imports OBJ as well as STL and 3MF. For single-colour printing the geometry is the same whichever you choose.