
Inspect a glTF/GLB model
Run the Khronos glTF-validator over a glTF or GLB file and report every error, warning, info and hint it finds, alongside a resource summary (draw calls, vertex/triangle counts, materials, textures, animations). A model in another format is converted to GLB first, so the report describes that conversion's output rather than the original file's own bytes. Nothing is uploaded.
Inspect a glTF/GLB model runs the Khronos validator and reports errors, warnings, infos and hints, plus totals for draw calls, vertices, triangles, materials, textures and animations. A source in OBJ, STL, FBX or any other shape gets turned into GLB before validation, so the report reflects that converted file, not your original bytes. Only the first 20 messages print.
Questions
What does it check?
The Khronos gltf-validator runs over the file and the report counts errors, warnings, infos and hints, alongside a resource summary: draw calls, vertex and triangle counts, materials, whether textures are present, animation count, and whether skins or morph targets are used.
What happens if I drop an OBJ or STL instead of a glTF or GLB?
It gets converted to GLB first through the shared three.js loader, and the report is built from that converted file rather than from the original bytes, with a line saying so. Formats it can convert this way include OBJ, STL, PLY, FBX, 3MF, DAE and XYZ.
Why does it say the report describes a converted file, not my original bytes?
Because gltf-validator only understands glTF and GLB, so anything else has to be turned into GLB first before validation can run. Whatever the validator flags is a property of that conversion, which can not be exactly the same as a problem in your original file.
How many individual issues get listed?
Up to 20. Past that the report adds a line saying how many more there are without listing each one, so a file with hundreds of small warnings still produces a readable report rather than a wall of text.
Does it run on the command line?
Yes. It takes a single file and has no browser-only restriction, so the CLI and MCP surfaces run the same validator and loader code as the page.
Compare
| Tool | Runs on the CLI | Live as you type |
|---|---|---|
| Inspect a glTF/GLB model | Yes | No |
| Convert 3D model | Yes | No |
| 3D model mesh info | Yes | No |
| Measure a 3D model | Yes | No |
| Strip 3D model metadata | Yes | No |
| Optimize a 3D model | Yes | No |
| Convert STL between ASCII and binary | Yes | No |