.MDB

MDB File

Microsoft Access Database (97-2003, Jet engine)
Ask a question
QUICK ANSWER

An MDB file is a Microsoft Access database in the old format Access used from 1992 through 2003, replaced by .accdb in Access 2007. It stores tables, queries, forms, reports, and VBA code in one file. On Windows, open it with Microsoft Access or the free MDB Viewer Plus; on Mac or Linux, use LibreOffice Base or mdbtools -- there is no Microsoft Access for macOS.

Developer: Microsoft Category: Database Files MIME: application/x-msaccess
OPENS ON Windows macOS Linux
Related: .DB · .DBF · .ACCDB · .SQL

On this page

19k+ extensions indexed
Last reviewed Jun 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MDB file format?

.mdb is a database file generated and used by Microsoft Access - it is the native format of this software, based on the Access Jet database engine. .mdb files contain data regarding databases: the structure and queries of a database, functions, records, and other information. Besides that, .mdb files can also store forms for entering data, module procedures, reports, and security settings.

Access data can be imported and joined with other formats and applications, such as HTML, XML, Excel, SharePoint, and Outlook. .mdb files can be converted to .csv or .txt using tools like MDB Converter or Access's built-in export wizard, so the data can be worked with in many other programs. Internally, an .mdb file begins with the bytes 00 01 00 00 followed at offset 4 by the ASCII string Standard Jet DB - a reliable identifier in a hex editor.

MDB files and their successor

.mdb was the default format in Microsoft Access 2003 and its previous versions. Newer versions of Access use a format that has replaced .mdb - the .accdb format (introduced in Access 2007). Current versions of Access can still open .mdb files, but .accdb adds multi-valued fields, attachment columns, and stronger encryption.

MDB and LDB

Along with .mdb files, in the same folder there can also be a file with the .ldb extension, because it is created by Access whenever an .mdb file is open. .ldb is a lock file created by the program the moment an .mdb file is being edited by a user. This prevents multiple users from introducing conflicting changes to the file at the same time. The .ldb file is removed automatically when the last user closes the database.

Security & safety

RISK: MEDIUM

An .mdb can contain VBA macros that run code, so a database from an untrusted source can carry malware - Access opens unknown databases with macros disabled (the Trust Center / yellow security bar), and you should leave them disabled unless you trust the sender. Beyond macros, the data itself is inert. Legacy security caveat: the old Jet "database password" and user-level (workgroup) security on .mdb are WEAK and easily bypassed/ cracked - never rely on them to protect sensitive data; the file content is effectively readable by tools like mdbtools regardless. Don't delete the .ldb lock file while the database is open in another session. Old .mdb files are also a corruption risk - keep backups and use Compact & Repair.

Format details

in a nutshell
FULL NAMEMicrosoft Access Database (97-2003, Jet engine)
DEVELOPERMicrosoftsince 1992 (Access 1.0); MDB was the default through Access 2003
MIME TYPEapplication/x-msaccess
TYPEProprietary binary database file (Jet / Access database engine)
MAGIC BYTES · FILE SIGNATURE
OFFSET
0405060708090a0b0c0d0e0f10111213141516
HEX
000100005374616E64617264204A6574204442
ASCII
····Standard Jet DB
An .mdb begins with 00 01 00 00 followed at offset 4 by the ASCII string "Standard Jet DB". The newer .accdb instead has "Standard ACE DB" at the same offset - that string is the quickest way to tell the two apart in a hex editor. (Very old Access 97 files may show "Standard Jet DB" with a different version byte.)

Programs that open MDB files

Windows4 apps
Microsoft Access Paid Double-click the .mdb to open it in Access (full read-write, forms, reports, VBA). Modern Access still opens legacy MDB.
MDB Viewer Plus Free Portable freeware (no install) - open the .mdb to view/edit tables and export to Excel/CSV/XML. The easiest free Windows opener.
LibreOffice Base Open-source Free office suite; connect to the .mdb to browse tables and run queries. Some forms/VBA won't carry over.
Microsoft Access Runtime Free Free runtime that RUNS an Access app (forms/reports) but can't design it - for using an existing legacy database.
macOS3 apps
LibreOffice Base Open-source Best free Mac option - open the .mdb to view tables and export data. There is NO Microsoft Access for Mac. Complex queries/forms may not load.
MDB Tools (CLI / Homebrew) Open-source 'brew install mdbtools', then 'mdb-tables file.mdb' and 'mdb-export file.mdb Table > out.csv' to extract data.
Parallels Desktop + Windows Paid Run Windows (and real Access) in a VM on Mac when LibreOffice Base can't fully handle the database.
Linux3 apps
MDB Tools Open-source Command line: 'mdb-tables file.mdb' lists tables; 'mdb-export file.mdb TableName > out.csv' dumps to CSV; 'mdb-schema' dumps the schema.
LibreOffice Base Open-source Open the .mdb to read tables and export; combine with mdbtools for command-line extraction.
Kexi (KEXI) Open-source KDE database app - import/migrate Access .mdb tables (development is slow; use mdbtools/LibreOffice if it struggles).

