ModelBinary

model/gltf-binary

glTF Binary (GLB)

Reference for model/gltf-binary, the MIME type for binary glTF 3D models packaging everything in a single file.

MIME Type Detector

Drop a file to detect its MIME type — no upload, runs in your browser

📄

Drop any file here or click to choose

Expected extensions: .glb

HTTP Content-Type Header

HTTP Header
Content-Type: model/gltf-binary

Associated File Extensions

.glb

Quick Facts

MIME Typemodel/gltf-binary
CategoryModel
TypeBinary
Extensions.glb

Common Usage

GLB is the binary version of glTF, packaging the JSON scene description, binary geometry data, and textures into a single file. It is preferred for web delivery due to its single-request loading.

Used in AR Quick Look, Google Search 3D, e-commerce product views, and WebXR.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.glb" type="model/gltf-binary">

<!-- Or for script/media elements -->
<script type="model/gltf-binary" src="file.glb"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('model/gltf-binary');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'model/gltf-binary' });
nginx
# nginx.conf — add to types block or use default
types {
    model/gltf-binary  glb;
}

# Or set for a specific location
location /api/ {
    default_type model/gltf-binary;
}

Related MIME Types

More Model MIME Types

Other model types in the Model family

Related Tools

Explore More MIME Types

Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.