IDENTIFIER (.identifier)
.identifier file signature | application/octet-stream
Microsoft Zone Identifier for URL Security Zones[76][77]
Magic Bytes
Offset 0
5B 5A 6F 6E 65 54 72 61 6E 73 66 65 72 5D
Sources: Wikipedia
Extension
.identifier
MIME Type
application/octet-stream
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .identifier files in Python
def is_identifier(file_path: str) -> bool:
"""Check if file is a valid IDENTIFIER by magic bytes."""
signature = bytes([0x5B, 0x5A, 0x6F, 0x6E, 0x65, 0x54, 0x72, 0x61, 0x6E, 0x73, 0x66, 0x65, 0x72, 0x5D])
with open(file_path, "rb") as f:
return f.read(14) == signature
How to validate .identifier files in Node.js
function isIDENTIFIER(buffer: Buffer): boolean {
const signature = Buffer.from([0x5B, 0x5A, 0x6F, 0x6E, 0x65, 0x54, 0x72, 0x61, 0x6E, 0x73, 0x66, 0x65, 0x72, 0x5D]);
return buffer.subarray(0, 14).equals(signature);
}
How to validate .identifier files in Go
func IsIDENTIFIER(data []byte) bool {
signature := []byte{0x5B, 0x5A, 0x6F, 0x6E, 0x65, 0x54, 0x72, 0x61, 0x6E, 0x73, 0x66, 0x65, 0x72, 0x5D}
if len(data) < 14 {
return false
}
return bytes.Equal(data[:14], signature)
}
API Endpoint
/api/v1/identifier
curl https://filesignature.org/api/v1/identifier
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .identifier file?
A .identifier file is a IDENTIFIER file. Microsoft Zone Identifier for URL Security Zones[76][77]
What are the magic bytes for .identifier files?
The magic bytes for IDENTIFIER files are 5B 5A 6F 6E 65 54 72 61 6E 73 66 65 72 5D at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .identifier file?
To validate a .identifier file, read the first bytes of the file and compare them against the known magic bytes (5B 5A 6F 6E 65 54 72 61 6E 73 66 65 72 5D) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .identifier files?
There is no officially registered MIME type for .identifier files. Systems typically use application/octet-stream as a generic fallback when handling this format.
Is it safe to open .identifier files?
IDENTIFIER (.identifier) 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.