ImageBinary
image/vnd.dwg
AutoCAD Drawing
Reference for image/vnd.dwg, the MIME type for AutoCAD DWG drawing files used in architecture and engineering.
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: .dwg
HTTP Content-Type Header
HTTP Header
Content-Type: image/vnd.dwgAssociated File Extensions
.dwg
Quick Facts
| MIME Type | image/vnd.dwg |
| Category | Image |
| Type | Binary |
| Extensions | .dwg |
Common Usage
DWG is the native file format for AutoCAD and the de facto standard for 2D and 3D CAD drawings. It is used extensively in architecture, civil engineering, mechanical engineering, and construction for blueprints, floor plans, and technical drawings.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.dwg" type="image/vnd.dwg">
<!-- Or for script/media elements -->
<script type="image/vnd.dwg" src="file.dwg"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/vnd.dwg');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/vnd.dwg' });nginx
# nginx.conf — add to types block or use default
types {
image/vnd.dwg dwg;
}
# Or set for a specific location
location /api/ {
default_type image/vnd.dwg;
}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.