AXX (.axx)
.axx file signature | application/x-axcrypt
Magic Bytes
Offset 0
C0 B9 07 2E 4F 93 F1 46 A0 15 79 2C A1 D9 E8 21
Sources: Apache Tika
Extension
.axx
MIME Type
application/x-axcrypt
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .axx files in Python
def is_axx(file_path: str) -> bool:
"""Check if file is a valid AXX by magic bytes."""
signature = bytes([0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21])
with open(file_path, "rb") as f:
return f.read(16) == signature
How to validate .axx files in Node.js
function isAXX(buffer: Buffer): boolean {
const signature = Buffer.from([0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21]);
return buffer.subarray(0, 16).equals(signature);
}
How to validate .axx files in Go
func IsAXX(data []byte) bool {
signature := []byte{0xC0, 0xB9, 0x07, 0x2E, 0x4F, 0x93, 0xF1, 0x46, 0xA0, 0x15, 0x79, 0x2C, 0xA1, 0xD9, 0xE8, 0x21}
if len(data) < 16 {
return false
}
return bytes.Equal(data[:16], signature)
}
API Endpoint
/api/v1/axx
curl https://filesignature.org/api/v1/axx
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .axx file?
A .axx file is a AXX file.
What are the magic bytes for .axx files?
The magic bytes for AXX files are C0 B9 07 2E 4F 93 F1 46 A0 15 79 2C A1 D9 E8 21 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .axx file?
To validate a .axx file, read the first bytes of the file and compare them against the known magic bytes (C0 B9 07 2E 4F 93 F1 46 A0 15 79 2C A1 D9 E8 21) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .axx files?
The primary MIME type for .axx files is application/x-axcrypt.
Is it safe to open .axx files?
AXX (.axx) 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.