Quark Express document

application/octet-stream

Safe

Magic Bytes

Offset: 0
00 00 49 49 58 50 52 00 00 4D 4D 58 50 52

The QuarkXPress Document (QXD) is a proprietary desktop publishing file format developed and maintained by Quark Inc. It is primarily used for creating complex page layouts for print and digital media, including newspapers, magazines, brochures, and catalogs. While largely superseded by the XML-based QXP format in later versions, QXD remains relevant for archiving legacy layout data and presents a low security risk as a non-executable binary format used in older publishing workflows.

Extension

.qxd

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .qxd files in Python

Python
def is_qxd(file_path: str) -> bool:
    """Check if file is a valid QXD by magic bytes."""
    signature = bytes([0x00, 0x00, 0x49, 0x49, 0x58, 0x50, 0x52, 0x00, 0x00, 0x4D, 0x4D, 0x58, 0x50, 0x52])
    with open(file_path, "rb") as f:
        return f.read(14) == signature

How to validate .qxd files in Node.js

Node.js
function isQXD(buffer: Buffer): boolean {
  const signature = Buffer.from([0x00, 0x00, 0x49, 0x49, 0x58, 0x50, 0x52, 0x00, 0x00, 0x4D, 0x4D, 0x58, 0x50, 0x52]);
  return buffer.subarray(0, 14).equals(signature);
}
Go
func IsQXD(data []byte) bool {
    signature := []byte{0x00, 0x00, 0x49, 0x49, 0x58, 0x50, 0x52, 0x00, 0x00, 0x4D, 0x4D, 0x58, 0x50, 0x52}
    if len(data) < 14 {
        return false
    }
    return bytes.Equal(data[:14], signature)
}

API Endpoint

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

Related Formats