- A GLB inspector checks the container: the glTF magic bytes, the format version, and whether the length declared inside the file matches the file you actually downloaded.
- A
.gltffile is JSON, so the same panel can count its scenes, nodes, meshes, materials and animations directly. - What it cannot read is geometry: triangle count, bounding box and texture attachment come from a viewer, a DCC import dialog, or an engine.
- Inspection runs locally: the file is parsed in the browser and never uploaded.
Image-to-3D tools hand you a GLB and a thumbnail. The thumbnail is a render with a flattering camera; the GLB is the thing you will actually ship. Opening the file and reading its numbers takes ten seconds and catches the failures that cost the most later: a truncated download, a renamed file that was never glTF, an export that went out with no material. None of those are visible in a thumbnail, and all of them look like "the generator produced something wrong" until you check the container.
The numbers worth reading
| Signal | Healthy | What a bad value means |
|---|---|---|
| Header magic and version | Magic reads glTF, version 2 | Something else was renamed to .glb, or the download is not the file the generator offered. |
| Declared length vs file size | The two numbers agree | Declared length above the real size is a truncated download — re-download before anything else. |
| Scene, node, mesh, material counts (.gltf only) | Counts roughly match what you built | Zero meshes means the export wrote camera or lights only; zero materials means the look never shipped. |
| Animation count (.gltf only) | Present only when motion was generated | An animation track on a static asset means the wrong export preset. |
What is actually inside a GLB
A GLB is a binary container with three parts. The first twelve bytes are a header: four magic bytes spelling glTF, a version number (2 for every current exporter), and a total length that counts every byte of the file. After the header come two chunks — a JSON chunk describing scenes, nodes, meshes, materials and animations, and a BIN chunk holding the vertex data and the images. Almost every "this file is broken" report resolves at those first twelve bytes, because a container that cannot state its own length cannot be trusted to carry anything else.
What a header check catches, and what it cannot
- Catches: a download cut short by a browser or a proxy, a file renamed from something else, a glTF 1.0 relic from an old exporter, and a generator that wrote a header length inconsistent with the bytes it actually delivered.
- Cannot catch: a mesh whose backside is a hole, a texture that failed to attach, a model exported in centimetres, or a 400,000-triangle asset that will stall a phone.
- Needs another tool: triangle count, bounding box and material inspection come from a DCC import dialog, an engine, or a viewer that decodes geometry. Run the container check first so you are not debugging the wrong layer.
Inspecting before you commit
Open the file you downloaded
Not the preview. The preview is the generator's render, the file is your deliverable.
Then confirm scale where it is visible
A header cannot tell you how big the model is. Import it into your DCC or engine once and read the dimensions there — that comparison is the unit.
Orbit to the back and underside
Generated meshes fail where the photo had no information: behind, beneath, and in deep concavities.
Only then send it onward
After inspection, convert for the destination: STL for printing, OBJ for legacy DCC, GLB for the web.
Browser-only, private
Free GLB Inspector
Check GLB and glTF model structure locally before import, review, or handoff.
Free GLB Inspector
Runs locally in your browser, no upload. Load it to start.
The thumbnail is not the file
A render can hide holes behind a friendly camera angle and a smooth normal map. Orbit it once — the underside is where generated geometry admits what it does not know.
The .glb versus .gltf distinction explains why the two panels report different things. A .gltf is JSON plus sibling .bin and image files, which the browser can read and count directly; a .glb is that same JSON sealed inside a binary container, so trustworthiness comes from the header and counting comes from decoding chunks. Neither route proves quality — both prove the file is what its extension claims, which is the cheapest question to settle first.
Frequently asked
What does a GLB inspector show that a viewer does not?
The container and the inventory: the glTF magic and version, the length the file declares versus the bytes it actually contains, and — for a .gltfJSON file — counts of scenes, nodes, meshes, materials and animations. A viewer answers "does it look right"; the inspector answers "is this a well-formed glTF at all".
Why does it call my file invalid?
Either the first four bytes are not glTF, or the version is below 1, or the file is shorter than its own header claims. In practice that means a download was interrupted or a non-glTF export was renamed. Re-download first; rename nothing.
Can it tell me the triangle count?
Not from a GLB — the geometry sits in compressed or binary accessors the panel deliberately does not decode. Import the file into a DCC or engine, or convert it to .gltf JSON and read the mesh count, then check the real figure where you will use it.
Does it handle a .gltf with external files?
Yes for the counts: the JSON is parsed where it sits, so a missing .bin or an unreachable texture does not stop the scene, node, mesh or material totals. It does mean those totals can look healthy while the asset is still unloadable elsewhere — check the sibling files exist in the same folder before you trust a green result.
Can I inspect a GLB without uploading it?
Yes. Parsing happens in your browser, so a client's model stays on your machine.
Does inspecting cost credits?
No. Local tools here are free. Credits apply only when you generate a new model on the AI 3D generator.
Next steps
If the numbers are wrong, regenerate rather than repair: fix the input photo and run it again on the Pixal3D image-to-3D generator. Then compare the two routes in the Pixal3D vs TRELLIS 2 guide, and read the format guide before exporting.
Also useful: the full-page GLB inspector, GLB to STL, GLB to OBJ, and the STL viewer.