Technical details

deep spec
DeveloperMicrosoft Corporation
MIME typeapplication/x-msaccess
File signature00 01 00 00 at offset 0; ASCII "Standard Jet DB" at offset 4
Database engineMicrosoft Jet 3.0 (Access 97) through Jet 4.0 (Access 2000-2003)
Page size2 048 bytes per page (Jet 3.x / Access 97); 4 096 bytes per page (Jet 4.0 / Access 2000-2003)
Maximum file size2 GB
Maximum fields per table255
Unicode supportCompressed Unicode in Jet 4.0 (Access 2000+); code-page encoding in Jet 3.x (Access 97)
Embedded VBACompiled VBA p-code modules stored directly inside the file alongside table data
Password encryption40-bit RC4 cipher; known to be weak and susceptible to offline cracking
Lock fileA paired .ldb file is created on open; tracks active users and locked records; deleted when the last user closes
Successor format.accdb (Access 2007+, ACE engine); identified by "Standard ACE DB" at offset 4; adds stronger encryption and attachment fields
Cross-platform toolsMDB Tools (mdb-export, mdb-tables) for Linux and macOS; LibreOffice Base and Kexi on Linux
Import/export connectorsNative support for Excel, SharePoint, Outlook, HTML, XML, and ODBC data sources
Maximum objects per database32 768 (tables, queries, forms, reports, and macros combined)
Released1992 (Access 1.0); MDB was the default through Access 2003
Specificationlearn.microsoft.com

MDB conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MDB files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MDB files.

Frequently asked questions

How do I open an MDB file without Microsoft Access?
On Windows use the free MDB Viewer Plus (portable, opens and exports MDB) or LibreOffice Base. On Mac/Linux use LibreOffice Base or the mdbtools command-line tools. All let you view tables and export to Excel/CSV; they won't fully run Access forms or VBA.
Can I open an MDB file on a Mac?
There is no Microsoft Access for macOS. Use LibreOffice Base (free) to read the tables and export the data, install mdbtools via Homebrew for command-line export, or run Windows + real Access in a VM (Parallels) if you need full forms/reports/VBA.
What's the difference between MDB and ACCDB?
MDB is the old Access format (1992-2003, Jet engine); ACCDB is the current one (2007+, ACE engine). ACCDB adds multivalued/attachment fields, calculated fields and data macros, while MDB keeps user-level security and replication that ACCDB dropped. In a hex editor MDB shows 'Standard Jet DB' and ACCDB shows 'Standard ACE DB'.
How do I convert an MDB to Excel or CSV?
In Access, open the table/query and choose External Data > Export > Excel or Text File. Without Access, MDB Viewer Plus exports to XLSX/CSV, or on Linux/Mac run 'mdb-export file.mdb TableName > out.csv'. Each table exports separately.
What is the .ldb file next to my MDB?
It's the temporary lock file Access creates while the .mdb is open, tracking which users have it open for multi-user editing. It disappears when everyone closes the database; don't delete it manually while the database is in use.
My MDB opens read-only or is corrupted - what do I do?
Read-only is usually a read-only file location, a leftover .ldb lock from a crash, or opening it in a viewer rather than full Access. For corruption, use Access's Compact & Repair (Database Tools), restore a backup, or as a last resort a paid repair tool like DataNumen Access Repair.

References

1Microsoft Learn - [MS-ACE] Access database file formatlearn.microsoft.com
2Microsoft Support - Which Access file format should I use?support.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.DATProgram Data File (generic)
4.PARTPartial Download File
5.BINCD/DVD Disc Image (BIN/CUE)
6.EXEWindows Executable (Portable Executable)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.TXTPlain Text File
10.MDMarkdown Document

Related extensions

.DBSQLite Database File
.DBFDatabase File (dBASE / xBase table)
.ACCDBMicrosoft Access Database (2007+)
.SQLSQL Script (Structured Query Language source / database dump)
.FDBFirebird Database
.SQLITESQLite Database

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z