WordPerfect text and graphics file
application/octet-stream
Magic Bytes
Offset: 0
FF D8
The WordPerfect text and graphics file (WPP) is a proprietary document format originally developed by the WordPerfect Corporation and later maintained by Corel. This legacy format primarily stores word processing data, including formatted text, vector graphics, and layout information created within older versions of the WordPerfect Office suite. As an obsolete standard, it has largely been superseded by modern alternatives, though contemporary productivity software may still support WPP files for archival recovery and historical data migration.
Validation Code
How to validate .wpp files in Python
Python
def is_wpp(file_path: str) -> bool:
"""Check if file is a valid WPP by magic bytes."""
signature = bytes([0xFF, 0xD8])
with open(file_path, "rb") as f:
return f.read(2) == signature
How to validate .wpp files in Node.js
Node.js
function isWPP(buffer: Buffer): boolean {
const signature = Buffer.from([0xFF, 0xD8]);
return buffer.subarray(0, 2).equals(signature);
}
Go
func IsWPP(data []byte) bool {
signature := []byte{0xFF, 0xD8}
if len(data) < 2 {
return false
}
return bytes.Equal(data[:2], signature)
}
API Endpoint
GET
/api/v1/wpp
curl https://filesignature.org/api/v1/wpp