BUP (.bup)
.bup file signature | application/x-dvd-ifo
Magic Bytes
Offset 0
44 56 44 56 49 44 45 4F 2D 56 54 53
Sources: Apache Tika
All Known Signatures
2 signature variants are documented for .bup files across multiple sources.
| Hex Signature | Offset | Sources |
|---|---|---|
| 44 56 44 56 49 44 45 4F 2D 56 54 53 | 0 | Apache Tika |
| 44 56 44 56 49 44 45 4F 2D 56 4D 47 | 0 | Apache Tika |
Extension
.bup
MIME Type
application/x-dvd-ifo
Byte Offset
0
Risk Level
Safe
Validation Code
How to validate .bup files in Python
def is_bup(file_path: str) -> bool:
"""Check if file is a valid BUP by magic bytes."""
signature = bytes([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53])
with open(file_path, "rb") as f:
return f.read(12) == signature
How to validate .bup files in Node.js
function isBUP(buffer: Buffer): boolean {
const signature = Buffer.from([0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53]);
return buffer.subarray(0, 12).equals(signature);
}
How to validate .bup files in Go
func IsBUP(data []byte) bool {
signature := []byte{0x44, 0x56, 0x44, 0x56, 0x49, 0x44, 0x45, 0x4F, 0x2D, 0x56, 0x54, 0x53}
if len(data) < 12 {
return false
}
return bytes.Equal(data[:12], signature)
}
API Endpoint
/api/v1/bup
curl https://filesignature.org/api/v1/bup
See the full API documentation for all endpoints and parameters.
Frequently Asked Questions
What is a .bup file?
A .bup file is a BUP file.
What are the magic bytes for .bup files?
The magic bytes for BUP files are 44 56 44 56 49 44 45 4F 2D 56 54 53 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .bup file?
To validate a .bup file, read the first bytes of the file and compare them against the known magic bytes (44 56 44 56 49 44 45 4F 2D 56 54 53) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .bup files?
The primary MIME type for .bup files is application/x-dvd-ifo.
Is it safe to open .bup files?
BUP (.bup) 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.