ZoneAlam data file (.zap)
.zap file signature | application/octet-stream
ZoneAlam data file (ZAP) is a proprietary data file format developed and maintained by ZoneAlam for storing application-specific data. It is used by ZoneAlam software for configuration, records, and other internal data associated with its workflows. The format is generally considered safe; however, as with any application data file, it should be opened only with trusted software, and older files may reflect legacy implementation details.
Magic Bytes
Offset 0
4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF
Sources: Gary Kessler
Extension
.zap
MIME Type
application/octet-stream
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .zap files in Python
def is_zap(file_path: str) -> bool:
"""Check if file is a valid ZAP by magic bytes."""
signature = bytes([0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF])
with open(file_path, "rb") as f:
return f.read(14) == signature
How to validate .zap files in Node.js
function isZAP(buffer: Buffer): boolean {
const signature = Buffer.from([0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF]);
return buffer.subarray(0, 14).equals(signature);
}
How to validate .zap files in Go
func IsZAP(data []byte) bool {
signature := []byte{0x4D, 0x5A, 0x90, 0x00, 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0xFF, 0xFF}
if len(data) < 14 {
return false
}
return bytes.Equal(data[:14], signature)
}
API Endpoint
/api/v1/zap
curl https://filesignature.org/api/v1/zap
See the full API documentation for all endpoints and parameters.
Related Formats
Frequently Asked Questions
What is a .zap file?
A .zap file is a ZoneAlam data file file. ZoneAlam data file (ZAP) is a proprietary data file format developed and maintained by ZoneAlam for storing application-specific data. It is used by ZoneAlam software for configuration, records, and other internal data associated with its workflows. The format is generally considered safe; however, as with any application data file, it should be opened only with trusted software, and older files may reflect legacy implementation details.
What are the magic bytes for .zap files?
The magic bytes for ZoneAlam data file files are 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .zap file?
To validate a .zap file, read the first bytes of the file and compare them against the known magic bytes (4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .zap files?
There is no officially registered MIME type for .zap files. Systems typically use application/octet-stream as a generic fallback when handling this format.
Is it safe to open .zap files?
ZoneAlam data file (.zap) 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.