CSV to MDF Instructions

  1. Open a UTF-8 CSV with a comma delimiter and header row, or select Open Sample.
  2. Name the dbo table and review the column mappings. Choose what to do with blank cells for each numeric column.
  3. Select Check Mapping to preview the mapped rows. Correct any rejected values, then select Create MDF and Download.

Text mappings keep their characters as written, including spaces and leading zeros. Numeric mappings use the original tokens. A decimal with more fractional digits than its scale is rejected.

The file is a primary MDF for the tested SQL Server 2025 LocalDB build 17.0.4025.3. Attach a copy using the log rebuild option. The converter supports one dbo table and an optional single integer primary key.