PCDOTS® Free MDF File Viewer
Free MDF File Viewer
to Open SQL Database Files
Opens MDF files directly on your Windows PC with no SQL Server installation needed. It reads healthy and corrupt SQL Server database (MDF and NDF) files and shows every table, record and object in a clean preview. Completely free.
- Opens MDF files without SQL Server or SSMS installed
- Views tables, views, stored procedures, triggers and keys with row counts
- Reads corrupt and healthy files from SQL Server 2000 to 2025
When to Use PCDOTS Free MDF File Viewer
Three jobs bring most people here. All three take minutes with the viewer and none of them need a SQL Server installation.
Look inside an old MDF file
An .mdf turned up on a backup drive, a retired server or a client handover and you need to know what is in it. Open it directly and browse every table without building a server first.
Check a corrupt file before repair
The database will not attach and you need to know what survived before spending money or hours on recovery. The viewer shows the readable contents free, so you decide with facts.
Confirm deleted data still exists
Rows vanished after a DELETE command and you want proof they are still inside the file before choosing a recovery path. Deleted records appear right in the free preview.
Key Features of the Free MDF Viewer
Everything You Need to Look Inside an MDFOpen MDF Files Without SQL Server
The viewer opens SQL Server database files directly on any Windows PC, with no SQL Server instance and no SSMS installation required. Point it at an .mdf file from a backup drive, an old machine or a client handover and browse the contents in minutes. NDF secondary data files load alongside the primary file automatically.
View Corrupt and Damaged MDF Files
A file that SQL Server refuses to attach can still be read. The viewer scans the file page by page, so it opens corrupt, SUSPECT marked and orphaned MDF files and shows you everything that survived. That makes it a fast free way to check what is recoverable before you decide on repair. If you then need the data back, the SQL database recovery software exports it.
Complete Object Tree with Row Counts
Every object appears in a tree on the left pane the way SSMS shows them: tables, views, synonyms and programmability. Each table lists its row count and empty tables are flagged, so you spot missing data at a glance. Select any object and its contents appear in the right pane with page wise navigation through large tables.
Search and Filter Any Record
Find one row inside millions in seconds. Search the data with Match Case and Whole Word options, filter individual columns and apply or clear filters in one click. It works across every table in the file, which turns the viewer into a practical lookup tool for audits and quick checks.
View Deleted Records
Tick Include deleted records and rows removed from tables appear in the preview alongside live data, with a filter to show deleted tables and records on their own. It is a free way to confirm whether data lost to a DELETE command still exists inside the file before deciding on recovery.
Auto Version Detection, 2000 to 2025
The viewer reads the SQL Server version straight from the file header, from SQL Server 2000 through 2025 including Express editions. You never need to know which version created the file or match it to an installed server, because there is no server involved at all.
Open and Read an MDF File in 3 Simple Steps
No configuration, no connection strings and no server. Open the file and start reading.
Select the MDF file
Click Select Database and pick the .mdf file. The viewer detects the SQL Server version automatically from the file header.
Let the viewer read the file
The engine reads the file page by page, including damaged regions of corrupt files. The log shows tables found in real time.
Browse, search and inspect
Explore the object tree, open any table, search records and view deleted rows. Everything on screen is free to read.
MDF Viewer Specifications and Supported Versions
Everything the free viewer supports, in one place. No license, no signup and no server dependencies.
| Cost | Free. Open, browse and search unlimited MDF files with no license or signup. |
|---|---|
| File types | SQL Server primary data files (.mdf) with secondary data files (.ndf) loaded alongside. |
| Supported SQL Server | 2025, 2022, 2019, 2017, 2016, 2014, 2012, 2008 R2, 2008, 2005 and 2000, including Express editions. Version is auto detected from the file. |
| What you can view | Tables with records and row counts, views, stored procedures, functions, triggers, indexes, keys and deleted records where they survive in the file. Unicode and international character data displays correctly. |
| Supported Windows | Windows 11, 10, 8 and 7. Run as Administrator for protected file locations. No SQL Server or SSMS required and the viewer works completely offline, with no internet connection or registration needed. |
| Product resources | Support center · All PCDOTS tools · EULA and terms |
MDF Viewer Free Version or MDF Viewer Pro
MDF Viewer answers the question what is inside my file. MDF Viewer Pro gets the data back out. Both read the same files the same way.
| Capability | MDF Viewer (Free) | MDF Viewer Pro (Paid) |
|---|---|---|
| Open MDF and NDF files without SQL Server | ||
| Read corrupt and SUSPECT marked files | ||
| Browse the full object tree with row counts | ||
| Search and filter records | ||
| View deleted records | ||
| Export to a live SQL Server database | — | |
| Export as .sql scripts and CSV | — | |
| Restore deleted records to a working database | — | |
| Cost | FREE | See current price |
What People Open with the Free MDF Viewer
Three recent uses shared with permission. Company names withheld for confidentiality.
"A client handed us a 2008 era MDF from a decommissioned server and asked what was in it. No way I was building a SQL 2008 instance for that. The viewer opened it in two minutes and I sent them a table list the same morning."
"Our database went suspect and management wanted answers before approving anything. The free viewer showed the tables were readable, so we bought the recovery tool knowing exactly what we would get back. No gamble involved."
"An intern ran a DELETE on the wrong table. Before escalating I opened the file in the viewer, ticked deleted records and there they were, all 4,000 rows still in the file. That screenshot made the recovery decision easy."
Common Questions About Opening MDF Files
The questions we hear most. Anything else, ask on live chat. A human answers.
01How do I open an MDF file without SQL Server?
- Download and install the free PCDOTS MDF Viewer on any Windows PC.
- Click Select Database and pick the .mdf file. The SQL Server version is detected automatically.
- Browse the object tree and open any table to read its records.
No SQL Server instance, no SSMS and no attach step are involved at any point.
02What is an MDF file?
03Is the MDF viewer really free?
04Can it open corrupt MDF files?
05Can I see deleted records in the file?
06Which SQL Server versions does it support?
07Can I open an MDF file with SQL Server instead?
08Can I export or copy data out with the viewer?
09Will it change my MDF file?
10Does it open NDF secondary files too?
Download the Free MDF Viewer.
Open Your File in Minutes.
See every table, record and deleted row inside your MDF file right now. Completely free, no SQL Server needed and your file never leaves your PC.