SQL-to-CSV Export Helper
Get the command that exports a query's rows to CSV from PostgreSQL, MySQL, SQLite, SQL Server or BigQuery, or turn a pasted result table into CSV.
Runs in your browser. Nothing is uploaded.
Loading the app…
Related apps
How to use it
- Does it run my query?
- No. It has no connection to your database. It writes the command for you to run in your own database client.
- What does "Convert a pasted table" do?
- It reads the table that the mysql or psql client prints in a terminal, with | between the columns, and rewrites it as CSV.
- Why are comments removed from my query?
- Some export commands must fit on one line, where a -- comment would swallow the rest of the query. Text inside quotes is never changed.
- Is my data uploaded?
- Nothing leaves your device: the work happens in your browser.