ModelText-based
model/gltf+json
glTF (JSON)
Reference for model/gltf+json, the MIME type for glTF 3D model files in JSON format, the JPEG of 3D.
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: .gltf
HTTP Content-Type Header
HTTP Header
Content-Type: model/gltf+json; charset=utf-8Associated File Extensions
.gltf
Quick Facts
| MIME Type | model/gltf+json |
| Category | Model |
| Type | Text-based (human-readable) |
| Extensions | .gltf |
Common Usage
glTF (GL Transmission Format) is the standard format for 3D models on the web and in real-time applications. The JSON variant contains scene structure, materials, animations, and references to external binary buffers and textures.
Used by Three.js, Babylon.js, AR/VR apps, and game engines.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.gltf" type="model/gltf+json">
<!-- Or for script/media elements -->
<script type="model/gltf+json" src="file.gltf"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('model/gltf+json');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'model/gltf+json' });nginx
# nginx.conf — add to types block or use default
types {
model/gltf+json gltf;
}
# Or set for a specific location
location /api/ {
default_type model/gltf+json;
}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.