WB1
application/x-quattro-pro;version=1+5
Magic Bytes
Offset: 0
00 00 02 00 01 10
WB1 is a legacy spreadsheet file format originally developed by Borland for use with early versions of the Quattro Pro for Windows application. This format primarily stores structured numerical data, formulas, and basic graphical representations used for financial accounting, data analysis, and business calculations. Now considered obsolete, the WB1 extension was eventually succeeded by the WB2 and WB3 formats following Corel’s acquisition of the software and remains safe for archival purposes.
Validation Code
How to validate .wb1 files in Python
Python
def is_wb1(file_path: str) -> bool:
"""Check if file is a valid WB1 by magic bytes."""
signature = bytes([0x00, 0x00, 0x02, 0x00, 0x01, 0x10])
with open(file_path, "rb") as f:
return f.read(6) == signature
How to validate .wb1 files in Node.js
Node.js
function isWB1(buffer: Buffer): boolean {
const signature = Buffer.from([0x00, 0x00, 0x02, 0x00, 0x01, 0x10]);
return buffer.subarray(0, 6).equals(signature);
}
Go
func IsWB1(data []byte) bool {
signature := []byte{0x00, 0x00, 0x02, 0x00, 0x01, 0x10}
if len(data) < 6 {
return false
}
return bytes.Equal(data[:6], signature)
}
API Endpoint
GET
/api/v1/wb1
curl https://filesignature.org/api/v1/wb1