Convert CSV to MySQL online

Add file

Input file

Our API accepts one or multiple .CSV files as input. The .CSV files must comply with our CSV specification.

Max file size for web uploads: 50 GB
Register to upload big files via Amazon S3.

Output file

The API will return a ZIP archive that contains a .SQL file. This .SQL is a MySQL dump file and can be restored into your MySQL installation.

Conversion methods

Using CURL

Replace file.csv with the path to the file you want to convert.
The file output.zip will contain a MySQL .SQL file with your data or the error message if something went wrong.

curl -F files[]=@file.csv 'https://www.rebasedata.com/api/v1/convert?outputFormat=mysql&errorResponse=zip' -o output.zip

How long does it take?

The conversion process takes between 15 seconds and multiple minutes. It depends on the size of the database.

Why use RebaseData?

Terms