Skip to content

3MF vs STL, Compared on Real Files

Have your design as a PNG or JPG? The converter traces it, then builds a 3MF with one part per color, each numbered with its filament, and one STL per color. The preview is free, with a watermark, and needs no signup.

Secure checkout by StripeCancel anytime from your account

An STL holds triangles and nothing else. A 3MF is a ZIP package that also names its unit and can keep several parts together, each with its filament number. Below, real files saved both ways, opened and measured.

  • An STL is triangles only: no unit, no color and no parts
  • A 3MF names its unit and can keep several parts in one object, each with its filament number
  • A 1,152-triangle chess pawn: 57,684 bytes as STL, 10,450 bytes as 3MF
  • A three-color badge: three STL files, or one 3MF

The same models, saved both ways

Four models, each as STL and as 3MF, with the same triangles in both. The pawn, the bracket and the house went through the STL to 3MF converter of the site, the bracket with its unit set to inches. The badge came out of the 3MF engine behind its SVG to STL converter, as three STL files and a 3MF at once. Download any of them and open it in your slicer.

ModelSTL3MFTrianglesCorners in the STLCorners in the 3MF
Chess pawn28 x 28 x 46 mm, one partchess-pawn.stl57,684 bytesbinary STLchess-pawn.3mf10,450 bytes1,1523,456578
Shelf bracket2 x 1.25 x 1.25 in, one partshelf-bracket-inches.stl42,941 bytesASCII STLshelf-bracket-inches.3mf3,294 bytes276828136
Mountain badge100 x 100 x 2.6 mm, three colorsmountain-badge-01-ffffff-jade-white.stl25,684 bytesmountain-badge-02-0a2989-blue.stl1,684 bytesmountain-badge-03-c12e1f-red.stl12,684 bytesbinary STLmountain-badge.3mf8,307 bytes7962,388404
Sample house40 x 30 x 32 mm, one partsample-house.stl884 bytesbinary STLsample-house.3mf1,168 bytes164810

Why the 3MF is smaller, and when it is not

The XML model inside the 3MF of the pawn takes 65,816 bytes, more than the 57,684 bytes of the binary STL: text takes more room than 32-bit numbers. But a 3MF is a ZIP, and compression brings it down to 10,450 bytes. It also writes each corner once, where an STL writes it again in every triangle that uses it: 578 corners against 3,456.

The house has 16 triangles. Around so little geometry, the files every 3MF carries weigh more than what it saves, and the 3MF comes out larger: 1,168 bytes against 884.

What is inside an STL file

An STL is a list of triangles. Each one has a normal, the direction its outside faces, and three corners. That is all: no unit, no color and no parts. The format comes in two forms, text and binary.

ASCII STL: seven lines per triangle

The shelf bracket is an ASCII STL: 42,941 bytes for 276 triangles. Its first lines, and its last one:

shelf-bracket-inches.stl, lines 1 to 8, and the last line
LineIn the fileWhat it says
1solid shelf_bracket_inchesAn ASCII STL opens with solid and a name.
2facet normal 0 0 1A triangle begins. Its normal, 0 0 1, points straight up.
3outer loopIts three corners follow.
4vertex 0.625 0.55 0.1875A corner: x, y and z, with no unit. Here, inches.
5vertex 1.375 0.55 0.1875The second corner.
6vertex 1.3811 0.5886 0.1875The third corner.
7endloopEnd of the corners.
8endfacetEnd of the triangle. The same seven lines come back for each of the 276 triangles.
1,934endsolid shelf_bracket_inchesThe last line closes the solid.

1,934 lines in all: the line that opens the file, seven per triangle, and the line that closes it. The numbers are inches, and nothing in the file says so.

Binary STL: 50 bytes per triangle

The chess pawn is a binary STL: the same kind of triangles, written as 32-bit numbers after a header.

chess-pawn.stl, byte by byte
BytesWhat they holdIn this file
0 to 79Header: 80 bytes, here a line of text padded with zerosChess pawn, drawn for VectoSolve STL to SVG
80 to 83Triangle count, a 32-bit integer1,152
84 to 95Normal of the first triangle: three 32-bit floats0, 0, -1It faces down: the base of the pawn.
96 to 131Its three corners: nine 32-bit floats, x, y and z of each(0, 0, 0), (13.523, 3.6235, 0), (14, 0, 0)
132 to 133Attribute, 2 bytes0
134 to 57,683The other 1,151 triangles, 50 bytes eachLaid out like the first one.

