Microsoft Money file
application/x-msmoney
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.
Validation Code
How to validate .mny files in 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
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);
}
How to validate .mny files in 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
/api/v1/mny
curl https://filesignature.org/api/v1/mny
Related Formats
Frequently Asked Questions
What is a .mny file?
A .mny file is a Microsoft Money file file. 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.
What are the magic bytes for .mny files?
The magic bytes for Microsoft Money file files are 00 01 00 00 4D 53 49 53 41 4D 20 44 61 74 61 62 61 73 65 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.
How do I validate a .mny file?
To validate a .mny file, read the first bytes of the file and compare them against the known magic bytes (00 01 00 00 4D 53 49 53 41 4D 20 44 61 74 61 62 61 73 65) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.
What is the MIME type for .mny files?
The primary MIME type for .mny files is application/x-msmoney.
Is it safe to open .mny files?
Microsoft Money file (.mny) 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.