GLB and glTF viewer

Drop a GLB or glTF file below to see its geometry, how many meshes it really contains and what its base colours are. glTF is the format the web uses for 3D — which means most files that arrive in it were built for rendering rather than printing, and turning one into something printable has a few traps worth knowing.

STLSTEPIGES3MFOBJFBXGLBDAE3DSPLYVRMLAMFOFFG-codeDXFAll formats

What glTF is for

glTF calls itself "the JPEG of 3D", and the comparison is apt in one specific way: it is designed to be the final delivery format, not the working one. You model in Blender or Maya, and you export glTF for the thing that will actually display it — a web page, a game engine, an AR viewer, a product configurator.

That design goal shapes everything about it. Geometry is stored as raw typed arrays laid out exactly as a GPU wants them, so loading is close to a straight memory copy. Materials use a physically based model that renderers agree on. Animation, skinning and cameras are part of the format. The result is a format that loads fast and looks the same everywhere.

What it is emphatically not designed for is manufacturing. There is no notion of watertightness, no millimetre convention, no concept of a solid — and that is the root of most difficulty when a glTF meets a 3D printer.

Structure: buffers, accessors and the scene graph

A glTF file is a JSON document describing layers of indirection:

Reading a glTF correctly means resolving all of that, including walking the node hierarchy and multiplying transforms down the tree. A viewer that ignores node transforms shows every part stacked at the origin — which is why some tools display a model as an exploded jumble. This page walks the graph properly, which is why a chair with legs positioned by node transforms appears as a chair.

The metre problem

This is the single biggest practical issue when printing a glTF.

The glTF specification states that the unit of length is the metre. Everything in the ecosystem follows it: a 1.8-unit humanoid is a 1.8-metre person, and a renderer's physically based lighting assumes metres to get falloff right.

3D printing assumes millimetres. So a glTF model that is perfectly proportioned on screen becomes, in a slicer, one thousand times too small — a person becomes 1.8 mm tall.

The viewer shows dimensions using the format's declared unit and warns about this when you open a GLB. The converter rescales metres to millimetres for you, but only trust that once you have confirmed that the file really was authored in metres, because plenty of glTF exports from CAD pipelines are in millimetres already and scaling those wrecks them — for such files choose "Keep numbers as they are".

A quick sanity check

Look at the dimensions panel and ask what the object is in real life. A coffee mug reading 0.09 × 0.12 × 0.1 is metres. The same mug reading 90 × 120 × 100 is millimetres. There is no flag in the file that tells you — only the numbers and your judgement.

Why a GLB often is not printable as-is

Beyond scale, models built for rendering routinely break assumptions that slicers rely on:

The viewer will show you the first three straight away — rotate the model and look for holes and paper-thin parts. The fourth is invisible here, and is worth remembering when a beautifully detailed asset prints as a featureless blob.

Draco compression

Draco squeezes glTF geometry to a fraction of its size, which is why so many web-delivered models use it. Decoding requires a dedicated WebAssembly decoder of about a megabyte.

This page does not load one, on purpose: the whole site is built to run without pulling third-party code at runtime, and a viewer that silently downloads a megabyte to open some files but not others is a worse tool than one that says plainly what it cannot do. If you hit this, re-export with Draco off — every exporter that offers it also offers turning it off.

Converting GLB to a printable format

Conversion happens in the 3D model converter: press Convert this file beside the viewer and the file you have open is carried across, ready to download in any of eight formats, STEP included — with unit and orientation fixes if it needs them.

In every case materials, textures, animation and cameras are discarded — none of the target formats can hold them. What survives is the geometry, transformed into place.

Why nothing is uploaded

Every other viewer you will find asks you to upload the file to a server, which renders it and sends back a picture. That means your model sits on someone else's disk, subject to their retention policy, their security and their terms.

This page does not work that way. The file is read by the browser FileReader API, parsed by JavaScript in your tab, and drawn with WebGL on your own graphics card. No request carrying your data is ever made — you can confirm this by opening your browser developer tools, switching to the network tab, and watching nothing happen when you open a file.

That is worth something if you work on anything confidential: client parts, unreleased products, prototypes under NDA. It also means the page keeps working with your network disconnected.

Frequently asked questions

What is the difference between GLB and glTF?

They are the same format in two packagings. A .gltf is JSON text that references separate binary and image files. A .glb packs that JSON, the binary buffer and the textures into one file. GLB is almost always what you want, because a .gltf without its companion files is incomplete.

Why does my .gltf fail to open here but the .glb works?

Because the .gltf refers to a separate .bin file that you did not give the browser. Nothing on this page can reach files on your disk that you have not opened. Either use the .glb version, or re-export as GLB. A .gltf with its buffer embedded as a base64 data URI does open here.

Can I convert a GLB to STL for 3D printing?

Yes — press Convert this file and choose STL, but check the scale. glTF measures in metres by convention while slicers assume millimetres, so a model that is correct on screen arrives a thousand times too small unless it is rescaled; the converter does that automatically when Source units is left on Auto. Also expect textures and materials to be discarded — STL cannot store them.

Why does my GLB say Draco compression is not supported?

Draco is a mesh compression scheme that shrinks glTF files dramatically. Decoding it requires a separate WebAssembly decoder that this page deliberately does not load, to keep it small and offline. Re-export the file with Draco disabled and it will open.

Does this show textures?

No, and that is intentional. This is a geometry inspector, so it shows meshes, structure, dimensions and base colour factors. Textured preview is a different job from checking whether a mesh is printable.

Why does one GLB show as many separate meshes?

glTF has a full scene graph: nodes with transforms, arranged in a hierarchy, each able to reference a mesh with several primitives. A single visible object can legitimately be a dozen primitives. This viewer walks the hierarchy, applies every transform, and reports what it found.

Need to make a model rather than open one? LyraMaker has more than a hundred free browser generators — name keychains, plates, monograms, rulers, QR codes and more, all exporting STL and 3MF.
Browse the generators →