Excel to SQL Converter

Convert an Excel file into SQL INSERT statements for PostgreSQL, MySQL, SQL Server, Oracle or SQLite. Free, in your browser.

How to use the Excel to SQL Converter

Generate CREATE TABLE and INSERT statements from sample data.

  1. Load sample data
  2. Review the column types
  3. Pick a database and copy

Tips

Example

Input: orders.xlsx (first sheet)

Output: CREATE TABLE orders (...); INSERT INTO orders VALUES (...);

Frequently asked questions

Which Excel files work?

Modern .xlsx files. The first sheet is read, and the first row becomes the column names.

Is my Excel file uploaded?

No. It is read in your browser and never sent to a server.

Does it connect to my database?

No. It only writes the SQL for you to run yourself.

Guides