‹ Back ✦ AI Chat
SQL→CSV

SQL INSERT to CSV

Turn INSERT statements from a SQL dump into CSV.

3
Rows
1
Tables

Runs entirely in your browser. Nothing is sent anywhere.

How it works

  1. 1Paste or type your text.
  2. 2Choose the options you need.
  3. 3Copy or download the result.

About this tool

SQL INSERT to CSV: Turn INSERT statements from a SQL dump into CSV. Paste your text and the result appears immediately, ready to copy or download. Everything happens locally in your browser — nothing you paste is uploaded or stored.

Example

Input

INSERT INTO `users` (`id`, `name`, `email`, `note`) VALUES
(1, 'Ana Silva', 'ana@example.com', NULL),
(2, 'O''Brien, Ben', 'ben@example.com', 'likes \'quotes\'');
INSERT INTO users (id, name, email, note) VALUES (3, 'Chloé', 'chloe@example.com', 'a;b');

Output

id,name,email,note
1,Ana Silva,ana@example.com,
2,"O'Brien, Ben",ben@example.com,likes 'quotes'
3,Chloé,chloe@example.com,a;b
How do I use the SQL INSERT to CSV?

Paste or type your text. Choose the options you need. Copy or download the result.

Is the SQL INSERT to CSV free?

Yes. It is completely free with no sign-up, no usage limits and no watermark.

Is my data sent to a server?

No. Everything is calculated locally in your browser. Nothing you enter is uploaded, logged or stored.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, iPad, Windows, Mac and Linux — no app needed.