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.

Draft only — review keys, indexes and SQL dialect.

XML

SQL

How to use

  1. Paste XML with repeating row elements.
  2. Choose DDL or INSERT and set table/row tag.
  3. Copy the SQL and refine in your DB tool.

FAQ

Which dialect?

Generic SQL. Adjust types per engine.

Is generation local?

Yes.

Related tools