3D print files format: STL, 3MF, OBJ, or G-code
Which 3D print files format should you download? STL or 3MF for the model, OBJ for appearance data, and G-code only for your own printer.

Download a model file your slicer can open, not a machine script from someone else's printer. For a home printer, that model is usually an STL or a 3MF. Take an OBJ when you need color or texture and the slicer lists it. Take G-code only when it was sliced for your printer and your profile. UltiMaker Cura documents opening .stl, .3mf, .obj, and .x3d files. That is a concrete list of model types a free slicer can load before it writes the print job.
That is the rule for choosing a file. The one limit: a richer format is the wrong file if your slicer cannot open it. Match the file to the program you will actually slice with.
STL when the shape is enough
STL is the triangle surface. The Library of Congress STL page describes it as a mesh of triangular facets, with vertex coordinates and an outward normal, and colors and textures sit outside its standard features. It remains widely used because the structure is simple and not tied to one vendor's software. If the part is a single color and you will set layer height, infill, and supports in the slicer, an STL is a sufficient download.
What type of file is commonly used for 3D printing? What's the most common 3D printer file? Which file is used in a 3D printer? The model people pass around is usually this mesh. Marlin says most slicers slice STL files, and that the firmware prints G-code rather than the mesh. Common, here, means the file you download. The file the printer consumes is the sliced result.
A plain-language tour of what that mesh holds, and what it leaves out, is in what STL files are.
3MF when the package should carry more
3MF is a different kind of download. The Library of Congress 3MF description says the format extends the Open Packaging Conventions, using XML, Unicode, and ZIP, organized as a document that can hold a model plus supporting files. It says the file can include textures for appearance and optional print-job control instructions, and that the core specification specifies coordinates, unit resolution, and measurements on the model.
The 3MF Consortium FAQ draws the line against STL directly. STL does not contain color or other material or property information, and it has no extensibility mechanism to add that data. 3MF is the package built to carry geometry plus those properties when a producer includes them.
What format should 3D print files be, if you care about color, more than one material, or a saved layout? Prefer 3MF when the publisher offers it and your slicer opens it. Cura's documented list includes .3mf, so a Cura user can load that package. What a 3MF file contains, and when a project file from one slicer will not reopen in another, is covered in what a 3MF file is.
OBJ when appearance data matters
OBJ is a rendering-oriented mesh, not the manufacturing package. The 3MF Consortium FAQ groups OBJ with VRML and FBX as rendering formats. They carry a lot of information about effects such as lighting and fog, and they are not designed as manufacturing files. Their implementations are often inconsistent, the consortium says, and they can miss true material properties.
Can I 3D print an OBJ file? Which is better, STL or OBJ? Is OBJ or STL better for 3D printing? Which file is better, OBJ or STL? Neither wins every job. STL is the simple surface almost every slicer expects, with no standard color. OBJ can carry appearance data the triangle mesh does not, which helps if you are inspecting a colored model or if the slicer reads it. UltiMaker Cura lists .obj among the formats it can open, so a Cura user can load one. If your slicer does not list OBJ, do not keep it as the only copy of the model.
What is the difference between STL and OBJ files? STL is triangles of the surface, without a standard place for color or material. OBJ can store a richer surface description aimed at how the object looks on screen. For a single-color home print, the extra appearance data is optional. For a part that must keep a texture into the slicer, check OBJ or 3MF first, and only if that slicer accepts it.
G-code is the printer's script
G-code is not the model to keep and reuse. Marlin describes a print job as a simplified derivative of G-code: commands that set a heater or move to a point. A slicer takes the solid model plus choices such as temperature, layer height, and infill, and generates that file. Sending someone else's G-code to a different machine, nozzle, or material is how a download becomes the wrong instructions.
What type of files do you need for 3D printing? What type of file do I need for 3D printing? What file type should I use for 3D printing? You need a model the slicer opens, then the G-code that slicer writes for your setup. You do not need to download G-code unless the publisher sliced it for your exact printer and you intend to run it as-is.
What are the types of 3D printer files? What are the file formats used in 3D printing? Treat them as two stages. Model files include STL, 3MF, and sometimes OBJ or X3D, which Cura can open. Instruction files are G-code, which Marlin runs. AMF is an older manufacturing format. The 3MF FAQ says AMF inspired the foundations of 3MF, and that AMF saw little adoption in software and printers. You will rarely need to download AMF for a home printer.
What a free slicer actually opens
The practical test is the open list, not the badge on a download button. UltiMaker's Cura article says that, by default, Cura can open multiple formats, such as .stl, .3mf, .obj, and .x3d, from the folder icon. If the file you were offered is one of those, a Cura user can load it and then slice. If it is G-code, Cura is the wrong place to treat it as the model. You would be looking at finished instructions, or at a file another slicer already committed to one machine.
What file format do I need for 3D printing, in one line? The model format your slicer lists, then the G-code that same slicer writes. For many home jobs that is STL. When the publisher includes materials, color, or a plate layout and your slicer opens 3MF, take the 3MF.
A shop file is another route.
The Pen Holder is $5.
After you have the model, print settings are a separate choice from the format. A guide on how to 3D print starts from a model you can already open. Keep this page's rule in front of that: match the file to the slicer, and keep another machine's G-code away from a different printer.
Questions
What file format do I need for 3D printing?
Download a model your slicer can open, usually STL or 3MF. G-code is the instruction file the slicer writes afterward, and it is tied to one printer setup.
What is the difference between STL and OBJ files?
STL is a triangle surface without standard color or material data. OBJ can also carry color and texture, and it is aimed more at rendering than at manufacturing.
Can I 3D print an OBJ file?
Yes, if your slicer opens OBJ. UltiMaker Cura documents opening .obj along with .stl, .3mf, and .x3d. If the slicer does not list OBJ, download a mesh it does open.
What are the key differences between STL and 3MF file formats?
STL is a bare triangle surface. 3MF is a zipped package that can also carry materials, appearance, and optional print-job instructions.
What's the most common 3D printer file?
STL is still the mesh people hand a slicer most often. Marlin notes that most slicers slice STL files, while the printer itself runs G-code.

