What Is a GLB File? A Plain Guide for Online Stores

3D render of a packing tape gun dispenser

If you have looked into 3D or augmented reality for your products, you have probably been asked for a “GLB file”. Here is what that means in plain terms.

GLB in one sentence

A GLB file is a single file that contains a complete 3D model — its shape, materials and textures — in a format that web browsers and phones can display directly. It is the binary version of glTF, an open standard that is often described as the JPEG of 3D.

Where GLB files are used

  • Amazon. 3D models power the “View in 3D” and “View in Your Room” features on product pages.
  • Shopify and WooCommerce. A GLB can be added to the product gallery next to your photos, so shoppers can rotate and zoom.
  • Augmented reality. Android devices open GLB models in AR. iPhones use a sister format called USDZ, which is normally exported from the same model.
  • Product configurators. An interactive viewer that lets customers change colours, materials or parts is built on a GLB model.

Why a render model is not a web model

The 3D model used for a photorealistic render can contain millions of polygons and very large textures. That is fine for a still image but far too heavy for a web page.

A web-ready GLB is prepared differently:

  • the geometry is simplified where the eye will not notice;
  • materials use the PBR standard, so metal, plastic and glass react to light correctly in real time;
  • textures are resized and compressed;
  • the model is set to real-world scale, which matters for AR.

Done well, this brings a model down from several megabytes to a few hundred kilobytes while it still looks like the product. The models in the 3D configurator demo on this site were each reduced by roughly 70% or more in this way.

What to ask for when you order one

Ask for a GLB and a USDZ together, confirm the model is at real-world scale, and say where it will be used, because Amazon and your own store have different requirements. If you sell variants, ask for them to be set up as selectable options rather than separate files.

Getting started

GLB, glTF and USDZ compared

  • glTF is the open standard. It can be several files: a text file describing the scene plus separate textures.
  • GLB is the same standard packed into one binary file, which is easier to upload and share.
  • USDZ is the format iPhones and iPads use for AR Quick Look. It is usually exported from the same source model as the GLB.

For an online store, the practical rule is to ask for GLB and USDZ together.

How small should a GLB be?

There is no single limit, but smaller is always better on mobile data. As a guide, a single product that looks good on a phone can usually be delivered between a few hundred kilobytes and two megabytes. Three techniques do most of the work: simplifying geometry, compressing it with Draco, and resizing and compressing textures.

Quick answers

Can a GLB be animated? Yes. Opening lids, rotating parts and exploded views can be stored in the file.

Can one file hold several colours? Yes, through material variants, which the viewer can switch between.

Do we need special software to view one? No. Modern browsers display GLB with a small viewer script, and Windows and macOS can preview the files directly.

If your product has already been modelled for renders, converting it to GLB is quick. If not, it can be built from photos and dimensions. Details and examples are on the GLB models and configurator page.

Have a product that needs better visuals?

Send your product link or a few photos. You will get a clear quote and timeline, usually within 24 hours.