ZOO compressed archive

application/x-zoo

Safe

Magic Bytes

Offset: 20
FD C4 A7 DC

The ZOO compressed archive is a legacy file format developed by Rahul Dhesi in the late 1980s for data compression and archiving. Originally popular on Unix and early MS-DOS systems, it was primarily utilized for distributing software and managing long-term storage of multiple files within a single container. While largely superseded by modern formats like ZIP and RAR, the format included technical features such as file versioning and embedded comment fields.

Extension

.zoo

MIME Type

application/x-zoo

Byte Offset

20

Risk Level

Safe

Validation Code

How to validate .zoo files in Python

Python
def is_zoo(file_path: str) -> bool:
    """
    Check if file is a valid ZOO by magic bytes.
    Signature offset: 20 bytes
    """
    signature = bytes([0xFD, 0xC4, 0xA7, 0xDC])
    with open(file_path, "rb") as f:
        f.seek(20)
        return f.read(4) == signature

How to validate .zoo files in Node.js

Node.js
function isZOO(buffer: Buffer): boolean {
  // Signature offset: 20 bytes
  const signature = Buffer.from([0xFD, 0xC4, 0xA7, 0xDC]);
  if (buffer.length < 24) return false;
  return buffer.subarray(20, 24).equals(signature);
}
Go
func IsZOO(data []byte) bool {
    // Signature offset: 20 bytes
    signature := []byte{0xFD, 0xC4, 0xA7, 0xDC}
    if len(data) < 24 {
        return false
    }
    return bytes.Equal(data[20:24], signature)
}

API Endpoint

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

Related Formats