Run it. Get results.
CSV to SQL Converter
Turn a CSV or Excel sheet into CREATE TABLE and INSERT statements for MySQL, PostgreSQL or SQLite.
We're building this tool now, and it isn't ready to use yet. Please check back soon. In the meantime, pick another tool from the list.
More in Database: SQL Formatter ER Diagram Maker (soon) SQL Query Builder (soon) SQLite Viewer (soon)
About the CSV to SQL Converter
A CSV to SQL converter turns a spreadsheet or CSV file into SQL statements: a CREATE TABLE with sensible column types, and INSERT statements for every row.
What it will do
- CSV and Excel files to CREATE TABLE and INSERT
- MySQL, PostgreSQL, SQL Server and SQLite
- Column types guessed, and editable
- Quotes and special characters escaped safely
Questions
Will it upload my file?
No: the file will be read in your browser.
Will it be free?
Yes, as the other online tools.
Which databases?
MySQL, PostgreSQL, SQL Server and SQLite.
How it works
Text values are escaped so a name like O'Brien doesn't break the SQL.
Very large files are best imported with the database's own bulk tools; the converter will say so.
Example
A teacher turns a class list in Excel into SQL to load into the school's database exercise.
No tool matches that. Try another word.
Mathematics
Mathematics
Utilities
Utilities
Image
Image
Language
Language
Networking
Networking
Finance
Finance
Cybersecurity
Cybersecurity
Text
Text
Date
Date
Measurement
Measurement
Audio
Audio
Health
Health
Nutrition
Nutrition
Time
Time
Weather
Weather
Document Processing
Document Processing
Productivity
Productivity
Career
Career
Business
Business
Video
Video
Education
Education
Statistics
Statistics
Chemistry
Chemistry
Physics
Physics
Construction
Construction
Electrical Engineering
Electrical Engineering
Programming
Programming
Graphic Design
Graphic Design
Computer Science
Computer Science
Database
Database
Music
Music
Digital Electronics
Digital Electronics
Electronics Engineering
Electronics Engineering
Advertisements
Advertisements