GLB to glTF: our test
Both files are about the same size.
- Sample file
- duck__glb.glb (447 KB)
- glTF file
- duck__glb.gltf + duck__glb.bin (448 KB)
- Triangles
- 4,212
- Time in our test
- under a second
Unpack a GLB into the separate .gltf, .bin and image files, so you can read and edit the JSON or replace a texture by hand.
Take the GLB.
Drop it above with glTF selected.
Unzip the files and edit the .gltf in a text editor.
Both files are about the same size.
GLB and glTF hold the same data; GLB just bundles it. Splitting it out is useful for swapping a texture image, renaming materials or checking which extensions a file uses.
Compressed GLBs are decoded on the way, so the .gltf you get is plain and readable by every tool, not only those that support meshopt or Draco.
Looking inside the JSON is the quickest way to debug a model that misbehaves in a viewer. The extensionsUsed list shows which features the file depends on, and each material's pbrMetallicRoughness block shows the colour and texture links.
Once you have edited the files, the reverse conversion on our glTF to GLB page packs them into one file again for publishing.
Format guides: GLB files ยท glTF files
No, it is the same data in separate files.
Yes, swap the image file and keep its name.
Yes, the output is uncompressed.
Look at extensionsUsed near the top of the .gltf JSON.