Local StudioDATABASE TOOLS

MDF File Inspector

Open a SQL Server MDF to look up its file IDs, recorded paths, filegroups, and table storage. Add a secondary file to check its identity against the primary catalog.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
MDF File Inspector showing a synthetic SQL Server file inventory with a missing NDF.
The inspector’s synthetic sample shows the NDF needed by the Archive filegroup.

Inspect a SQL Server MDF

  1. Open the HTML, review Security Check, then select Continue.
  2. Drop or browse for a primary MDF, or select Open Sample.
  3. In Files, select an entry to compare observed header fields with recorded catalog fields.
  4. Choose Add NDF Files to check a secondary file. The synthetic sample also offers Add Sample NDF.
  5. Switch View to Filegroups, Tables, Storage, or Page Headers. Select an entry for its details. Use Drag to Expand or the arrow keys to resize the grid.
  6. Check Inspection Notes for unsupported or unreadable metadata. A match uses file ID, GUID, and byte size. A match does not establish that two files were captured at the same time.

MDF File Inspector Features

  • Use this browser-based MDF file header viewer to read byte sizes, page addresses, and readable boot metadata.
  • Use the MDF metadata inspector to find recorded file paths, rows filegroups, and in-row allocation details where the catalog can be decoded.
  • Match an NDF by the recorded file ID, file GUID, and byte size. See which files and table pages are still missing.

Formats and Compatibility

InputA primary SQL Server .mdf and, optionally, its .ndf data files. Catalog coverage was checked with SQL Server 2008 R2, 2016, and 2025 fixtures.
OutputAn on-screen inventory of selected files and readable database catalog metadata.
BrowserA modern browser with local file support.
ScopeHeader checks read the first 32 pages. Catalog inspection requires complete supported data files totaling up to 2 GiB. The inspector does not read table rows or transaction logs, establish database integrity, or guarantee that a file set can be attached.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

There is no upload. Open the supplied HTML offline and select files directly on your device.

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

SQL Server Data Files and Filegroups

The primary MDF can record secondary NDF data files, their rows filegroups, and a transaction log. The inspector lists readable log entries as outside the inspection scope. Some files can be inspected only at the header level.

Trace a Missing NDF

Find a missing NDF by ID, logical name, and recorded path in Files. Add the candidate NDF and check the match. The Storage view distinguishes in-row data pages recorded in the catalog from pages observed in the files you select.

Frequently Asked Questions

Can I use the MDF file inspector offline?

Yes. Open the extracted HTML in a supported browser. File inspection runs on your device.

Where is the MDF file inspector download?

Select Download Tool ZIP, extract it, and open MDFFileInspector.html.

What can the local MDF file inspector tell me?

It shows observed headers and available catalog metadata with separate coverage indicators for files, filegroups, tables, and storage.

Can I use the MDF file inspector without uploading files?

Yes. Selected files stay on your device.

Is this a free MDF file inspector?

Yes. Local Studio makes the tool available free for personal and business use.

How do I use the MDF file inspector in browser preview?

Open the tool preview and choose your primary MDF or the sample. Add an NDF to check whether its ID, GUID, and size match the recorded file.

Does a matched NDF prove it is from the same snapshot?

A match establishes agreement in file ID, GUID, and recorded size. Those values can also agree across different copies of the same database. Use files from the same known capture.

Does the inspector repair or attach an MDF?

The inspector is read-only. It reports the metadata it can establish. It does not repair files, read table rows, replay log records, or determine whether SQL Server can attach the database.

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.