3D file formats

What STL, OBJ and 3MF store, what they leave out, and which tools on this site read and write them.

Side by side

STL, OBJ and 3MF compared
PropertySTLOBJ3MF
Full nameStereo­lithography (also read as Standard Triangle Language)Wavefront Object3D Manu­facturing Format
Extension.stl.obj (+ .mtl for materials).3mf
MIME typemodel/stlmodel/objmodel/3mf
EncodingBinary or text (ASCII)TextZIP archive with XML
SurfaceTriangles onlyPolygons with any number of cornersTriangles
Shared verticesNo, every triangle stores its own cornersYesYes
Colours and materialsNo, not in the standardYes, in a separate MTL file with texture imagesYes, colours and materials in the file
UnitsNot storedNot storedYes: micron, mm, cm, inch, foot or metre
Several objectsNo, one list of trianglesYes, named objects and groupsYes, with their place on the build plate
Opened byEvery slicer and CAD programModelling programs (Blender, 3ds Max, Maya), game engines and most slicersSlicers (PrusaSlicer, Bambu Studio, OrcaSlicer, Cura) and Windows 3D Builder

From images to STL

PNG, JPG and SVG are 2D formats, but a logo, drawing or terrain map in them can become a printable model.