Import data from XML file to Azure

Want to import data from XML file to Azure?

Try Withdata FileToDB, a desktop XML to Azure converter for Windows, MacOS, and Linux, Convert XML to Azure, Easy and Fast.

Download Withdata FileToDB Download FileToDB

Import data from XML file to Azure

Login to Azure -> Choose XML file -> Set Azure table -> Import XML to Azure

Choose Azure and logon.

load XML data to Azure table - Choose Azure and logon

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

import XML data to Azure table - task window

Select the “XML” file type.

Import XML file data to Azure table - select file type

then show the wizard.

1. Open a XML file.

Support large ( > 4GB ) XML file.

Import Data From XML File To Azure - open XML file

Here is the file’s content.

Import Data From XML File To Azure - source XML file

2. Select a Azure table and config fields.

Load Data From XML File To Azure - select table

3. Preview data will be in Azure table.

Transfer Data From XML File To Azure - preview

4. Import XML data to Azure.

Import Data From XML File To Azure - import data

View imported data in Azure table

Convert XML to Azure - view data


More about XML to Azure converter

See also:

XML → Azure SQL reference

Type mapping

Value kindin XMLin Azure SQL
Int<int>1234</int>int
Bigint<bigint>9007199254740993</bigint>bigint
Decimal<decimal>1234.56</decimal>decimal(p,s)
Float<float>1.234e10</float>float
Text<char>text</char>nvarchar(n)
Long text<text>multi-line text</text> (entities for &amp; &lt;)nvarchar(max)
Date<date>2026-09-18</date> (xs:date with an XSD)date
Datetime<datetime>2026-09-18T14:30:00Z</datetime> (xs:dateTime)datetime2
Binary<blob>base64...</blob> (xs:base64Binary)varbinary(max)
Boolean<bool>true</bool>bit
JSONescaped inside an element, or its own sub-treenvarchar(max)

Dialect differences

XML is a file format and Azure SQL 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 XMLin Azure SQL
port—1433
identifiersAttribute values in quotes; entities (&amp; &lt; &gt;) for ...[square brackets]
row limit—SELECT TOP n
datesText (xs:date / xs:dateTime when an XSD is in play)datetime2, date, time
long text—nvarchar(max)
binarybase64Binary / hexBinary inside textvarbinary(max)
separatorTags, not delimiters—
encodingDeclared in the XML declaration—
typingNone in the markup itself—
shapeArbitrary treeTables of rows and columns
ceilingWhole document is usually parsed into memory—

Command line

SideCommand
Azure SQLbcp
Azure SQL (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

Tags: