# GLB and glTF viewer

> Textures, materials and every mesh, plus real distances in metres, the overall size and section cuts.

Human page: https://unmakelabs.com/en-us/glb-viewer/. This is the version for AI agents.

## What it does

GLB viewer with measuring: open a GLB file and measure it Textures, materials and every mesh, plus real distances in metres, the overall size and section cuts.

## What GLB and glTF are

glTF is the Khronos Group's open format for delivering 3D models to screens, often called the JPEG of 3D. A .gltf file is text that points to a .bin file and texture images; a .glb packs all of it into one binary file. It holds meshes, physically based materials, textures, a scene hierarchy and animations, and its unit is always the metre.

## Who uses it

Web and AR developers (Babylon.js, model-viewer, Android Scene Viewer and other web 3D tools), 3D artists exporting from Blender, online shops showing products in 3D, and photogrammetry apps. Sketchfab and most 3D marketplaces offer GLB downloads.

## Facts

- **Extensions:** .glb (binary), .gltf (+ .bin and textures)
- **Standard:** glTF 2.0, Khronos Group
- **Units:** Metres, Y axis up
- **Compression:** Draco and meshopt both open here

## How a person does it

1. **Drop the .glb file.** For a .gltf, drop the .gltf, its .bin and the texture images together so they are found.
2. **Measure in metres.** Click Measure, then two points. glTF is always in metres, so distances are real-world sizes; the Model panel shows the overall width, depth and height.
3. **Check the meshes.** The parts list shows every node and mesh by name. Hide parts, cut a section, or download the model as STL for printing or OBJ for older software.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/glb-viewer/?src=https://example.com/part.step`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#v=px,py,pz,tx,ty,tz&up=z&u=mm&sec=z,0.5,0`.

Embed: `<iframe src="https://unmakelabs.com/embed/3d/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: format, unit, bounding box (x, y, z), volume and surface area for closed meshes, watertight flag, part tree with names, triangle and part counts, plus PNG views (front, top, side, 3D). Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/prusa3d/PrusaSlicer/version_2.8.1/resources/shapes/cylinder.stl"}'
```

## Good to know

Animations, skins and morph targets are shown in their resting pose. Converting to STL keeps only the triangles; OBJ keeps the shape and UVs but simple materials. Volume is shown only for closed meshes, which many game and web models are not.

## Not done by this tool

- Doesn't play animations
- Doesn't show KTX2/Basis compressed textures yet
- Doesn't edit or optimise the file
- A .gltf whose .bin or textures weren't dropped with it opens without them

## Value

Opens STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX and PLY files in any browser without installing anything, shows size, units, volume and parts, measures and cuts the model, and converts to STL, GLB or OBJ; it also gives the weight and 3D-print cost of a closed model (11 cited material densities, infill and walls, filament length, rough print time) and turns a photo into a watertight lithophane or relief STL, with an optional AI depth map.

## When it fits

- A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it.
- A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web).
- A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file.
- A user wants a lithophane, a relief STL or a depth map from a photo.

### When not

- Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/).
- Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a file from a public link in any browser (?src=), with measurements shown next to the model.
- POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect (live, no key) returns the same measurements as JSON plus PNG views (front, top, side, iso).
- Desktop CAD viewers need an install and often an account.
- This viewer opens files with no install and no account, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Combine readers for eight 3D formats, including exact CAD geometry for STEP/IGES, and handle units and up-axis per format.
- Write watertight checks, volume and area code, section planes, point-to-point measuring and exporters.
- Keep it working across browsers and phones.
- A set of real sample files per format to test against, and upkeep as formats, browsers and phones change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are not uploaded to Unmake Labs; files given by link are fetched from where they are stored.

_Status: the web viewer works, and POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for public 3D/CAD files (STL, OBJ, PLY, GLB/GLTF, 3MF, STEP, IGES: sizes, units, volume, parts and picture views as data)._

## Privacy

- Files opened in the page are read by the browser on the user's device and never uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its code from third-party hosts (listed on the privacy page), which receive the visitor's IP address for those requests.

