Inkwell Data / File converter / Excel to SQL
Convert Excel to SQL
Turn an Excel sheet into CREATE TABLE and INSERT statements for any SQL database.
How it works
You get a CREATE TABLE statement with a column per header, then INSERT statements in batches of 500 rows. Columns where every value is a number are typed as NUMERIC; everything else, including IDs with leading zeros, stays TEXT.
Drop your .xlsx file above, pick the sheet if there are several, set the table name, and click Convert & download. Tick Convert all sheets to get one SQL file per sheet.
Other conversions
Questions
Which databases does it work with?
The statements use standard SQL with double-quoted names, which PostgreSQL, SQLite, DuckDB and Oracle accept as-is. For MySQL, enable ANSI_QUOTES; for SQL Server, run SET QUOTED_IDENTIFIER ON.
Can I choose the table name?
Yes. It starts as a tidy version of the file name, and you can type any name before converting.
Are my files uploaded anywhere?
No. The conversion happens in your own browser. There is no server receiving your data, no account and no daily limit.