Convert Excel workbooks to SQL online. Choose your sheet, convert multiple files and download each result. No account required.
Convert your workbooks
Add as many files as you need. Up to 128 MiB per file. Keep this tab open until your downloads finish.
Sheet and conversion options
The first sheet is used by default. New options apply to files you choose or retry next. Exported values use stored formula results; formatting and workbook features are not included. SQL columns use TEXT by default to preserve identifiers. Choose another type only for cells of that actual type.
Conversion starts as soon as you choose files. Files download automatically when ready. Your browser may ask to allow multiple downloads.
Prepare worksheet data for a database
Create a table definition and INSERT statements from a worksheet.
Set an optional sheet choice before choosing files. Downloads start automatically; use View to inspect a result.
How it works
Choose optional sheet and conversion settings before choosing files. The first sheet is used by default.
Choose one or more XLSX workbooks to start converting automatically. Follow each file’s progress.
Downloads start when ready. Use View for a preview or Add more files to add another batch.
Output and limitations
SQL output is a script to review before execution. The browser does not connect to a database or run the generated statements.
Keep a copy of your original workbook and review downloaded results before using them.
A small conversion example
For this fictional Inventory sheet, SKU cells are text, Quantity contains a number and an empty cell, and Note contains ordinary text. Formula expressions and formatting are outside this data export.
Example worksheet values
Inventory worksheet
SKU Quantity Note
001 2 A & B
002 (blank) O'Brien
Browser SQLite output with default TEXT columns
-- SQLite values-only export; review before execution.
CREATE TABLE "Inventory" (
"SKU" TEXT,
"Quantity" TEXT,
"Note" TEXT
);
INSERT INTO "Inventory" ("SKU", "Quantity", "Note") VALUES ('001', '2', 'A & B');
INSERT INTO "Inventory" ("SKU", "Quantity", "Note") VALUES ('002', NULL, 'O''Brien');
Other ways to work with this Excel task
Run these examples on your own computer with copies of your files. The commands are separate alternatives to the browser tool; their type handling and workbook preservation can differ.
Create a SQLite import script with Python
Quote identifiers and values, then write a reviewable SQL script without contacting a database.
Before you start
Install Python 3. Create the environment below, save the Python example as task.py, then run .venv/bin/python task.py in the folder containing input.xlsx. On Windows, use py -m venv .venv and .venv\Scripts\python.exe in place of .venv/bin/python. Replace Inventory with your worksheet name.
from openpyxl import load_workbook
workbook = load_workbook("input.xlsx", read_only=True, data_only=True)
sheet = workbook["Inventory"]
rows = sheet.iter_rows(values_only=True)
headers = list(next(rows))
if any(not isinstance(key, str) or not key.strip() for key in headers):
raise ValueError("Use nonblank text headers in the first row")
if len(set(headers)) != len(headers):
raise ValueError("Use unique headers")
records = [dict(zip(headers, row)) for row in rows]
workbook.close()
def identifier(text):
return '"' + text.replace('"', '""') + '"'
def literal(value):
return "NULL" if value is None else "'" + str(value).replace("'", "''") + "'"
columns = ", ".join(identifier(name) + " TEXT" for name in headers)
statements = [f'CREATE TABLE "inventory" ({columns});']
for record in records:
values = ", ".join(literal(record[name]) for name in headers)
statements.append(f'INSERT INTO "inventory" VALUES ({values});')
with open("output.sql", "w", encoding="utf-8") as output:
output.write("\n".join(statements) + "\n")
Run the saved example
.venv/bin/python task.py
Limits and output
These data recipes use saved cell results, not recalculated formulas. They do not copy charts, styles, macros or workbook relationships. Keep the original file.
The script targets SQLite and deliberately stores non-null values as TEXT. It creates a new inventory table and fails if it exists. Review before execution; do not apply it to a production database as a test.
Choose SQLite or PostgreSQL, set the table and column types, and review the exact SQL preview. Other database dialects are not offered.
Are formulas recalculated during conversion?
Data exports use stored cell results. To change formulas or check calculations, open the original workbook in the editor, save a copy, then choose that copy here.
Is my workbook uploaded to a server?
The anonymous browser file tools process workbook contents locally. The website still makes ordinary requests for pages and sample files. Read the privacy page for details.
Which Excel files can I convert?
Each XLSX input can be up to 128 MiB. This is a per-file limit for batch conversions, rather than a combined batch limit. Expanded workbook data and output still need to fit the browser tool's processing limits. Legacy XLS files and password-protected or encrypted workbooks are not supported.