Skip to content

Microsoft Access 2007 file (.accdb)

.accdb file signature | application/x-msaccess

Microsoft Access 2007 Database

Safe

Magic Bytes

Offset 0
00 01 00 00 53 74 61 6E 64 61 72 64 20 41 43 45 20 44 42

Sources: Wikipedia, Gary Kessler

All Known Signatures

2 signature variants are documented for .accdb files across multiple sources.

Hex Signature Offset Sources
00 01 00 00 53 74 61 6E 64 61 72 64 20 41 43 45 20 44 42 0 Wikipedia, Gary Kessler
00 01 00 00 53 74 61 6E 0 Apache Tika

Extension

.accdb

MIME Type

application/x-msaccess

Byte Offset

0

Risk Level

Safe

Validation Code

How to validate .accdb files in Python

Python
def is_accdb(file_path: str) -> bool:
    """Check if file is a valid ACCDB by magic bytes."""
    signature = bytes([0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42])
    with open(file_path, "rb") as f:
        return f.read(19) == signature

How to validate .accdb files in Node.js

Node.js
function isACCDB(buffer: Buffer): boolean {
  const signature = Buffer.from([0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42]);
  return buffer.subarray(0, 19).equals(signature);
}

How to validate .accdb files in Go

Go
func IsACCDB(data []byte) bool {
    signature := []byte{0x00, 0x01, 0x00, 0x00, 0x53, 0x74, 0x61, 0x6E, 0x64, 0x61, 0x72, 0x64, 0x20, 0x41, 0x43, 0x45, 0x20, 0x44, 0x42}
    if len(data) < 19 {
        return false
    }
    return bytes.Equal(data[:19], signature)
}

API Endpoint

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

See the full API documentation for all endpoints and parameters.

Frequently Asked Questions

What is a .accdb file?

A .accdb file is a Microsoft Access 2007 file file. Microsoft Access 2007 Database

What are the magic bytes for .accdb files?

The magic bytes for Microsoft Access 2007 file files are 00 01 00 00 53 74 61 6E 64 61 72 64 20 41 43 45 20 44 42 at byte offset 0. These bytes uniquely identify the file format regardless of the file extension.

How do I validate a .accdb file?

To validate a .accdb file, read the first bytes of the file and compare them against the known magic bytes (00 01 00 00 53 74 61 6E 64 61 72 64 20 41 43 45 20 44 42) at offset 0. This is more reliable than checking the file extension alone, as extensions can be renamed.

What is the MIME type for .accdb files?

The primary MIME type for .accdb files is application/x-msaccess.

Is it safe to open .accdb files?

Microsoft Access 2007 file (.accdb) 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.