Local StudioDATABASE TOOLS JSON to MDF Converter
100% Offline Download Tool Tools Catalog

JSON to MDF

Convert JSON to MDF by declaring a SQL Server table, checking the mapped values, and downloading the new data file.

Source JSON

MDF Output

Target
SQL Server 2025
File Format
Primary Data File (.mdf)

Open a JSON file to see suggested column mappings.

Instructions

  1. Choose a UTF-8 JSON array or select Open Sample.
  2. Enter the dbo table name. Review the proposed SQL columns and adjust their types, widths, nullability, and optional integer primary key. For the sample, enable Allow Missing as SQL NULL for Price.
  3. Select Review Mapping. Check the mapped declarations, row preview, and any rejected values. Select Create MDF when the review is clear, then Download MDF.
  4. Attach a scratch copy to SQL Server 2025 Express LocalDB using CREATE DATABASE [JsonImport] ON (FILENAME = N'C:\Temp\Orders.mdf') FOR ATTACH_REBUILD_LOG. Replace the example path with your copy. Run DBCC CHECKDB (N'JsonImport') and query the mapped dbo table.

Creates one new dbo table per UTF-8 JSON file. Inputs are limited to 32 MiB and 1,024 distinct fields. Exact integers and decimals, booleans, and Unicode text are supported, with an optional integer primary key. The writer is bounded by declared row width, storage capacity, and a 60 MiB typed-row budget. Native attachment was tested on SQL Server 2025 Express LocalDB 17.0.4025.3.

Security Check

JSON to MDF

Map local JSON records and create an MDF on your device.

  • Open JSON RecordsLoad a UTF-8 array on your device.
  • Review Column MappingsChoose names, types, and missing-property behavior.
  • Create the Data FileDownload a new SQL Server 2025 primary MDF.

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

    The converter uses only the selected JSON file or the included sample. The new MDF is written separately on your device.