Spreadsheet Formats
CSV, Excel XLSX, ODS
Open table data directly in Excel, Google Sheets or LibreOffice. Each table exports as a separate sheet or file.
Univik MDF Converter is professional Windows software to export SQL Server MDF database data to CSV, Excel, MySQL, PDF, JSON, XML and 10+ formats - no SQL Server installation required. Supports all editions from SQL Server 2000 through 2022 with complete data integrity.
*Free trial exports first 50 rows per table. Full version for unlimited conversion.


VirusTotal Verified Safe
Certified Clean by 70+ Antivirus Engines. No malware, spyware, or adware.
Supported SQL Server Editions
SQL Server 2022
SQL Server 2019
SQL Server 2017
SQL Server 2016
SQL Server 2014
SQL Server 2012
SQL Server 2008 R2
SQL Server 2005
SQL Server 2000
Express Edition
Export Options
Export your SQL Server MDF database into formats compatible with spreadsheet tools, database engines, web applications and archival systems.
Available Export Formats
Spreadsheet Formats
CSV, Excel XLSX, ODS
Open table data directly in Excel, Google Sheets or LibreOffice. Each table exports as a separate sheet or file.
Database Formats
MySQL, SQLite, Access MDB
Direct database migration with schema, indexes and relationships preserved in the target engine.
Document Formats
PDF, HTML, RTF, TXT
Archive database tables as readable documents for reporting, legal discovery or long-term storage.
Developer Formats
JSON, XML, SQL Script
Export structured data and INSERT scripts for direct use in web applications, APIs and migration pipelines.
Key Features
Professional-grade software built for DBAs, developers and forensic analysts - with the power to handle any SQL Server MDF file cleanly.
Batch Table Conversion
Export multiple tables simultaneously in a single operation. Select specific tables or export the entire database schema at once. Handles databases with hundreds of tables efficiently without manual repetition.
Live Data Preview
Browse all tables, views and records before converting. Full data grid with sortable columns, row counts and pagination. Verify content, spot errors and select exactly what you need before exporting. Need read-only browsing without converting? The free MDF Viewer is designed for that.
Schema Migration
Export full database schema alongside data: table definitions, column types, primary keys, foreign keys, indexes and constraints. Re-create the entire database structure in the target system with one export.
Row and Column Filtering
Export only the data you need. Filter rows by column value, date range or custom SQL-like conditions. Select specific columns to include or exclude. Perfect for GDPR-compliant exports or targeted data extraction.
Data Type Preservation
All SQL Server data types handled precisely: VARCHAR, NVARCHAR, DATETIME, DECIMAL, VARBINARY, XML, uniqueidentifier (GUID), spatial types and more. Values convert to the closest equivalent in the target format with no data truncation.
Referential Integrity Export
Foreign key relationships and constraint definitions exported in correct dependency order. SQL script output generates tables before inserting data, with referential integrity maintained so the target database imports cleanly on the first attempt.
Corrupted MDF Recovery
Advanced recovery engine reads accessible table data from detached, offline or mildly corrupted MDF files that SQL Server can no longer attach. Extracts maximum recoverable rows from each table before any repair attempt.
100% Offline Processing
No SQL Server, no SSMS, no internet connection, no cloud upload. Everything runs locally on your Windows machine. Your database contents remain completely private - ideal for sensitive financial, medical or legal data.
How It Works
Convert your SQL Server MDF database to any format in four easy steps.
Quick Start Guide
Comparison
See how Univik MDF Converter compares to manual SQL scripts, online tools and other converters.
Univik MDF Converter
Manual Scripts & Online Tools
Customer Reviews
What Our Customers Say
Real testimonials from DBAs, developers and forensic analysts who converted their SQL Server databases.
Technical Data Sheet
Complete product specifications, system requirements and compatibility information.
VirusTotal Score: Clean
Verified by 70+ antivirus engines. 100% safe to download and use.
Supported Input File
MDF - SQL Server Primary Data File:
• SQL Server 2000, 2005, 2008, 2008 R2
• SQL Server 2012, 2014, 2016, 2017
• SQL Server 2019, 2022
• Express, Standard, Enterprise, Developer
• Detached, offline and corrupted files
Unlimited database size supported.

