Skip to content
AR, VR & 3D

GLB vs USDZ: Preparing 3D Models for Websites and AR (Step by Step)

GLB vs USDZ explained: which devices use each, how to export and optimise 3D models, real-world scale, and how to show them on a website with AR on any phone.

ParvesFounder and Creative DirectorUpdated 5 min read
GLB vs USDZ: Preparing 3D Models for Websites and AR (Step by Step)

Quick answer

GLB is the compact, single-file version of the glTF format and is used for 3D on the web, Android's Scene Viewer and WebXR. USDZ is Apple's format for AR Quick Look on iPhone and iPad. To show a product in 3D and AR on every phone, prepare an optimised GLB at real-world scale, create a matching USDZ, and display them with a web component such as Google's model-viewer.

3D product views and "view in your room" buttons are becoming common on product pages, from furniture to sneakers. Behind them are two file formats that confuse almost everyone: GLB and USDZ. Understanding GLB vs USDZ, and how to prepare both, is the difference between a 3D viewer that loads instantly and works on every phone, and one that frustrates customers.

This is a practical guide for brands, developers and 3D artists.

GLB and USDZ at a glance

GLB USDZ
What it is Binary, single-file version of glTF 2.0, an open standard from the Khronos Group Apple's packaged version of Pixar's Universal Scene Description
Where it works Web browsers, Android Scene Viewer, WebXR, most 3D tools AR Quick Look on iPhone and iPad, Apple's apps
Typical use 3D viewer on product pages; AR on Android "View in AR" on Apple devices
Contains Geometry, materials, textures, animations in one file Geometry, materials, textures, animations in one package

The practical rule: you need both for a product page that works with AR on Android and Apple devices.

How AR works on each platform

  • Android: the AR button opens Google's Scene Viewer, or uses WebXR in Chrome, on devices that support ARCore. It uses the GLB.
  • iPhone and iPad: the AR button opens AR Quick Look, which needs a USDZ file. Apple's AR Quick Look gallery shows examples and specifications.
  • Desktop: the 3D model can be rotated and zoomed in the browser; AR is not available.

Step 1: Model at real-world scale

AR places the product at its actual size in the customer's room, so scale must be right:

  • Work in metres in your 3D software.
  • Set the product's base on the ground plane and its origin at the bottom centre.
  • Check a known dimension, such as a sofa's width, before export.

A sofa that appears doll-sized in someone's living room destroys trust instantly.

Step 2: Optimise the model

Web and AR models must be light enough to load quickly on a mid-range phone.

  • Polygons: reduce detail that cannot be seen. Use normal maps to fake fine surface detail.
  • Textures: usually 1,024 or 2,048 pixels per side is enough. Avoid 4K and 8K textures for web.
  • Materials: use physically based materials (base colour, metallic, roughness, normal), which both formats support.
  • Compression: compress geometry with Draco or Meshopt and textures with KTX2 where your viewer supports them.
  • Combine small parts and materials where possible to reduce draw calls.

Tools such as Blender's glTF exporter and the command-line utility glTF Transform help clean up and compress files.

Step 3: Export the GLB

From Blender, export as glTF 2.0 and choose the GLB (binary) format. Check:

  • Textures embedded
  • Correct orientation (Y-up for glTF)
  • Animations included only if needed
  • File size reasonable

Open the file in an online glTF viewer to confirm it looks right before moving on.

Step 4: Create the USDZ

Options:

  • Apple Reality Converter (on a Mac): import the GLB, check materials and export USDZ.
  • Blender's USD export, followed by packaging to USDZ.
  • Automatic generation: some web viewers can create a USDZ from the GLB on the fly. Handy for testing, but a checked USDZ is more reliable for products.

Then open the USDZ on a real iPhone (AirDrop it to yourself) and check scale, colours, shine and orientation in AR Quick Look. Quick Look adds its own ground shadow, so do not bake a floor or shadow into the model.

Step 5: Show it on your website

A popular open-source option is Google's model-viewer web component, documented at modelviewer.dev. A basic setup looks like this:

<script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/VERSION/model-viewer.min.js"></script>

<model-viewer
  src="/models/armchair.glb"
  ios-src="/models/armchair.usdz"
  alt="Grey fabric armchair with oak legs"
  ar
  ar-modes="webxr scene-viewer quick-look"
  camera-controls
  poster="/models/armchair-poster.webp"
  loading="lazy">
</model-viewer>

Replace VERSION with a specific, tested version. The poster image shows while the model loads, and alt describes it for screen readers.

On Shopify, product media can include 3D models, and many themes show them with an AR option on supported phones.

Step 6: Test on real devices

Check Devices
Loads quickly on mobile data A mid-range Android phone
AR opens and places correctly Android with ARCore support
Quick Look opens with correct scale and materials iPhone or iPad
Rotation and zoom feel smooth Desktop and mobile browsers
Page speed is still acceptable PageSpeed Insights, with the viewer lazy loaded

Common problems and fixes

Problem Likely cause Fix
Model appears tiny or huge in AR Wrong units or scale Model in metres; check a known dimension
Model is lying on its side Axis orientation Export with the correct up axis
Looks dark or too shiny on iPhone Material differences after conversion Adjust roughness and metallic values; retest in Quick Look
Very slow to load Large textures, no compression Reduce textures, compress geometry and textures
AR button missing Unsupported device or missing USDZ Provide ios-src; test on supported devices

A preparation checklist for each product model

  1. Modelled in metres, base on the ground, origin at the bottom centre
  2. Polygon count reduced, fine detail moved into normal maps
  3. Textures at 1,024 or 2,048 pixels, physically based materials
  4. GLB exported (glTF 2.0, binary, textures embedded) and compressed
  5. USDZ created and checked in AR Quick Look on a real iPhone
  6. Poster image created for the loading state
  7. Alt text written for the viewer
  8. Tested on a mid-range Android phone over mobile data
  9. Page speed checked with the viewer lazy loaded
  10. Files named clearly with the product name and version

Where these models are useful

The same optimised models can power product page viewers, AR, configurators and even renders for ads. Read our guides to augmented reality for e-commerce, 3D product configurators and WebAR for brands.

If you would like product models created, optimised and set up for web and AR, our AR and VR development and 3D rendering and animation teams handle the full pipeline.

Work with us

AR / VR Development from The Coral Flow

Get a free AR idea session. Tell us about your product or space. We send back three immersive ideas tailored to your goals.

Send me ideas

Frequently asked questions

Which format should I use for 3D on my website?

GLB for the web viewer and Android AR, plus USDZ for iPhone and iPad AR Quick Look. Providing both covers almost all phones.

How big should a GLB file be?

As small as possible while still looking good. For product pages, aim for a few megabytes at most, using compressed meshes and textures of around 1,024 to 2,048 pixels.

Can I convert GLB to USDZ?

Yes. Apple's Reality Converter, Blender and other tools can convert, and some web viewers can generate a USDZ automatically. Always check scale, materials and orientation in Quick Look on a real iPhone afterwards.

What is model-viewer?

An open-source web component from Google that displays 3D models on web pages with rotation, zoom and AR buttons. It uses GLB, and a USDZ for iOS AR Quick Look.

Written by

Parves, Founder and Creative Director

Leads strategy and creative direction at The Coral Flow in Chennai, across web, search and content for brands in India and abroad.

About the author

Share this guide

Let's talk

Want us to do this for you?

Tell us what you are working on. We reply within one working day with honest advice and next steps.