The glTF and GLB file format
glTF is the Khronos Group's open standard for delivering 3D scenes efficiently — to browsers, phones, AR apps and game engines.
Open a glTF file nowWhat is a glTF file?
glTF is a format for transmitting finished 3D content. It was created by the Khronos Group, the consortium behind OpenGL, Vulkan and WebGL, with one goal: a file that an application can load and display with as little processing as possible. Geometry is stored in the binary form a graphics card expects, so it does not need to be parsed and rebuilt.
Version 2.0, released in 2017, added physically based materials and is the version that current tools use; it has since been published as the international standard ISO/IEC 12113. A glTF file holds a complete scene: a hierarchy of nodes with meshes, materials and textures, and optionally cameras, skeletons and animations.
Two ways to package a model: .gltf and .glb
The same content can be packaged in two ways. A .gltf file is JSON text that describes the scene and refers to external files: one or more .bin files with vertex and index data, and PNG or JPEG images for textures. That arrangement is convenient for editing and for web servers that deliver the parts separately.
A .glb file is the binary container: a short header followed by the JSON and the binary data in one file, with the textures embedded. It is the form to choose for sending a model to someone, because nothing can be left behind. The two are equivalent and can be converted into each other without loss.
What glTF does well, and what it leaves out
glTF is compact, fast to load and precisely specified. Units are meters and the Y axis points up, so there is no guessing about scale or orientation, and the material model produces a consistent look across different renderers. Extensions add mesh compression and further material features.
glTF is made for delivery, not for editing. Meshes are triangles; quads and modeling history are gone, and exact CAD surfaces cannot be represented at all. A glTF made from a CAD model is therefore a visual copy — right for a web viewer or an AR preview, and not suitable for manufacturing. Keep the source file for editing.
How to open and convert glTF
The glTF viewer on this site opens .glb and .gltf files in the browser so that you can orbit the model, browse its node tree and read its triangle count and size; the file stays on your device.
To turn a glTF into another mesh format, use the 3D model converter: STL for printing, OBJ for older software, or PLY. It also produces GLB from other formats — STEP, IFC, FBX or OBJ, for instance — which is a common way to prepare engineering or building models for web presentation.
Frequently asked questions
What does glTF stand for?
GL Transmission Format. The GL refers to the graphics library family (OpenGL, WebGL) for which the format was originally designed.
Should I use .gltf or .glb?
.glb for sharing and uploading, since it is one self-contained file. .gltf with separate files is practical during development, when you want to edit the JSON or swap a texture.
Can glTF be used for 3D printing?
Slicers generally expect STL or 3MF. Convert the model to STL first, and remember that glTF dimensions are in meters while slicers read STL numbers as millimeters, so check the scale after importing.
Is glTF an open standard?
Yes. The specification is published by the Khronos Group, is free to implement, and has been adopted as ISO/IEC 12113.
What is the difference between glTF and OBJ?
OBJ stores a static mesh as text, with basic materials in a second file. glTF stores a whole scene — hierarchy, modern materials, textures, animation — in a compact form made for fast loading.