ImageBinary
image/ktx2
KTX2 Texture
Reference for image/ktx2, the MIME type for KTX2 GPU texture container format used in 3D graphics and game engines.
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: .ktx2
HTTP Content-Type Header
HTTP Header
Content-Type: image/ktx2Associated File Extensions
.ktx2
Quick Facts
| MIME Type | image/ktx2 |
| Category | Image |
| Type | Binary |
| Extensions | .ktx2 |
Common Usage
KTX2 is a container format for GPU textures supporting Basis Universal compression, which can transcode to any GPU-native format (BC, ETC, ASTC). Used in WebGL, WebGPU, game engines, and 3D applications for efficient texture streaming and cross-platform GPU compatibility.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.ktx2" type="image/ktx2">
<!-- Or for script/media elements -->
<script type="image/ktx2" src="file.ktx2"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/ktx2');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/ktx2' });nginx
# nginx.conf — add to types block or use default
types {
image/ktx2 ktx2;
}
# Or set for a specific location
location /api/ {
default_type image/ktx2;
}Related MIME Types
More Image MIME Types
Other image types in the Image family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.