Local StudioDATABASE TOOLS MDF to CSV Converter 100% Offline Download ToolTools Catalog

MDF to CSV

Export selected SQL Server tables to CSV files in a ZIP.

Conversion Progress

0.0 s
Ready

Choose an MDF and its companion files or open the sample.

Source · SQL Server

Destination · CSV

One UTF-8 CSV per Table .zip

Tables and CSV Options
CSV Options

Adds an apostrophe before formula-like text, including column names. Numeric columns stay exact.

Open an MDF to choose tables.

Security Check

MDF to CSV

Save selected SQL Server tables as CSV files.

  • SQL Server FilesOpen an MDF with any required NDFs.
  • Choose TablesPick the tables you want to export.
  • Save ZIPGet one CSV per selected table.

Local Security Check

Checking This Tool

Checking the launch, browser policy, and resources.

    These checks cover this tool page. Website links open only when selected.

    File Access

    Open the built-in sample or choose the MDF and matching NDFs. The converter reads these files locally and creates a separate ZIP.

    MDF to CSV Instructions

    Quick Start

    1. Choose one SQL Server MDF and its matching NDF files, or click Open Sample.
    2. Choose the tables to share. The displayed row and column counts come from the database catalog. Open Inspect Columns to see names, types, and the CSV filename.
    3. Review CSV Options, then select Export CSV. Use Download or Save As when available.

    CSV Options

    The ZIP contains one UTF-8 file per selected table, with a header and the original column order. Choose comma, semicolon, or tab, CRLF or LF line endings, and an optional UTF-8 marker. SQL NULL becomes an empty field. Formula protection is on by default and adds an apostrophe to formula-like text, including column names. Import identifiers and high-precision numbers as text if your spreadsheet would otherwise change their display or precision.

    Supported Data

    Use a clean snapshot with all required NDFs. The reader supports ordinary stored tables with supported scalar types and a combined input of up to 2 GB. Tables with binary fields or other unsupported columns stay unavailable. Encrypted files, logs, and special storage layouts are outside scope. An unreadable value or text that cannot be encoded faithfully stops the export. CSV omits database schema and cannot distinguish NULL from empty text. The uncompressed ZIP is held in browser memory and uses standard ZIP size limits.