Microsoft Money file

application/x-msmoney

Safe

Magic Bytes

Offset: 0
00 01 00 00 4D 53 49 53 41 4D 20 44 61 74 61 62 61 73 65

The Microsoft Money file (MNY) is a proprietary database format developed by Microsoft for its personal finance management software suite. This format stores comprehensive financial data, including checking accounts, investments, budget plans, and transaction histories within the Microsoft Money application. Since Microsoft discontinued the Money software line in 2009, this legacy format is now primarily accessed through archival tools or third-party conversion utilities.

Extension

.mny

MIME Type

application/x-msmoney

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .mny files in Python

Python
def is_mny(file_path: str) -> bool:
    """Check if file is a valid MNY by magic bytes."""
    signature = bytes([0x00, 0x01, 0x00, 0x00, 0x4D, 0x53, 0x49, 0x53, 0x41, 0x4D, 0x20, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65])
    with open(file_path, "rb") as f:
        return f.read(19) == signature

How to validate .mny files in Node.js

Node.js
function isMNY(buffer: Buffer): boolean {
  const signature = Buffer.from([0x00, 0x01, 0x00, 0x00, 0x4D, 0x53, 0x49, 0x53, 0x41, 0x4D, 0x20, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65]);
  return buffer.subarray(0, 19).equals(signature);
}
Go
func IsMNY(data []byte) bool {
    signature := []byte{0x00, 0x01, 0x00, 0x00, 0x4D, 0x53, 0x49, 0x53, 0x41, 0x4D, 0x20, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65}
    if len(data) < 19 {
        return false
    }
    return bytes.Equal(data[:19], signature)
}

API Endpoint

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

Related Formats