May 11, 2026

Updated 11 November 2026

What is a GLB file? How to open and use one

GLB (GL Transmission Format Binary) is the standard format for 3D models on the web. Virtually every 3D program exports to it, every 3D supplier delivers in it, and every webshop tool that supports 3D asks for it. We explain what it is, how to open a GLB file and how to work with it in practice.

A product shown through AR on a phone, rendered from a GLB file

What is a GLB file?

A GLB file is a 3D model in the standard format for 3D on the web. Along with the shape of the model, the file contains the materials, the textures (photos of the surface) and sometimes animations or colour variants. Everything a viewer needs to show the model sits in that single file.

GLB stands for GL Transmission Format Binary. GL is short for Graphics Library, a family of standards for 3D graphics. Behind those standards sits the Khronos Group, an international consortium of technology companies. The same group is responsible for both GLB and WebGL, the technology browsers use to render 3D. Version 2.0 of GLB has been stable since 2017. Virtually every 3D tool and webshop platform supports it.

To see the model you need a viewer: software that draws the GLB file. On your computer that is a free website or program; on your product page it is a viewer built into the page.

How do you open a GLB file?

The quickest way is in your browser. Open the Khronos Group's glTF Sample Viewer and drag your file into the window. You see the model straight away, with its materials and colours, and there is nothing to install.

Want to edit the model? Open it in Blender, free 3D software. In the menu, choose File > Import > glTF 2.0 (.glb/.gltf) and select your file.

To show it on your website, you need a viewer in the page. Our article on putting a 3D model on your website explains how.

Why GLB for your webshop?

Four reasons this format is the choice for e-commerce.

1. It's the language the whole industry speaks. 3D tools like Blender, SketchUp and Autodesk Fusion export to GLB. Marketplaces like Sketchfab deliver in GLB. Shopify's 3D feature and most WordPress plugins use GLB. That makes it easy to switch tools or suppliers without losing your models.

2. Compact and fast. A GLB is binary and that keeps it small. A well-optimised model of a product weighs between 1 and 5 MB. That's comparable in size to a good-quality product photo. And you can't rotate that one 360 degrees.

3. Fits into any modern webshop. Some webshop platforms have 3D support built in. For other webshops, a hosting tool like Virtualdisplay Portal provides an embed code that you paste on your product page. The viewer is handled for you. No plugin for your visitor, no download.

4. AR works on Android and iPhone. You deliver 1 GLB file and your visitors place the product at full size in their own room. How that works is further down.

GLB or another format?

Got a different file from your supplier, such as an FBX, OBJ, STL or a STEP file from CAD? Our article on 3D file formats for your webshop explains each format and how to convert it to GLB. The difference between GLB and glTF, 2 variants of the same standard, is in our article on glTF and GLB.

How do you optimise a GLB file for your webshop?

Not every GLB is equally usable. A model that looks good in a design tool can load slowly or even crash on a phone. Watch these 4 things when a GLB lands on your desk.

Triangles: how much detail your model has

A 3D model is the outside of your product, built from thousands of small triangles, like a mosaic. They are triangles because a triangle is always flat. Think of a stool with 3 legs: it never wobbles, however uneven the floor. A chair with 4 legs can. A square works the same way: lift 1 corner and it folds. A triangle tilts and stays flat.

Staying flat matters. When a surface folds, the computer has to guess where the crease goes: from one corner to the other, or the other way round. One program guesses differently from the next. Then the light falls differently on your product on every phone, and sometimes you see odd edges. A triangle can only lie one way. So your product looks the same everywhere, and the chip in your phone draws the triangles at high speed. Curves are made of triangles too. The smaller they are, the smoother the curve.

Lift 1 corner of a square and it folds into 2 triangles. A triangle tilts and stays flat. That is why a 3D model builds everything from triangles.

More triangles means finer detail and a bigger file. A phone redraws all of them as soon as your visitor turns the model. So stay under 100,000 per model, or turning stutters on an older phone. You see the count in gltf.report (see below).

Textures: the photos on the surface

