Bring a small table
Paste CSV or TSV with a header row. Cell values stay text, keeping IDs and leading zeros as supplied.
Writing & development / Made for the task at hand
Convert a CSV table into SQL INSERT statements for PostgreSQL, SQLite or MySQL. Quote identifiers and text values, batch rows and optionally add a TEXT-only CREATE TABLE.
Add your source, or try the example, then choose “Generate my SQL”.
Results are temporary. Download anything you want to keep.
A practical little workflow
Paste CSV or TSV with a header row. Cell values stay text, keeping IDs and leading zeros as supplied.
Select PostgreSQL, SQLite or MySQL, set the table name and optionally generate a TEXT-only schema.
Download SQL in batches of 100 rows. Run a small test against a disposable database before using it with important data.
Before you get started
Built for a focused job.
Review important results before use.
No. Values are quoted as text and the optional CREATE TABLE uses TEXT columns. Adjust the schema and casts yourself for typed tables.
PostgreSQL uses standard_conforming_strings enabled. MySQL output assumes NO_BACKSLASH_ESCAPES is disabled. Review your database settings before execution.
No. It only generates a local file. It cannot validate an existing schema, handle relationships, bypass constraints or recover data after execution.
Working text and local files are processed in this browser tab and are not sent to a server or an AI service. Reloading clears this workspace. Optional analytics and feedback have separate privacy controls; see Privacy below.