84 bytes, plus 50 for each of the 1,152 triangles: 57,684 bytes, the exact size of the file. Each corner is written in every triangle that uses it: 3,456 corners for 578 distinct points.

What is inside a 3MF file

A 3MF is a ZIP archive with a .3mf extension: rename a copy of the badge to .zip and any archive tool opens it. Four files inside:

mountain-badge.3mf, opened as a ZIP
File in the packageSizeWhat it holds
[Content_Types].xml378 bytesThe type of each kind of file in the package
_rels/.rels264 bytesPoints to the model, 3D/3dmodel.model
3D/3dmodel.model45,938 bytesThe model: its unit, the mesh of each part, and how the parts fit together
Metadata/model_settings.config1,531 bytesThe filament number of each part, a file Bambu Studio and OrcaSlicer read

48,111 bytes of text in all, compressed to 8,307 bytes.

The model, line by line

3D/3dmodel.model has 13 lines. The mesh of each part fits on one of them, so a line can run for thousands of characters: the passages below come from lines 2 to 12.

3D/3dmodel.model, passages in the order of the file
LineIn the fileWhat it says
2<model unit="millimeter" xml:lang="en-US" ...Every length in the file is in millimeters.
5<metadata name="Title">mountain-badge</metadata>The name of the model.
8<object id="2" type="model" name="Color 2 #0a2989 (closest: Bambu PLA Basic Blue)"> ...Part 2, the blue mountains, named after its color.
8... <vertex x="-11.8311" y="11.7767" z="2.6"/> ...Its first corner, in mm. Each corner is written once, however many triangles use it: part 2 has 18.
8... <triangle v1="0" v2="1" v3="2"/> ...A triangle gives the numbers of its three corners in that list: part 2 has 32 triangles.
10<object id="4" type="model" name="mountain-badge"><components> ...Object 4 is the badge: it gathers parts 1, 2 and 3 where they are.
12<build><item objectid="4" transform="1 0 0 0 1 0 0 0 1 90 90 0" printable="1"/></build>What to print: the badge, its center moved to x 90 mm and y 90 mm on the plate.

The filament of each part

Metadata/model_settings.config is not part of the 3MF standard: it is the file Bambu Studio and OrcaSlicer read for the parts of an object.

Metadata/model_settings.config, lines 11 to 13
LineIn the fileWhat it says
11<part id="2" subtype="normal_part">The settings of part 2 begin.
12<metadata key="name" value="Color 2 #0a2989 (closest: Bambu PLA Basic Blue)"/>The name of part 2, the same as in the model.
13<metadata key="extruder" value="2"/>Part 2 prints with filament 2.

Units: the bracket drawn in inches

The STL of the shelf bracket measures 2 by 1.25 by 1.25: its designer worked in inches, and the file has no way to say so. A slicer reads the numbers of an STL as millimeters, so unless you scale it, the bracket comes in 2 mm wide, 25.4 times too small.

Converted with its unit set to inches, the 3MF stores 50.8 by 31.75 by 31.75 and declares unit="millimeter": the size travels with the file. A 3MF may also be written in microns, centimeters, inches, feet or meters, as long as it says which.

Colors: one badge, three STL files or one 3MF

The badge is a white disc 100 mm wide, with blue mountains and a red sun raised 0.6 mm on its 2 mm base. It was drawn as an SVG, then written both ways at once by the 3MF engine of the site, with its default settings.

The badge drawing: a white disc with blue mountains and a red sun
mountain-badge.svg, the drawing

As STL files

Three files in the same coordinates, so they line up when you load them together. In the ZIP the converter writes, a README comes with them:

  1. Select all the .stl files and drop them into your slicer at the same time.
  2. When asked "Load these files as a single object with multiple parts?", click Yes.
  3. Give each part its filament: the number at the start of each file name is its filament slot.

The color is written only in the file name and in the text of each header, such as "mountain-badge - #0a2989 - Blue".

As one 3MF

  • Part 1, filament 1The white base, 2 mm thick
  • Part 2, filament 2The blue mountains, 0.6 mm
  • Part 3, filament 3The red sun, 0.6 mm

One object with three parts, numbered 1, 2 and 3 in Metadata/model_settings.config, each named after its color, such as "Color 2 #0a2989 (closest: Bambu PLA Basic Blue)".

