GLB
Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.
GLB Preview.
At a glance
| Original creator | The Khronos Group |
| Purpose | The binary container of glTF: one file holding the JSON scene and, optionally, the geometry and image data. |
| Extensions | .glb |
| Poka parser | poka-glb |
| Viewer | poka-3d-viewer |
| Depth tier | Parser with a shared viewer (see Depth tiers) |
| Breadth tier | B2 Broad (see Breadth tiers) |
Preview a sample
These are sample files, not yours. Poka opens a sample in your browser: the file is read and parsed on your device and nothing is uploaded.
How much Poka reads
B2 Broad. The common content of the current and the common older versions is decoded. Some named features or versions are not, and are listed.
Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-16: the poka-glb header check and unit tests, the seven corpus files (none uses an extension or compression) and the vendored Three.js GLTFLoader. The module only checks the header; the loader draws the model. The tier covers GLB version 2.
What Poka does not read
- Draco-, meshopt- and KTX2-compressed files
- GLB version 1
- Animations (loaded but not played)
- The KHR_materials_pbrSpecularGlossiness extension
- Scenes other than the default one
- Scene information beyond the picture
Background
The Library of Congress describes a 12-byte header followed by a JSON chunk and an optional binary chunk, with the magic number "glTF". Poka reads the header and the first chunk header to reject truncated or mislabelled files, and the frontend viewer draws the model. A file whose length disagrees with its header is decoded as far as its bytes go; the scene says so in a fact and as a declared-size integrity check, a warning when the file is shorter than declared and information when it is longer.
Libraries
Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.
- gltf (candidate; MIT OR Apache-2.0; Rust; https://github.com/gltf-rs/gltf)
- glTF-Validator (candidate; Apache-2.0; Dart; https://github.com/KhronosGroup/glTF-Validator)
- glTF 2.0 specification (Khronos) (candidate; public spec; spec; https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html)
Software that uses it
- glTF / GLB (Khronos)
Sources
- https://loc.gov/preservation/digital/formats/fdd/fdd000498.shtml
- parsers/poka-glb/src/main.rs