What is a glTF file?

A glTF file is a 3D scene described in JSON: it lists meshes, materials, nodes and animations and points to binary buffers (.bin) and texture images that hold the actual data. It is often called the "JPEG of 3D".

File extension.gltf (+ .bin, images)
Type3D scene (JSON)
Developed byKhronos Group
First released2015 (1.0), 2017 (2.0)
EncodingJSON text + binary buffers
Colour / materialsYes – PBR materials and textures
UnitsMetres, Y axis up
Exact CAD geometryNo
MIME typemodel/gltf+json
Opens in 3dfilesYes – glTF viewer

Open a glTF fileglTF to STL converter

About the glTF format

glTF 2.0 is the open real-time 3D standard of the Khronos Group, supported by three.js, Babylon.js, Unity, Unreal, Godot, Blender and most web viewers. The .gltf variant keeps the scene readable as text, which makes it easy to inspect and edit, while the data lives in separate files.

If you received a .gltf without its .bin and texture files, the model cannot be shown – the JSON is only the table of contents. Ask for the whole folder or a .glb, which packs everything into one file.

What a glTF file looks like inside

glTF JSON

{
  "asset": { "version": "2.0" },
  "scenes": [{ "nodes": [0] }],
  "nodes": [{ "mesh": 0, "name": "Chair" }],
  "meshes": [{ "primitives": [{ "attributes": { "POSITION": 0, "NORMAL": 1 }, "indices": 2, "material": 0 }] }],
  "materials": [{ "pbrMetallicRoughness": { "baseColorFactor": [0.8, 0.5, 0.3, 1] } }],
  "buffers": [{ "uri": "chair.bin", "byteLength": 48200 }]
}

Accessors and buffer views (left out above) describe where in chair.bin the positions, normals and indices start.

How to open a glTF file

  1. Drop the .gltf together with its .bin and images (or a ZIP) on the glTF viewer.
  2. Blender: File → Import → glTF 2.0.
  3. Convert to GLB to get one self-contained file, or to STL for printing.

Convert glTF files

Common problems

"Missing buffer" / empty scene

The .bin or image files were not included. Load all files together, or a ZIP of the folder.

Questions about glTF files

What is the difference between glTF and GLB?

Same content; GLB is binary and self-contained, glTF is JSON with external files. See GLB vs glTF.