Convert MSSQL to CSV online

Input file

The API accepts MSSQL files as input. This can be a MSSQL script file with the extension .SQL, a MSSQL database file with the extension .MDF or a MSSQL backup file with the extension .BAK.

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 of .CSV files, one for each table in the given database file. The CSV files comply with our CSV specification.

Conversion methods

Using our Java tool

Download the RebaseData client Java tool . To convert your database using RebaseData, run the following command:

                    java -jar client-0.0.5.jar convert --output-format=csv file.sql/mdf/bak output-dir/
                
Using CURL

Replace file.sql/mdf/bak with the path to the database you want to convert.
The file output.zip will contain a CSV file, one for each table in the given database file. If something went wrong, output.zip contains the error message.

curl -F files[]=@file.sql/mdf/bak 'https://www.rebasedata.com/api/v1/convert?outputFormat=csv&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