MDB to CSV
Each table of the Access database becomes one UTF-8 CSV file. Useful when the data is moving on to a real database server or a script.
How it works
- Drop your file in the box above, or click it to pick one.
- Pick the output format and press Convert.
- Download the result. Nothing was uploaded on the way.
Is it safe?
Migrating an old database usually means migrating personal data too, so it helps that this .mdb is opened by your own browser and isn't uploaded.
Want to check? Open your browser DevTools, switch to the Network tab and convert a file. Or convert a small file once, because each converter downloads its code the first time, then go offline and convert your real file.
Why CSV and not Excel
Excel output is nice to look at. CSV is what everything else imports: MySQL's LOAD DATA, PostgreSQL's COPY, pandas, R, Power BI, a new CRM's import screen. It also has no row limit, so a log table with three million rows comes out whole instead of being split over several sheets. If you only want to read the data, MDB to Excel is the friendlier choice.
How the files look
- One table gives you one .csv file. Several tables come as a ZIP with one .csv each, named after the table.
- The first line holds the column names. Fields are comma-separated with quotes where needed, line endings are CRLF, and the text is UTF-8 with a byte order mark so Excel gets the accents right.
- Dates are written as 2024-03-01 or 2024-03-01 14:30:00, never in a local format that a script would have to guess.
- Yes/No fields become TRUE and FALSE. Currency keeps at least two decimals. Empty values stay empty.
- If anything needed a warning (a skipped linked table, a damaged page, binary columns), it's in conversion-notes.txt inside the ZIP.
Apostrophes in front of some text
A text cell that starts with =, +, - or @ could be run as a formula when the CSV is opened in a spreadsheet. That's a known trick for slipping commands into exported data, so such values get a leading apostrophe. Real numbers are never touched. Feeding the files into a database rather than Excel? Switch off "Protect against spreadsheet formulas" and the values stay exactly as stored.
What a CSV can't carry
CSV is just rows and columns. Column types, primary keys, relationships and indexes are gone, as are the queries, forms and reports. Plan to recreate the schema on the other side; the column names in the header row are a good start. Pictures and OLE objects come out as a placeholder with their size, and Access 2007 attachment fields stay empty.
Both Access generations open here: Access 97-2003 .mdb and .accdb from 2007 on, up to 250 MB on a computer. Password-protected databases need the password typed in; nothing is guessed or recovered.
Questions about this format
Can I load the CSVs straight into MySQL or PostgreSQL?
Yes, that is what they are shaped for. Create the table first, then use LOAD DATA INFILE (MySQL) or COPY ... WITH CSV HEADER (PostgreSQL). Switch the formula protection off before converting so no value gets an apostrophe.
Is there a row limit in the CSV export?
Not like Excel's million rows. The limits are the 250 MB input size and what your browser's memory allows; very large tables just take longer.
Why is there a conversion-notes.txt in the ZIP?
It lists anything worth knowing: tables that were linked rather than stored, columns that held pictures, parts of the file that were damaged. If everything went smoothly and the database had one table, you get a plain CSV without it.
Can I pick which tables to export?
Not yet. All normal tables are exported; just delete the CSV files you don't need. Hidden system tables are left out unless you ask for them in the options.
Last updated: