Input
๐ก Paste an XML document below. Repeated elements become child tables; single child elements are flattened into 1:1 columns; attributes and text become fields. Types are detected automatically.
All processing happens locally in your browser โ no data is sent anywhere.
๐ An
๐ Schema: PostgreSQL uses a schema, MySQL uses a database, SQLite has no schema.
โ ๏ธ Generated code is provided "as is". Always verify generated SQL before running on production databases. Read our Terms of Service.
All processing happens locally in your browser โ no data is sent anywhere.
๐ An
id attribute/element becomes the PRIMARY KEY (no autoincrement), like in the JSON tool.
๐ Schema: PostgreSQL uses a schema, MySQL uses a database, SQLite has no schema.
โ ๏ธ Generated code is provided "as is". Always verify generated SQL before running on production databases. Read our Terms of Service.
Treat every element with this name as one record. Useful when records are not a single repeated group at the root.
SQL Result
โ
Generated SQL code appears here