Skip to main content

glTF module · command line

Look inside a GLB before you render it.

glbdump is a small diagnostic utility for checking the container structure, JSON chunk, and parsed glTF scenes in a terminal or CI job.

Three useful views

Check the container, then the scene.

Start with the default summary to confirm the file is readable. Add JSON or glTF output when debugging extensions, linked resources, scenes, or application metadata.

Summary

Inspect GLB chunks and container structure

--json

Pretty-print the embedded JSON chunk

--gltf

Parse and print the glTF scene structure

Automation

Use the command in local checks or CI

Detailed guide

glbdump usage details

The command reference below shows installation and invocation. Use GLTFLoader for application parsing and post-processing.

glbdump​

glbdump is a utility for inspecting the structure of GLB/glTF binary container files.

Installing loaders.gl/gltf makes the glbdump command line tool available. It can be run using npx.

$ npx glbdump <filename>