PufferKit
HomeDataDeveloperCSV to SQL INSERT
Default
India11
East Asia3
Other Countries3
Buy me a coffee

CSV to SQL INSERT

Generate SQL INSERT statements and CREATE TABLE DDL directly from CSV rows.

Input

Your input is processed locally in this browser tab.

How to use CSV to SQL INSERT

  1. Select your SQL dialect (PostgreSQL, MySQL/MariaDB, SQLite, or SQL Server) and table name.

  2. Configure Rows per INSERT, optional CREATE TABLE DDL generation, and Empty → NULL behavior.

  3. Paste or load CSV data and copy or download the generated .sql file.

Frequently asked questions

How are single quotes inside CSV text cells escaped?

Single quotes are doubled ('') per standard SQL string escaping.

Can I preview column SQL types automatically?

Yes. Check CREATE TABLE to infer INTEGER, FLOAT/DOUBLE, BOOLEAN/BIT, or TEXT/VARCHAR columns.

A LITTLE SUPPORT GOES A LONG WAY

Enjoying PufferKit?

If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

Support
With or without a coffee, you’re always welcome here.

Processing locally

File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

How it works →

Find a tool

Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages