Guides · Updated 2026-10-27 · 10 min read

STL vs 3MF vs OBJ vs PLY: Which 3D File Format Should You Use?

Four file formats cover almost everything makers exchange: STL, 3MF, OBJ and PLY. They look interchangeable because each can describe a triangle mesh, but they differ in what else they carry (units, colour, textures, print settings), in how big the files get and in what can go wrong when someone else opens them. This guide compares them feature by feature, adds measured file sizes for the same mesh, and ends with a decision table by use case.

Written and tested by Azim, creator of STLtoMP4, who publishes 3D models and preview media on Cults3D. The numbers on this page come from test files and clips that were generated for this article (the method is described at the end), not from copied tables. Last reviewed 2026-10-27. Spotted a mistake? Tell us.

Quick answer

What each format stores

STL3MFOBJPLY
GeometryTriangles onlyTriangle meshes with shared verticesPolygons with shared verticesVertices and faces
UnitsNone (a unitless number)Yes (millimetres by default)NoneNone
ColourNon-standard extensions onlyYes, per object, face or materialVia a separate .mtl fileYes, per vertex
TexturesNoYesYes (separate image files)Rare
Multiple objectsAwkwardYes, with build layoutYes (groups)Single mesh by convention
Print informationNoYes (extensions for materials, slicer data)NoNo
Text or binaryBothZipped XMLTextBoth
Typical usePrinting, universal exchangeModern printingRendering, DCC toolsScans, research

STL

The oldest and most widely understood format. It stores only triangles and their normals. There is no unit: a cube that is 20 units wide might be 20 mm in one program and 20 inches in another, which is the origin of many “my model is tiny” problems (see scale and units). It also has no colour and no notion of several parts. Its great strength is that every slicer and viewer opens it.

3MF

Created as a modern replacement for STL for 3D printing. A 3MF file is a zip archive containing an XML description of the mesh, which can include units, colours, materials, several objects and print-related metadata. Because it shares vertices and compresses, files are small. Current slicers such as PrusaSlicer, Cura, OrcaSlicer and Bambu Studio open it; some older tools do not.

OBJ

A text-based format from the world of 3D graphics. It shares vertices, supports polygons beyond triangles and can reference materials and texture images through a companion .mtl file. The three-file arrangement (.obj, .mtl and images) is the usual source of problems: if the companion files are missing, the model opens without colour. OBJ has no units.

PLY

Created for storing 3D scan data. It handles per-vertex colour well and exists in a compact binary variant. It is less common in printing software, but good for colour scans and for research tools.

Measured file sizes for the same mesh

We wrote one noisy, scan-like mesh with 201,608 triangles and 101,120 vertices in every format (details at the end of the page):

FormatSizeRelative to binary STL
ASCII STL46.77 MB464%
Binary STL10.08 MB100%
OBJ (text)7.20 MB71%
PLY (binary)3.83 MB38%
Binary STL, zipped4.28 MB42%
3MF2.31 MB23%
ASCII STL46.77 MBBinary STL10.08 MBOBJ (text)7.20 MBPLY (binary)3.83 MBBinary STL, zipped4.28 MB3MF2.31 MB

The pattern is clear. STL repeats every corner point for every triangle, while OBJ, PLY and 3MF store each point once. 3MF adds compression and was the smallest in all four of our tests. For a smooth mesh of the same triangle count the 3MF was only 16% of the binary STL. See how to reduce STL file size for more on this.

Which format for which job

You want to…UseWhy
Print a plain single-colour partSTL, or 3MF if your slicer supports itBoth work; 3MF is smaller and keeps units
Print in several colours or materials3MFStores colour and material assignments with the model
Share a model with a buyer who may use any softwareSTL plus 3MF in one zipCompatibility and convenience
Send a painted or textured model to a rendererOBJ with .mtl and textures, zipped togetherKeeps textures; remember to include all files
Archive a coloured scanPLY (binary)Per-vertex colour, compact
Show a model in a browser or on social mediaPreview video or imagesSee turntable videos

Common problems and their causes

SymptomLikely causeFix
Model is 25.4 times too big or smallInch/millimetre confusion in STLScale by 25.4 or export in millimetres
OBJ opens grey.mtl or texture files missingKeep all files in one folder or zip
3MF will not openOld software or non-standard extension dataExport STL as a fallback
Colours are lost after slicingFormat has no colour (STL) or slicer ignores itUse 3MF and assign colours in the slicer
File is hugeASCII STL or very dense meshBinary export, decimation, 3MF

Frequently asked questions

Is 3MF better than STL?

For most modern printing workflows, yes: smaller, with units and colour. STL remains the safest choice for compatibility with old software and with buyers you do not know.

Can STL store colour?

The original format cannot. Some programs write colour into unused bytes of binary STL, but there is no standard and many tools ignore it. Use 3MF, OBJ or PLY for colour.

Which format does STLtoMP4 open?

STL (binary and ASCII), 3MF, OBJ and PLY, including coloured models. Everything is processed in your browser.

How we measured

The test mesh is a UV sphere of 20 mm radius with 316 x 320 segments and Gaussian noise of 0.05 mm standard deviation added to each vertex radius, giving 201,608 triangles and 101,120 vertices. OBJ uses six decimals, PLY uses float32 positions and int32 indices, 3MF uses six significant digits in XML with DEFLATE compression and ASCII STL uses %e formatting. Real models differ; the raw numbers are in a CSV file.

Try it yourself: convert your own model to an MP4 turntable video and preview images for free in your browser at STLtoMP4.com. Your files never leave your device.

Related guides

Browse all guides