XML to SQL
Generate draft SQL DDL or INSERT statements from repeating XML rows.
All processing on this page runs locally in your browser unless noted otherwise.
Ctrl/⌘ + Enter to run
Draft only — review keys, indexes and SQL dialect.
XML
SQL
How to use
- Paste XML with repeating row elements.
- Choose DDL or INSERT and set table/row tag.
- Copy the SQL and refine in your DB tool.
FAQ
Which dialect?
Generic SQL. Adjust types per engine.
Is generation local?
Yes.