Upload Your SQL
Select or drag in a UTF-8 .sql file containing MySQL or MariaDB INSERT INTO statements.
Transform MySQL or MariaDB INSERT statements into well-formed UTF-8 XML with preserved columns, typed fields, escaped characters, and consistent row elements.
Transform database insert records into portable XML in three simple steps.
Select or drag in a UTF-8 .sql file containing MySQL or MariaDB INSERT INTO statements.
Optionally enter a table filter, then convert. Without a filter, the first table containing insert rows is selected.
Download a well-formed .xml document containing typed fields organized beneath consistent row elements.
A dependable way to transform relational insert data into portable markup for integrations and data exchange.
Every inserted record becomes a numbered <row> with one named field for each selected table column.
Each field records whether its value is a string, integer, number, boolean, or null using a clear type attribute.
Large dumps can contain several tables. Choose the table you need without mixing unrelated records into one XML.
An SQL dump is a text representation of database structure and data. MySQL and MariaDB exports commonly use CREATE TABLE statements for schemas and INSERT INTO statements for stored rows. This converter safely reads those statements as text and never executes uploaded SQL.
XML is widely used for enterprise integrations, document exchange, feeds, APIs, import systems, test fixtures, and legacy applications. Extracting an SQL table to XML makes database records portable without requiring a running database server.
The document uses a <database-export> root containing numbered rows. Every column becomes a <field> whose name is stored safely as an attribute, allowing unusual database column names without creating invalid XML element names.
Helpful answers about supported statements, SQL tables, XML output, and file handling.
Upload the .sql dump, optionally enter a table filter, click “Convert to XML,” and download the generated .xml file.
The converter extracts MySQL or MariaDB-style INSERT INTO ... VALUES statements and can read matching CREATE TABLE definitions.
Yes. The tool can be used without registration or special conversion software.
Yes. Enter the exact table name in the optional filter. If left blank, the first table containing supported insert rows is converted.
Yes. Each parenthesized value group becomes a separate row element in the output XML document.
No. The file is parsed strictly as text. No database connection is opened and no uploaded statement is executed.
Ampersands, angle brackets, quotation marks, apostrophes, and Unicode text are safely encoded for well-formed UTF-8 XML.
The upload limit is 25 MB, with a maximum of 50,000 rows and 500 fields.
The original SQL file is deleted immediately after conversion. Generated XML files older than 24 hours are removed automatically.
It may use unsupported COPY or vendor-specific syntax, lack INSERT column lists and a CREATE TABLE schema, contain unfinished quotes, or exceed a file limit.