Textures are photos of the surface: the grain of the wood, the weave of the fabric, the sheen of metal. The bigger those photos, the longer your model takes to load. 4K (4,096 pixels wide) per part sounds great, but makes your file heavy. Pick 1K or 2K (1,024 or 2,048 pixels wide), which is sharp enough for a phone screen. Also ask for KTX2 compression. It makes the photos smaller, and every modern browser reads it.

Compression: a ZIP file for 3D

Draco and Meshopt are 2 ways to pack the shape of your model, like a ZIP file. The viewer unpacks it again in the browser. Your file gets smaller and you see no difference. Ask your supplier for Draco or Meshopt compression. gltf.report shows whether it is there.

Test on a phone, not just on your laptop

What runs smoothly in Blender on a laptop can stutter on an older phone. So open your model on a phone that is a few years old, for example through the share link you get in Portal. Does it turn smoothly when you swipe? Then you are fine. If it stutters, look at the triangles and the textures again.

A free check tool is gltf.report. Drop your GLB in and you see the triangle count, texture sizes and compression at once. Handy for checking a supplier's GLB before you accept it.

Rule of thumb: a GLB for a product page is smaller than 5 MB. The smaller the file, the faster your product appears and the better the chance your visitor keeps looking.

What to ask your 3D supplier for

Having a model made or converted? Put these 8 points in your brief and you get a file that goes straight onto your product page.

Format
GLB (glTF 2.0). Not FBX, OBJ or STEP as the final result.
Triangles
100,000 per model at most. For small products such as jewellery, 30,000 is enough.
Textures
2,048 by 2,048 pixels at most, ideally compressed with KTX2.
Compression
Geometry compressed with Draco or Meshopt.
File size
Under 5 MB per model.
Scale and position
Real size in metres, the product standing on the floor, front facing forward. Otherwise your sofa floats in AR or comes out the size of a house.
Materials
PBR materials (physically based rendering). They mimic how light falls on wood, fabric and metal, so your product looks the same in every viewer.
Variants
Colours, fabrics and parts in 1 file, with a clear name per variant. That lets a configurator switch between them without loading a new model.

How does AR work from 1 GLB file?

On an Android phone, the browser opens a GLB straight in AR. Your visitor taps the AR button and places the product at full size in the room.

On iPhone and iPad, Apple uses AR Quick Look, which only reads USDZ, Apple's own 3D format. You do not need a second file for that: a good viewer converts your GLB itself. Portal does this automatically.

The scale in your file decides how big the product stands in the room. A 2.4 metre sofa saved as 24 metres fits nowhere. That is why scale is on the checklist above.

How do you put a GLB file on your webshop?

Your GLB is ready and loads fast. Now you want your visitors to see it on your product page. For that you need a viewer: software that opens the file, shows it on a laptop and a phone, and handles the AR button.

With Virtualdisplay Portal you have that set up in a few minutes. Portal stores your GLB on a fast server, handles the viewer and automatically makes a USDZ version for AR on iPhone. It takes 3 steps, and we have written them out.

  1. Create an account at portal.virtualdisplay.io. Your first model is free.
  2. Upload your GLB through the upload button. Portal stores it and gives you an embed code and a shareable link immediately.
  3. Paste the embed code into your product page. 1 line of code, done. You can also share the link through WhatsApp, email or social media.

What if you don't have a GLB file yet?

There are 3 ways to get one.

Ask your 3D supplier for a GLB export. Virtually every modern 3D program can export to GLB, whether you work in Blender, SketchUp or Autodesk Fusion. If the supplier delivers in another format such as FBX, OBJ or GLTF, conversion is rarely a problem.

Try an AI tool for a first experiment. With Microsoft Copilot 3D you turn a product photo into a 3D model in a few minutes. With Claude in Blender or SketchUp you build models through a chat. Both free to try, although the quality isn't always webshop-ready.

Commission a professional model. For your real product pages you usually want a photorealistic result that fits your brand. We build 3D models from your product photos or technical drawings, optimised for web and AR. Get in touch if you'd like to know what we can do for your products.

Ready to put your first 3D model online?

Upload your GLB in Portal and get an embed code for your product page within minutes. Your first model is free.