Excel to SQL
Get ready-to-run INSERT statements, with an optional CREATE TABLE that guesses column types, for MySQL, PostgreSQL, SQL Server or SQLite. Excel files (XLSX, XLS or ODS) hold tables in sheets; every sheet can be converted, with the first row used as column names.
🔒 Your files are processed on your device and are never uploaded.
How to use
- 1Choose your Excel file (XLSX, XLS or ODS).
- 2Check the preview and adjust the options if you need.
- 3Copy the SQL or download it as a file.
Frequently asked questions
How do I convert Excel to SQL?
Choose your Excel file (XLSX, XLS or ODS). The SQL result appears instantly; then copy it or download it.
Is my data uploaded?
No. The conversion runs inside your browser, so your data never leaves your device. It works with large files too.
Which databases are supported?
MySQL / MariaDB, PostgreSQL, SQL Server and SQLite. Names and text are quoted the right way for each one, and you can add CREATE TABLE with guessed column types.
What about files with several sheets?
You can convert one sheet or, where the format allows, all sheets at once. The first row of each sheet is used as the column names.