| Product Name: | Univik MDF File Converter |
| Version: | 6.3 (Latest) |
| File Size: | 18.4 MB |
| License Delivery: | Instant via Email |
| Free Trial: | Free Download 100% Safe & Secure |
Latest Release
Version 6.3 Features
| Trial Limitations: | Free demo allows unlimited schema browse and data preview. Export limited to first 50 rows per table. Purchase license for unlimited conversion. |
| Hard Disk: | 50 MB free (500 MB recommended for large exports) |
| RAM: | 2 GB minimum (4 GB recommended for large databases) |
| Processor: | Intel Core i3 or equivalent |
| Platforms: |
|
| Prerequisites: |
|
Migration Guides
Detailed guides for migrating SQL Server MDF data to popular database platforms and formats.
Common scenario: Legacy Windows app moving to Linux stack
Common scenario: Export data for reporting or handoff to non-technical team
Common scenario: Seed a new web API or NoSQL database from legacy data
Use Cases
Real-world scenarios where Univik MDF Converter provides the ideal data extraction and migration solution.
Database Migration Projects
IT teams migrating legacy SQL Server workloads to MySQL, PostgreSQL or cloud databases. Batch export all tables with schema and relationships in one pass.
Digital Forensics & eDiscovery
Forensic analysts extracting database evidence from seized MDF files offline. PDF and CSV exports provide court-admissible records without altering original files.
Compliance & Audit Archiving
Organizations archiving SQL Server data for GDPR, HIPAA or SOX compliance. Export filtered data sets as PDF or Excel reports for regulatory submissions and audit trails.
Decommissioning & Backup
Exporting all data before decommissioning a SQL Server or letting a licence expire. Create permanent, format-agnostic archives that don't require SQL Server to read.
Disaster Recovery
Recovering data from a detached or corrupted MDF after server failure. Extract readable rows from damaged databases before committing to a costly restore operation.
Developer Data Seeding
Developers seeding staging or development environments from production MDF backups. JSON and SQL script exports integrate directly into CI/CD pipelines and new platform deployments.
File Locations
Quick reference guide to locate SQL Server MDF database files on your system.
SQL Server 2012 and later:
C:\Program Files\Microsoft SQL Server\MSSQL[version].MSSQLSERVER\MSSQL\DATA\
SQL Server 2008 R2:
C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\
SQL Server Express:
C:\Program Files\Microsoft SQL Server\MSSQL[version].SQLEXPRESS\MSSQL\DATA\
Replace [version] with the numeric version (e.g. MSSQL16 for 2022, MSSQL15 for 2019)
Query the current data path (run in SSMS):
SELECT name, physical_name FROM sys.database_files WHERE type_desc = 'ROWS';
Find all MDF files via Windows Search:
Search in Explorer: *.mdf (include system locations)
The MDF file is the primary data file. Each database also has an LDF (log) file - you only need the MDF for conversion.
Detach via SSMS:
Or detach via T-SQL:
EXEC sp_detach_db 'YourDatabaseName', 'true';
Univik MDF Converter can also open MDF files directly without detaching - useful for read-only forensic access.
If you only have a .BAK file:
Common scenario: recovering data from an old server backup when the original SQL Server is no longer available.
Help & Support
Find answers to common questions about Univik MDF Converter.
An MDF (Master Database File) is the primary data file for a SQL Server database. It stores all tables, views, stored procedures and data. You need to convert MDF files when: (1) Migrating to another database engine such as MySQL or SQLite, (2) Exporting data for reporting in Excel or PDF, (3) Recovering data after SQL Server failure, (4) Archiving databases before decommissioning a server, or (5) Performing forensic analysis on seized database evidence. If you only need to browse and inspect an MDF file without converting anything, the free Univik MDF Viewer is the right starting point.
No, SQL Server is not required. Univik MDF Converter reads the MDF file format directly using its own engine. You do not need SQL Server, SQL Server Management Studio (SSMS), .NET Framework or any other prerequisites. Install the converter and open your MDF file immediately on any Windows PC.
All editions and versions are supported: SQL Server 2000, 2005, 2008, 2008 R2, 2012, 2014, 2016, 2017, 2019 and 2022. Supported editions include Express, Standard, Enterprise, Developer and Web editions in both 32-bit and 64-bit versions. The converter also handles MDF files from SQL Server LocalDB and SQL Server Compact.
Yes. The built-in recovery engine reads accessible table data from detached, offline and mildly corrupted MDF files that SQL Server can no longer attach. Severely corrupted files may have partial data, but the converter extracts as many readable rows as possible before any repair operation - giving you a data snapshot for immediate use.
Yes, unlimited database size. Univik MDF Converter uses efficient streaming export to handle large databases. Tested with MDF files exceeding 50 GB and individual tables containing tens of millions of rows. Memory usage remains stable regardless of table size through paginated data processing.
Row and column filtering is built in. Before exporting, use the filter panel to: (1) Select which columns to include in the export, (2) Filter rows by column value (equals, contains, greater than, etc.), (3) Filter by date range on any date/datetime column, (4) Exclude NULL rows. This is especially useful for GDPR-compliant exports where certain PII columns must be excluded.
Your data is completely safe and private. Univik MDF Converter is a desktop application that works 100% offline. Your database contents are never uploaded to any server. All processing happens locally on your computer. No telemetry, no cloud storage, no third-party data sharing. Ideal for sensitive financial, medical and legal databases.
Yes, full schema migration. The MySQL export includes: table definitions with correct data type mapping, primary keys, foreign key constraints, unique indexes, non-unique indexes and CHECK constraints. Tables are exported in foreign key dependency order so the import script runs without disabling constraint checks. The SQL script is ready to execute directly in MySQL Workbench or the mysql CLI.
The free trial provides full functionality for evaluation: open any MDF file, complete schema browse, full data preview for all tables and rows, all export format options available. Export is limited to the first 50 rows per table. Purchase a full licence ($29) for unlimited row export across all tables.
Still have questions? Contact support or Live Chat
Not ready to convert yet? Start with the free MDF Viewer.
If you just need to browse tables, inspect schema or check record counts before committing to a migration, use the completely free Univik MDF Viewer — no trial limits, no payment required.
Related Products
Explore More Univik Tools
MDF File Viewer
Free read-only viewer for SQL Server MDF files. Browse tables, inspect schema and preview records — no SQL Server needed and no conversion required.
Learn MorePST File Viewer
Free viewer for Microsoft Outlook PST files. Open and read emails, contacts and calendar data without Outlook installed.
Learn MoreFile Converter
Browse all Univik file converter tools covering email, database, document and archive formats for any migration scenario.
Learn More