Lotus WordPro document

application/vnd.lotus-wordpro

Safe

Magic Bytes

Offset: 0
57 6F 72 64 50 72 6F 00

The Lotus Word Pro document is a proprietary file format developed by Lotus Software, a subsidiary of IBM, for the Word Pro word processing application. It was historically utilized for creating business documents, reports, and formatted text within the Lotus SmartSuite ecosystem. As a legacy format associated with software discontinued in the 2010s, it is rarely generated today and typically requires specific conversion tools or legacy viewers to open on modern systems.

Extension

.lwp

MIME Type

application/vnd.lotus-wordpro

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .lwp files in Python

Python
def is_lwp(file_path: str) -> bool:
    """Check if file is a valid LWP by magic bytes."""
    signature = bytes([0x57, 0x6F, 0x72, 0x64, 0x50, 0x72, 0x6F, 0x00])
    with open(file_path, "rb") as f:
        return f.read(8) == signature

How to validate .lwp files in Node.js

Node.js
function isLWP(buffer: Buffer): boolean {
  const signature = Buffer.from([0x57, 0x6F, 0x72, 0x64, 0x50, 0x72, 0x6F, 0x00]);
  return buffer.subarray(0, 8).equals(signature);
}
Go
func IsLWP(data []byte) bool {
    signature := []byte{0x57, 0x6F, 0x72, 0x64, 0x50, 0x72, 0x6F, 0x00}
    if len(data) < 8 {
        return false
    }
    return bytes.Equal(data[:8], signature)
}

API Endpoint

GET /api/v1/lwp
curl https://filesignature.org/api/v1/lwp

Related Formats