GLB, STL, OBJ & PLY: 3D File Formats Explained

A plain guide to the common 3D file formats, GLB, glTF, STL, OBJ and PLY, what each is for, and when you'll run into them. With a free viewer for all of them.

Updated 5 min read By CodingEagles
Free tool 3D Model Viewer Open and inspect any GLB, GLTF, STL, OBJ or PLY model. Open tool

The 3D formats you meet most often are GLB and glTF (web and games), STL (3D printing), OBJ (general model exchange) and PLY (scans). Each stores geometry, but they differ in what extra information they carry and what they are designed for. The 3D model viewer opens all of them.

Here is each one, in plain terms.

GLB and glTF, the web standard

glTF is a modern, open format built for fast loading in browsers, games and augmented reality. GLB is its single-file binary version, which bundles geometry, materials and textures together, while glTF (.gltf) is JSON text that often links to separate files. If you are working with 3D on the web or in a game engine, this is the format you will see most. There is a fuller comparison in GLB vs glTF.

STL, the 3D printing format

STL describes a model as a mesh of triangles, with no colour or texture. It is simple and supported by virtually every 3D printer and slicer, which is why it dominates 3D printing. If you download a model to print, it is almost always an STL. See how to view an STL file for more.

OBJ, the universal exchanger

OBJ is one of the oldest 3D formats and is exported by nearly every modelling tool. It stores geometry as plain text and keeps materials in a companion .mtl file. Because it is so widely supported, OBJ is a common way to move a model between two programs that share little else.

PLY, the scanner’s format

PLY stores geometry and, often, per-vertex colour. That makes it the natural choice for 3D scans and photogrammetry, where colour captured from the real object is baked into the mesh. Open a PLY and you will frequently see the scanned colours along with the shape.

A quick comparison

FormatBest forCarries colour/texture?One file?
GLBWeb, games, ARYes, embeddedYes
glTFWeb, games, ARYes, often in side filesOften no
STL3D printingNoYes
OBJModel exchangeIn a side .mtl fileUsually no
PLYScansPer-vertex colourYes

See any of them

Whichever you have, you can open it without installing anything. Drop your file into the 3D model viewer to rotate it, read its size and triangle count, and take a screenshot, all in your browser, with nothing uploaded.

Frequently asked questions

Which 3D format should I use?
It depends on the job. For the web, games and AR, GLB is the modern default. For 3D printing, STL is near-universal. For exchanging editable geometry between modelling tools, OBJ is common. For scans with colour, PLY is typical. Pick the one your destination software expects.
Can I view all these formats without special software?
Yes. The viewer here opens GLB, glTF, STL, OBJ and PLY straight in your browser, with nothing to install and nothing uploaded. Each format also has its own dedicated viewer page for convenience.
Are these formats interchangeable?
They describe similar things, 3D geometry, but carry different extras. Converting between them is usually possible, but you can lose data: an STL has no colour, an OBJ keeps materials in side files, and GLB packs textures inside. Convert with the destination in mind.

Ready to try it?

Open and inspect any GLB, GLTF, STL, OBJ or PLY model. Free, in-browser, and 100% private, your data never leaves your device.

Open the 3D Model Viewer