Skip to content

MultiBit Bitcoin wallet file (.wallet)

.wallet file signature | application/octet-stream

MultiBit Bitcoin wallet file

Safe

Magic Bytes

Offset 0
0A 16 6F 72 67 2E 62 69 74 63 6F 69 6E 2E 70 72

Sources: Wikipedia, Gary Kessler

Extension

.wallet

MIME Type

application/octet-stream

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .wallet files in Python

Python
def is_wallet(file_path: str) -> bool:
    """Check if file is a valid WALLET by magic bytes."""
    signature = bytes([0x0A, 0x16, 0x6F, 0x72, 0x67, 0x2E, 0x62, 0x69, 0x74, 0x63, 0x6F, 0x69, 0x6E, 0x2E, 0x70, 0x72])
    with open(file_path, "rb") as f:
        return f.read(16) == signature

How to validate .wallet files in Node.js

Node.js
function isWALLET(buffer: Buffer): boolean {
  const signature = Buffer.from([0x0A, 0x16, 0x6F, 0x72, 0x67, 0x2E, 0x62, 0x69, 0x74, 0x63, 0x6F, 0x69, 0x6E, 0x2E, 0x70, 0x72]);
  return buffer.subarray(0, 16).equals(signature);
}

How to validate .wallet files in Go

Go
func IsWALLET(data []byte) bool {
    signature := []byte{0x0A, 0x16, 0x6F, 0x72, 0x67, 0x2E, 0x62, 0x69, 0x74, 0x63, 0x6F, 0x69, 0x6E, 0x2E, 0x70, 0x72}
    if len(data) < 16 {
        return false
    }
    return bytes.Equal(data[:16], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .wallet file?

A .wallet file is a MultiBit Bitcoin wallet file file. MultiBit Bitcoin wallet file

What are the magic bytes for .wallet files?

The magic bytes for MultiBit Bitcoin wallet file files are 0A 16 6F 72 67 2E 62 69 74 63 6F 69 6E 2E 70 72 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .wallet file?

To validate a .wallet file, read the first bytes of the file and compare them against the known magic bytes (0A 16 6F 72 67 2E 62 69 74 63 6F 69 6E 2E 70 72) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .wallet files?

There is no officially registered MIME type for .wallet files. Systems typically use application/octet-stream as a generic fallback when handling this format.

Is it safe to open .wallet files?

MultiBit Bitcoin wallet file (.wallet) 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.