## Data

Opens in your browser; your file stays on your device unless you share it. Shared files are kept 30 days.

## FAQ

- **What's the difference between GLB and glTF?** Same format, two packagings. A .gltf is readable JSON with separate .bin and image files; a .glb is the same content in a single binary file, easier to send and upload.
- **Are measurements in metres?** Yes. The glTF standard fixes the unit at one metre, so a distance of 1.8 m is 1.8 m. If a model was exported at the wrong scale, change Units in the Model panel.
- **My textures are missing. Why?** With a .gltf, the images are separate files. Select or drop the .gltf together with its .bin and texture files. A .glb carries its textures inside.
- **Can I convert GLB to STL for 3D printing?** Yes: open it and choose Download, then STL. Check the size and that the mesh is closed first; many web models are thin shells that need thickening before they print.
- **When is it the right tool, and when not?** Right for: A user has a 3D file (STEP, IGES, STL, OBJ, GLB/glTF, 3MF, FBX or PLY) and no program to open it, or needs its size, units, volume, part list or a picture of it. A user needs a conversion to STL, GLB or OBJ (for example STEP to STL for 3D printing, STEP or FBX to GLB for the web). A user needs the weight, filament length or material cost of a 3D print from an STL, 3MF, OBJ or STEP file. A user wants a lithophane, a relief STL or a depth map from a photo. Not for: Native CAD formats (SLDPRT, IPT, CATPart): not opened yet. DXF drawings open in the DXF viewer (unmakelabs.com/en-us/dxf-viewer/), Gaussian splats in the splat viewer (unmakelabs.com/en-us/gaussian-splat-viewer/). Editing, repairing or slicing a model, or reading tolerances (PMI) from STEP AP242.
- **Is it really free?** Yes, with no limit on the number of files (up to 300 MB each). There are no ads, no sign-up and no premium tier for viewing or converting.
- **Do you upload my file?** Only if you share it. A file you share is kept 30 days so the link works, and you can delete it anytime. The section “What happens to your file” has the details.
- **Can my AI agent open 3D files?** Yes. Agents call POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect with a file link or upload (no key) and get the file's size, units, parts, volume and picture views as data. An agent can also open any public file in this viewer with a link: add ?src= and the file's address to this page.
- **Who makes this?** Unmake Labs. Contact: hello@unmakelabs.com.

## Related pages

- [STL weight calculator](https://unmakelabs.com/en-us/stl-weight-calculator/)
- [3D print cost calculator](https://unmakelabs.com/en-us/3d-print-cost-calculator/)
- [3D file viewer](https://unmakelabs.com/en-us/3d-viewer/)
- [STEP file viewer](https://unmakelabs.com/en-us/step-viewer/)
- [STL file viewer](https://unmakelabs.com/en-us/stl-viewer/)
- [OBJ file viewer](https://unmakelabs.com/en-us/obj-viewer/)
- [IGES file viewer](https://unmakelabs.com/en-us/iges-viewer/)
- [3MF file viewer](https://unmakelabs.com/en-us/3mf-viewer/)
- [FBX file viewer](https://unmakelabs.com/en-us/fbx-viewer/)
- [STEP to STL converter](https://unmakelabs.com/en-us/step-to-stl/)
- [STEP to GLB converter](https://unmakelabs.com/en-us/step-to-glb/)
- [OBJ to STL converter](https://unmakelabs.com/en-us/obj-to-stl/)
- [FBX to GLB converter](https://unmakelabs.com/en-us/fbx-to-glb/)
- [STEP weight calculator](https://unmakelabs.com/en-us/step-weight-calculator/)
- [Photo to lithophane STL](https://unmakelabs.com/en-us/image-to-lithophane/)
- [Image to STL](https://unmakelabs.com/en-us/image-to-stl/)
- [Photo to depth map](https://unmakelabs.com/en-us/photo-to-depth-map/)
- [Depth map for laser engraving](https://unmakelabs.com/en-us/depth-map-for-laser-engraving/)
