glTF and GLB: 3D for Web, AR and the Metaverse
Spun a sneaker on a product page, placed a sofa in your room through the phone camera, saw a 3D model right inside Google search? Behind almost all of it stands one format — glTF (or its binary twin, GLB). Let's unpack why it became the "JPEG of 3D" and took over the web, augmented reality and the metaverse.
What glTF is in plain English
glTF stands for GL Transmission Format — the "transmission format for GL." It was created by the Khronos Group (the same people behind OpenGL and Vulkan) for one job: to quickly deliver 3D models to wherever they'll be shown in real time — the browser, an app, or augmented-reality glasses.
Its creators summed up the format's role in one phrase: the "JPEG of 3D." Just as JPEG became the lightweight, universal way to show an image, glTF became the lightweight, render-ready way to show a 3D scene. It isn't meant for heavy editing — it's a delivery format, the "last mile" to the screen. In 2022 the format's maturity was made official: glTF 2.0 was adopted as the ISO/IEC 12113 international standard.
In short
glTF is an open, compact format for showing 3D in real time. It stores geometry, PBR materials and animation in a form close to what the graphics card expects, so it opens almost instantly and looks the same everywhere.
glTF vs GLB: two faces
Here beginners hit their first fork: .gltf and .glb are not different formats but two wrappers of the same thing. Let's break down the difference, because it matters in practice.
.gltf is a text file in JSON format. It describes the structure of the scene (which objects, where, with which materials), but the "heavy" data — geometry and textures — is often placed in separate files: a .bin buffer and image files. In other words, glTF frequently "travels" as a bundle of several files.
.glb is the binary version, where everything is glued into one file: the JSON description, the geometry and the textures are all baked in. For the web, sharing and AR this is almost always more convenient: a single file is easier to load, won't lose its textures along the way, and makes fewer requests to the server.
| Property | glTF (.gltf) | GLB (.glb) |
|---|---|---|
| Type | Text (JSON) | Binary |
| Files | Often several | One |
| Hand-editable | Yes | No |
| Delivery convenience | Medium | High |
| More common in | Development | Web, AR, sharing |
PBR materials: why it looks premium
glTF's main visual trick is built-in support for PBR (physically based rendering). Instead of just setting "the object's color," PBR describes a surface with a set of understandable parameters: base color (albedo), metalness, roughness, a normal map, emission and more.
What does that give you in practice? The material starts behaving like the real thing: metal glints like metal, matte plastic scatters light like plastic, and all of it under any scene lighting. So the same GLB file looks equally realistic on a website, in a game engine and in AR. Unlike old OBJ with its Phong shading, glTF speaks the modern language of materials.
3D in the browser: three.js and model-viewer
glTF took off on the web precisely because every major WebGL engine added native support for it. If you're a developer, you have two levels of simplicity.
The simplest path is Google's <model-viewer> web component. You include one script, add a tag with the address of your .glb, and get a ready interactive model: it spins with the mouse, lights itself and even offers a "view in AR" button. Zero lines of graphics code.
For flexibility, developers reach for full libraries: three.js (the most popular), Babylon.js or PlayCanvas. All of them read glTF/GLB out of the box and let you build complex interactive scenes — product configurators, games, visualizations.
AR: trying things on through the camera
Augmented reality is glTF's second home. When you tap "view in your room" in an online store and a sofa or sneaker appears on your real floor through the phone screen, here's how it works:
- On Android, a GLB model launches straight from the browser via the system Scene Viewer — no conversion needed.
- On iPhone, Apple's native AR Quick Look expects its own format — USDZ. So for iPhones the same model is additionally converted from GLB to USDZ.
The good news: that same <model-viewer> can pick up both versions automatically — you point it at both a GLB and a USDZ, and the component chooses the right one per platform. This exact combo powers the 3D models in Google search that you can "place" in your room straight from the results.
The metaverse and digital twins
Openness and lightness made glTF a natural "building block" for metaverses and virtual spaces. Avatars, objects and whole scenes are moved between platforms in this very format, because it isn't tied to one vendor and is equally readable by different engines.
The same logic works in industry and e-commerce: product "digital twins," interactive furniture and appliance catalogs, educational 3D models — all of it is best delivered as GLB, because it opens on any device without installing heavy apps.
Draco and compactness
Even while lightweight, glTF can get lighter still. For that there's the Draco extension — a geometry-compression algorithm from Google that shrinks vertices and faces several times over. On top of that, modern textures inside a GLB can be stored in GPU-friendly compressed formats (KTX2/Basis) to save both bandwidth and video memory.
The result: a scene that looks heavy, with realistic materials, can weigh just a few megabytes and open on a phone in a couple of seconds. It's exactly this combination — openness, PBR and aggressive compactness — that explains why glTF became the 3D standard for the web and AR in just a few years.
Prepping assets for a 3D project?
Images, icons and preview textures are easy to convert on FormatZ — right in your browser, fast and with no install. Take a look at the format catalog.
Open all formatsWant to see where glTF fits versus the others? Start with our overview of OBJ, FBX, STL and glTF. And to simply open someone else's GLB on your computer, our guide on how to open 3D models will help.
Frequently asked questions about glTF and GLB
Read next
3DOBJ vs FBX vs STL vs glTF: Which 3D Format to Choose
Where glTF fits and where the others do — a task-by-task comparison.
3DHow to Open 3D Models: OBJ, FBX, STL
Free viewers and online tools, GLB included.
3D3D Formats for Games: FBX, OBJ and Textures
How models and textures make it into Unity and Unreal.