DXB

image/vnd.dxb

Safe

Magic Bytes

Offset: 0
41 75 74 6F 43 41 44 20 44 58 42 20 31 2E 30 0D 0A 30 78 31 41 30 30

Drawing Interchange Binary (DXB) is a specialized binary vector file format developed and maintained by Autodesk for its AutoCAD software. This format is primarily used to compress drawing data or to flatten complex three-dimensional wireframe models into simplified two-dimensional projections for plotting and data transfer. As a legacy format largely superseded by modern standards, it contains basic geometric primitives and presents minimal security risk compared to formats capable of executing scripts or macros.

Extension

.dxb

MIME Type

image/vnd.dxb

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .dxb files in Python

Python
def is_dxb(file_path: str) -> bool:
    """Check if file is a valid DXB by magic bytes."""
    signature = bytes([0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30])
    with open(file_path, "rb") as f:
        return f.read(23) == signature

How to validate .dxb files in Node.js

Node.js
function isDXB(buffer: Buffer): boolean {
  const signature = Buffer.from([0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30]);
  return buffer.subarray(0, 23).equals(signature);
}
Go
func IsDXB(data []byte) bool {
    signature := []byte{0x41, 0x75, 0x74, 0x6F, 0x43, 0x41, 0x44, 0x20, 0x44, 0x58, 0x42, 0x20, 0x31, 0x2E, 0x30, 0x0D, 0x0A, 0x30, 0x78, 0x31, 0x41, 0x30, 0x30}
    if len(data) < 23 {
        return false
    }
    return bytes.Equal(data[:23], signature)
}

API Endpoint

GET /api/v1/dxb
curl https://filesignature.org/api/v1/dxb

Related Formats