Convert CSV to SQL, free in your browser
Generate SQL INSERT statements from CSV or TSV rows, quoting table columns and text values safely.
How to convert CSV to SQL
- Choose a CSV or TSV file.
- Choose whether the first row contains column names.
- Convert and download the SQL script.
Limits & good to know
- CSV and TSV files up to 50 MB are processed on your device.
- Values are emitted as text literals for a table named csv_data; adjust the table and column types to match your database before running the script.
Frequently asked questions
- Are my files uploaded to a server?
- Your files are processed on your device, not uploaded to our servers. Your file and edits are saved in this browser for recovery, and previous documents remain in Saved drafts when you open another file. Use Saved drafts to resume or delete individual copies, or clear this site’s browser data to remove all copies. Browser storage can be cleared or become unavailable; download important work.
- Does this detect numbers and dates?
- No. Values are quoted as text to avoid changing identifiers, leading zeros, dates, or other original values.
- Is this really free, or free "until you hit a limit"?
- Really free. Unlike most "free" PDF sites there is no task-per-day cap, no locked Pro features, no watermark stamped on your file, and no payment step before download. Every tool is the full tool.