Online SQL to CSV Converter

Input data
bfotool loadding
Output data
bfotool loadding

SQL to CSV converter simplest

This free online tool lets you convert a SQL file into a CSV file.Just paste your SQL in the form below and it will instantly get converted to CSV No need to download or install any software. Free

Tool what is a SQL to CSV converter?

This SQL to CSV converter transforms SQL data and files into CSV data and files. This converter allows customizing input SQL and output CSV It also accepts SQL files with custom column delimiter characters and field quote characters. It supports comment lines and you can optionally ignore empty lines. You can also change how many spaces to use in the output CSV indentation.

How to Convert SQL to CSV?

Step 1: Select your input. Enter Data.

Step 2: Choose output options (optional) Output Options.

Step 3: Generate output.

SQL To CSV Example

Input Data

    name CHAR(20),
    age CHAR(2)

INSERT INTO peoples VALUES (1, 'name 1', '22');
INSERT INTO peoples VALUES (2, 'name 2', '33');
INSERT INTO peoples VALUES (3, 'name 3', '44');
INSERT INTO peoples VALUES (4, 'name 4', '55');

SELECT * FROM peoples

Output Data

1,name 1,22
2,name 2,33
3,name 3,44
4,name 4,55