Batch import data from JSON files to SQL Server without programming

Want to batch import data from files to SQL Server ?

Using JsonToMsSql, you can batch import data from JSON files to SQL Server easily and fast, no need to program, just a few mouse clicks!

Here you can download and install JsonToMsSql.

Batch import data from JSON files to SQL Server

Click “Wizard – N Files To 1 Table” at task dialog.

Batch import JSON files data To SQL Server - task window

then show the wizard.

1. Select a folder that constains JSON files.

Batch import JSON files data To SQL Server - select a folder

2. Select a table and config fields.

Bulk load JSON files data To SQL Server - select table

3. Preview data.

Batch transfer JSON files data To SQL Server - preview

4. Import.

Batch copy JSON files data To SQL Server - import data


More about JsonToMsSql – the tool to batch import data from JSON files to SQL Server

30-day free trial Download JsonToMsSqlUS$59.95 Buy JsonToMsSql

JSON → SQL Server reference

Type mapping

Value kindin JSONin SQL Server
Int1234 (number)int
Bigint9007199254740993bigint
Decimal1234.56 (number)decimal(p,s)
Float1.234e10 (number)float
Text"text" (string)nvarchar(n)
Long text"multi-line\ntext" (escaped newline inside a string)nvarchar(max)
Date"2026-09-18" (string)date
Datetime"2026-09-18T14:30:00Z" (string)datetime2
Binary"base64:..." (string)varbinary(max)
Booleantrue / false (boolean)bit
JSONnested object or array, kept as structurenvarchar(max)

Dialect differences

JSON is a file format and SQL Server is a database server, so the target has to be told the types the file never carried – the rows below are where the two sides diverge.

Propertyin JSONin SQL Server
port—1433
identifiersDouble quotes; backslash escapes[square brackets]
row limit—SELECT TOP n
datesNo date type: dates arrive as strings and the reader must p...datetime, datetime2, date, time
long text—nvarchar(max)
binaryNot supported natively - base64 inside a stringvarbinary(max)
separatorBraces and commas—
encodingUTF-8 by definition—
typingstring, number, boolean, null, object, array - no date type—
shapeNested objects and arraysTables of rows and columns
ceilingWhole document is usually parsed into memory—

Command line

SideCommand
SQL Serverbcp
SQL Server (load)bcp, or BULK INSERT

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.


Posted

in

by