Converter
Paste XLSX below, press Convert, and copy the SQL INSERT output.
Picking a file reads its first sheet into the input box.
Convert XLSX to SQL free in your browser. Paste your XLSX on the left, press Convert, and copy clean SQL INSERT on the right. No sign-up, no uploads.
Paste XLSX below, press Convert, and copy the SQL INSERT output.
Picking a file reads its first sheet into the input box.
When you pick a file, the SheetJS library reads the first worksheet into a grid in memory, and the first row becomes the column headers for every row below it. That grid is exactly what you see staged in the input box as JSON, and pressing Convert reshapes it into SQL INSERT with types preserved from the cells.
Set the table name before converting, and check that the auto-detected columns match your schema, adding NOT NULL defaults or indexes afterwards in your own migration. The single multi-row INSERT keeps imports fast, and because strings are escaped with doubled quotes, the output runs as-is in MySQL, MariaDB, PostgreSQL and SQLite.