How to Open an Access Database Without Microsoft Access
Browse tables in an .mdb or .accdb file, read saved queries, run SQL and export to CSV, Excel, SQLite or a SQL dump, all in your browser without Access.

How to Open an Access Database Without Microsoft Access
Access databases turn up everywhere: an inventory list from a former colleague, a membership register a volunteer built in 2004, a data download from a government office. Microsoft Access is only included in some Office editions and does not run on a Mac or a phone, so opening an .mdb or .accdb file can be surprisingly hard. The Access MDB and ACCDB Viewer lets you look inside the tables, read the saved queries and take the data out in friendlier formats, straight from a browser tab.
How it works
The viewer uses mdb-reader, an open source library under the MIT licence, to read the database file. The library is about 300 KB and loads once from the jsDelivr CDN the first time you open a file. After that, the reading happens entirely on your device. Your database is never sent anywhere, which matters when the tables hold names, addresses or payment records.
Both formats are supported: the older MDB files from Access 97 to 2003 and the ACCDB format used from Access 2007 onwards. The page shows which one it detected, along with the file size, the creation date when it is stored, and the number of tables and saved queries.
Opening a password-protected file
If the database has a password, the first attempt will fail with a message asking for it. Type the password into the field and press Open again with password. The password is only used locally to read the file.
Browsing tables
The left column lists every user table with its row and column counts. Tick Show system tables if you want to see the internal MSys tables that Access uses for its own bookkeeping; most people can leave this off.
Click a table to view it. Above the grid there is a button for each column. Clicking a column button hides it from both the view and the exports, and hovering it reveals the data type, size and whether the field may be empty. Hidden columns can be brought back at any time, and the undo and redo buttons remember your choices. Use the filter box to show only rows containing a word or number.
The grid shows the first 300 matching rows on screen to keep things fast, but every exported file includes all of them. Dates are shown in a sortable year-month-day format, binary fields as a short note with their size, and attachment fields as a count.
Saved queries
Access stores queries as rows in a hidden system table rather than as plain SQL text. The viewer reads those rows and rebuilds a SELECT statement with its columns, tables, joins, WHERE, GROUP BY, HAVING and ORDER BY parts. Click a saved query to copy its rebuilt SQL into the console below. For union, pass-through and data-definition queries, it shows whatever expression text is stored, or a note that the SQL was not kept.
The SQL console
The console runs standard SELECT statements over the loaded tables, including joins, grouping and sorting. Results appear in a grid with the row count and the time taken, and you can save them as CSV. Access-only functions such as IIf or Nz are not available, so a rebuilt query sometimes needs a small edit before it runs. This is a good way to answer quick questions, like counting members by town, without exporting anything first.
Exporting your data
For the table you are viewing, there are two buttons: a CSV file with a byte order mark so Excel reads accented letters correctly, and an Excel workbook with a frozen, styled header row. Both respect hidden columns and the row filter.
For the whole database, you can save one Excel workbook with a sheet per table, a SQLite database file, or a SQL dump with CREATE TABLE and INSERT statements. Building the SQLite file loads sql.js, about 0.7 MB, the first time. If the file has saved queries, a separate button saves all of their rebuilt SQL in one .sql file. Number-like Access types become INTEGER or REAL columns in SQLite, and everything else becomes TEXT.
A typical workflow
Say you inherited a club database and want the member list in Google Sheets. Open the file, pick the Members table, hide the internal ID and notes columns, filter if you only want active members, and save the CSV. Import that into Sheets and you are done. If you want to keep the whole thing in a format that will still open in twenty years, the SQLite export is a good choice.
Limits
The viewer reads tables and queries only. Forms, reports, macros and VBA modules are parts of the Access application and are not shown or converted. You cannot edit records or write changes back to the .mdb or .accdb file. Rebuilt query SQL is a reconstruction and may need adjustments, and Access-specific functions do not run in the console. The reader library needs an internet connection the first time it loads, and very large databases are limited by the memory available in your browser.


%20Generator&c=%23991b1b&k=documents)
