Guides ·

How to open a GLB file and see what's inside

Someone sent you a .glb, or you downloaded one from a 3D marketplace, and double-clicking it does nothing useful. This post explains what a GLB holds, how to open it on any computer, and how to read what a viewer tells you, including why most display models have no volume.

Drop your .glb into the free GLB viewer to see its parts, size and textures in a few seconds.Try it on your own file
The GLB viewer showing a green toy car on a red cloth, a 38.8 mm measurement from bumper to the back of the car, and a panel with size 73.4 × 28.8 × 74 mm and a note that open surfaces are normal for display models
ToyCar.glb in the GLB viewer, measured bumper to back. Model: Khronos glTF Sample Assets, by Guido Odendahl, materials by Eric Chadwick, CC0.

What a GLB file is

GLB is the binary form of glTF 2.0, an open format from the Khronos Group for sending 3D models to screens. A plain .gltf file is readable text that usually points to other files: a .bin file with the geometry and separate texture images. A .glb packs the same text and the same data into one file, so nothing can go missing on the way.

Inside you usually find meshes (the surfaces, made of small triangles), materials (how each surface reacts to light), textures (the images painted onto the surfaces) and a scene tree that places every part. Some files also carry cameras or animations. The unit is fixed by the standard: one unit is one metre.

Diagram: a .gltf is a JSON text file that points to a separate .bin file and texture images; a .glb holds the same JSON and binary data in one file
A .gltf points to loose files; a .glb carries everything in one.

Ways to open one

Blender is free and imports GLB files with File, Import, glTF 2.0. That is the right choice if you want to edit the model. It is a large install if you only want to look.

If you just need to see the model, check its size or count its parts, a browser viewer is quicker. Open the GLB viewer, drop the file on the page and it appears in a few seconds. Drag to turn it.

Read what the viewer tells you

The panel next to the model starts with the size: the width, height and depth of the smallest upright box that holds the model. The file itself always stores metres; the viewer shows a small model like this one in millimetres.

Open Details for the triangle count, the number of parts and the surface area. The parts list shows every mesh by the name its author gave it; click a name to hide that part, and the size and counts update to what is still visible. Measure lets you click two points; corners snap, and the distance appears on the model and in the panel.

The toy car alone, filling the GLB viewer after hiding the cloth, with size 18.7 × 11.6 × 38.4 mm, 91,331 triangles and 2 parts
With the cloth hidden, the view zooms in on the car and the panel describes it alone. Model: Khronos glTF Sample Assets (CC0).

Why most display models have no volume

A volume only exists for a closed shell: a surface where every edge is shared by exactly two triangles, like the skin of a ball. This is called watertight. If even one edge belongs to a single triangle, there is a gap, the inside leaks into the outside, and no volume can be worked out.

Models made for screens are rarely built that way, and they don't need to be. Cloth, leaves and paper are single sheets with no inside. A car is often modelled as many separate pieces that touch or overlap instead of one sealed body. Faces nobody will see, such as the underside of a toy sitting on a table, are often left out. A window can be a single flat sheet. None of this shows on screen, so artists save the work.

Diagram: a closed shell has an inside and a volume; a single sheet like the cloth has no inside; a shell with holes leaks, so it has no volume either
Why the toy car has no volume: open pieces and a single-sheet cloth. Only the glass is closed.

When the holes matter

For a web page, an online shop or an AR view, they don't matter at all. The model looks the same.

They matter when you need a solid: to 3D print the model, to compute its weight from its volume, or to cut it with a CNC machine. Then the mesh must be closed, and thin parts must be thickened. Do that repair in a mesh editor before you export the model as STL for your slicer.

A worked example: the Khronos toy car

  1. ToyCar.glb is a free sample model from the Khronos Group: a green toy car on a draped red cloth, 5.4 MB.
  2. Dropped on the GLB viewer, it opened with its textures: the paint, the flames on the bonnet, the chrome and the fabric.
  3. Size: 73.4 × 28.8 × 74 mm. That box holds the car and the cloth together.
  4. Details: 108,936 triangles in 3 parts named ToyCar, Fabric and Glass, with a surface area of 9,275.41 mm² (92.75 cm²).
  5. Measure, from the front bumper to the back of the car: 38.8 mm, of which 35.2 mm along the car and 16.3 mm across.
  6. Clicking Fabric in the parts list hid the cloth. The panel then described the car alone: 18.7 × 11.6 × 38.4 mm, 91,331 triangles in 2 parts. A toy under 4 cm long; the cloth made the rest of the box.
  7. Volume: none, with or without the cloth. The panel says why: open surfaces, normal for display models.
  8. The panel shows no hole count, so these counts come from reading the file itself: the car body is 47 separate pieces, and 34 of them have openings, 67 holes in all. The cloth is one sheet with a single open border. Only the glass is closed: 2 sealed pieces. To see open edges yourself, import the GLB into Blender with Merge Vertices ticked in the import options, select a part, switch to Edit Mode and use Select, Select All by Trait, Non Manifold.
  9. The file also holds 8 texture images, 3 materials and 8 cameras set up by its author. All of that travels inside the one .glb.

Common mistakes

Questions

Is GLB the same as glTF?

Same format, two packagings. A .gltf is text with separate .bin and image files; a .glb is the same content in one binary file.

Can I open a GLB without installing anything?

Yes. A browser viewer opens it on the page, with its textures, parts and size.

Why does my model have no volume?

Volume needs a closed surface. Most display models contain sheets, open pieces or missing faces, which look fine on screen but leave gaps.

Can I 3D print a GLB file?

Only after the mesh is closed and thick enough. The viewer can download it as STL, but repair the holes first.

Sample file: ToyCar.glb · CC0 (Guido Odendahl; materials Eric Chadwick)

Sources

Drop your .glb into the free GLB viewer to see its parts, size and textures in a few seconds.Try it on your own file