Skip to content

Quark Express document (.qxd)

.qxd file signature | application/vnd.Quark.QuarkXPress

QuarkXPress document (QXD) is a page layout file format developed and maintained by Quark for the QuarkXPress desktop publishing application. It is used to store magazine, newspaper, brochure, and other print-layout documents, including text, images, style information, and page structure. The format is a legacy format associated with older QuarkXPress versions; files are generally safe, though compatibility may vary across releases and operating systems.

Safe

Magic Bytes

Offset 0
00 00 49 49 58 50 52

Sources: Wikipedia, Gary Kessler

All Known Signatures

3 signature variants are documented for .qxd files across multiple sources.

Hex Signature Offset Sources
00 00 49 49 58 50 52 0 Wikipedia, Gary Kessler
00 00 4D 4D 58 50 52 0 Wikipedia, Gary Kessler
00 00 1A 00 05 10 04 0 Gary Kessler

Extension

.qxd

MIME Type

application/vnd.Quark.QuarkXPress

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])
    with open(file_path, "rb") as f:
        return f.read(7) == 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]);
  return buffer.subarray(0, 7).equals(signature);
}

How to validate .qxd files in Go

Go
func IsQXD(data []byte) bool {
    signature := []byte{0x00, 0x00, 0x49, 0x49, 0x58, 0x50, 0x52}
    if len(data) < 7 {
        return false
    }
    return bytes.Equal(data[:7], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .qxd file?

A .qxd file is a Quark Express document file. QuarkXPress document (QXD) is a page layout file format developed and maintained by Quark for the QuarkXPress desktop publishing application. It is used to store magazine, newspaper, brochure, and other print-layout documents, including text, images, style information, and page structure. The format is a legacy format associated with older QuarkXPress versions; files are generally safe, though compatibility may vary across releases and operating systems.

What are the magic bytes for .qxd files?

The magic bytes for Quark Express document files are 00 00 49 49 58 50 52 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .qxd file?

To validate a .qxd file, read the first bytes of the file and compare them against the known magic bytes (00 00 49 49 58 50 52) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .qxd files?

The primary MIME type for .qxd files is application/vnd.Quark.QuarkXPress.

Is it safe to open .qxd files?

Quark Express document (.qxd) files are generally safe to open. They are classified as low risk because they primarily contain data rather than executable code. However, always ensure files come from a trusted source.