Local StudioDATABASE TOOLS

MDF Schema Viewer

Browse SQL Server tables and trace foreign keys from child columns to their parent tables. Open a local MDF with its matching NDF files or explore the sample.

  • Free
  • Works Offline
  • No Uploads
Works with:
  • Microsoft Edge
  • Google Chrome
  • Mozilla Firefox
  • Safari
MDF Schema Viewer with the Warehouse Migration sample and the Shipments column grid open.
The Warehouse Migration example shows column types, nullability, keys, identity, and defaults.

How to View MDF Table Structure

  1. Open the HTML, review Security Check, then select Continue.
  2. Choose one MDF and any matching NDF files, or select Open Sample.
  3. Use Search Schema to find an object and select its table. Use Columns or Keys & Indexes to inspect metadata.
  4. Select Relationships, choose a foreign key, and follow its Child Table or Parent Table. Use Drag to Expand below the grid to resize it.

MDF Schema Viewer Features

  • Search schema and table names, column names and types, index names, or foreign keys.
  • Inspect MDF columns and indexes alongside primary and unique keys, nullability, and readable default and identity metadata.
  • Follow a foreign key to either table and review each child-to-parent column pair in constraint order.

Formats and Compatibility

InputOne primary SQL Server .mdf and any required .ndf companions from the same database snapshot.
OutputAn on-screen schema browser with table columns, keys and indexes, and linked foreign-key endpoints.
BrowserA modern browser with local file support.
ScopeComplete disk-based file sets up to 2 GB total. Covered fixtures include SQL Server 2008 R2, 2016, and 2025. Some catalog fields and special layouts may be unavailable.
Operating Systems
  • Windows
  • macOS
  • Linux
  • ChromeOS

Local Processing Without Uploads

This browser-based viewer reads local files on your device. No upload or SQL Server connection is required.

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

MDF and NDF File Sets

MDF is the primary SQL Server data file. An NDF holds secondary data for the same database. The viewer reports missing companions and shows metadata it can still read from the MDF. Tested in Microsoft Edge on Windows.

Trace a Foreign Key

Search for a constraint, choose Relationships, and compare the ordered column pairs. Select the parent table to inspect its columns. Unavailable labels identify facts that the reader could not verify.

Frequently Asked Questions

Can I run the MDF Schema Viewer offline?

Yes. Open the extracted HTML in a modern browser with local file and worker support.

Where Is the MDF Schema Viewer Download?

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

Which Files Does the Local MDF Schema Viewer Read?

Choose the primary MDF and any matching NDF files. Add missing companions through the same file picker.

Can I Use the MDF Schema Viewer Without Uploading Files?

Yes. The browser reads the chosen files locally and the page can run offline.

Is This a Free MDF Schema Viewer?

Yes. The tool is a free Local Studio download.

How Do I Use the MDF Schema Viewer in Browser Mode?

Open the HTML, choose a file or the sample, and use Search Schema to find columns, indexes, and foreign keys.

Which Metadata Might Be Unavailable?

The viewer can show readable defaults and integer identity settings. Long or unsupported default expressions, some index details and declared aliases may be unavailable. Missing files can limit catalog coverage.

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.