Local StudioDATABASE TOOLS

MDF to Excel

Use this local MDF to Excel converter to share just the SQL Server tables you choose. Review row counts and worksheet names before saving one XLSX workbook.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
MDF to Excel workbench showing the Orders MDF and NDF, with Core.Orders selected and the Excel workbook action available.
Open Sample loads a real Orders MDF and NDF. Select only Core.Orders to create a workbook that excludes Core.Customers.

Export MDF to XLSX

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose one MDF and its required NDF files, or select Open Sample.
  3. Select the tables to export. Open Worksheet and Column Preview to inspect the names and types.
  4. Select Create Excel Workbook, then select Download or Save As when your browser offers it.

Choose the Tables to Share

  • See the SQL Server row and column counts and preview the Excel worksheet name and column types for each table.
  • Export each selected MDF table to a spreadsheet tab, with the original column names in the first row and headers even for empty tables.
  • The Orders sample keeps 00073 and =1+1 as literal text, a two-line note in one cell, and exact IDs and decimals as text.

Formats and Compatibility

InputA readable SQL Server MDF and all required NDF files from the same clean snapshot. Catalog browsing supports up to 2 GB of data files.
OutputOne .xlsx workbook with one worksheet per selected table. Up to 64 sheets, 100,000 rows including headers, and 200,000 cell positions including blanks. Encoded XML is limited to 24 MiB.
BrowserA modern browser with local file support.
ScopeOrdinary stored tables with supported scalar types. The workbook carries headers and values. SQL NULL and empty strings use blank cells. Database relationships, stored logic, and workbook macros are outside the export.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

Convert MDF to Excel without uploading files. This browser-based converter reads the files on your device with no upload, account, or SQL Server installation.

Select Open Sample to see the workflow with the included example.

From SQL Server Files to Excel Worksheets

The MDF holds the database catalog and primary data. A matching NDF can hold more tables or data. The tool identifies a missing companion and waits for it before exporting a complete table.

Open Your Excel Workbook

Download the completed workbook and open it in Excel or another XLSX reader. The Worksheet and Column Preview shows the exact sheet names used for this source.

Frequently Asked Questions

Can I use MDF to Excel offline?

Yes. Use the MDF to Excel download above, extract the ZIP, and open MDFToExcel.html. The standalone file includes the converter and the Orders sample.

How do I use MDF to Excel in browser?

Open the converter, select your local MDF and matching NDF files, and choose which tables to export. Download the completed workbook from the result card.

Is there a free MDF to Excel converter?

Yes. The browser tool and the offline download are free to use.

What does an MDF table to spreadsheet export preserve?

Column names, readable scalar values, and empty tables. Exact decimals, large IDs, and date or time values use text. Binary values use hex text. SQL NULL and empty text appear as blank cells.

Which database files work?

Use a clean database snapshot with its required NDF files. Encrypted sources, log replay, unreadable storage layouts, and unsupported column types are outside the tested scope.

Does this tool work offline on Windows, macOS, Linux, and ChromeOS?

Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.

Which browsers can I use with this offline tool?

Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.