Bambu Studio and OrcaSlicer open it with a message that ends with "geometry data only": click OK, and each part keeps its number. Then sync your AMS, or add filaments until you have one per part: a part numbered above your filament count prints with filament 1.

STL or 3MF: which one to use

When STL is the better pick

  • The app or the print service you send it to asks for STL
  • The model is one part in one color: an STL carries all of it
  • You want one file per color, to load in any slicer

When 3MF fits better

  • The model has several colors or parts: one file keeps them together, numbered by filament
  • It was drawn in inches or another unit: the 3MF says which
  • You want the plates and print settings too: Bambu Studio, OrcaSlicer and PrusaSlicer save their projects as 3MF
  • The model is large: the 3MF of the pawn is less than a fifth of its STL

3MF and STL questions

Is 3MF better than STL?

For printing, most of the time. A 3MF names its unit, can keep several parts in one object with their filament numbers, and is smaller for real models: the pawn takes 10,450 bytes as 3MF and 57,684 as STL. An STL carries a one-color part just as well, and it is the file to send when an app or a print service asks for STL.

What is a 3MF file?

A ZIP package with a .3mf extension. Inside, [Content_Types].xml and _rels/.rels describe the package, and 3D/3dmodel.model holds the model in XML: the unit, the corners and triangles of each part, and how the parts fit together. Slicers add files of their own: Bambu Studio and OrcaSlicer read the filament number of each part in Metadata/model_settings.config.

What is an STL file?

A list of triangles, each with a normal and three corners. A binary STL stores them as 32-bit numbers after an 80-byte header and a triangle count; an ASCII STL writes them as text, seven lines per triangle. The format has no unit, no color and no parts.

Why is my 3MF larger than my STL?

Because the model is very small. Every 3MF carries a few files around the model, and on 16 triangles they weigh more than what the 3MF saves: the house is 1,168 bytes as 3MF and 884 bytes as STL. The other models on this page are 4.8 to 13 times smaller as 3MF.

Does an STL file keep colors?

No. The STL format has no field for color. A multicolor model comes as one STL per color, all in the same coordinates, and you give each file its filament in the slicer. In the STL files of the badge, the color appears only in the file name and in the text of the header.

Does a 3MF file keep colors?

It keeps the parts, and Bambu Studio and OrcaSlicer read a filament number for each one. The 3MF of the badge has three parts numbered 1, 2 and 3, each named after its color and the closest Bambu PLA Basic filament. The spools are the ones in your AMS: sync it, or add filaments until you have one per part.

What unit does an STL use?

None: the file holds plain numbers, and slicers read them as millimeters. The shelf bracket was drawn in inches: read as millimeters, it is 2 mm wide instead of 50.8 mm, 25.4 times too small. A 3MF writes its unit in the model, so the same bracket as 3MF cannot be misread.

Should I download the 3MF or the STL of a model?

The 3MF if you print it in a slicer that opens 3MF, such as Bambu Studio, OrcaSlicer or PrusaSlicer, and the model has several colors or parts. The STL if the app you open it in does not read 3MF, or if you only need the shape.

How do I open the 3MF of the badge in Bambu Studio?

Open it, or drag it into the window. Bambu Studio and OrcaSlicer show a message that ends with "geometry data only": click OK, and each part keeps its filament number. Then sync your AMS, or add filaments until you have one per part: a part numbered above your filament count prints with filament 1.

How do I get a multicolor 3MF from a logo?

Upload a PNG or JPG of the logo to the converter at the top of this page. It traces the colors, then builds a 3MF with one part per color, each numbered with its filament, and one STL per color. The preview is free, with a watermark, and needs no signup.

Can I convert a 3MF to STL, or an STL to 3MF?

Yes, both ways. STL to 3MF keeps the triangles and writes the unit, and several STL files become one object with one part per file. 3MF to STL keeps the triangles too and leaves the rest behind: colors, filament numbers and print settings do not fit in an STL.

More: STL to 3MF converter, 3MF to STL converter, SVG to STL converter, image to multicolor 3MF, SVG for Bambu Lab and SVG for 3D printing.

Current plans and prices: pricing.

Turn your logo into a multicolor 3MF

One part per color, each numbered with its filament, plus one STL per color. The preview is free, with a watermark, and needs no signup.

Convert my logo