
Navigate to Workspaces → SQL Editor in your Keboola project.
Write or paste your SQL query in the editor.
Click the Run Query button (or Command + Enter). The results will appear in the Results Panel below your query.

In the Results Panel, look for the Export to CSV button. Click it, and your browser will download the results as a CSV file.

Note: Large result sets may take a moment to prepare.
Add a LIMIT clause to keep exports manageable.
SELECT * FROM large_table LIMIT 1000;Format dates in your SQL query to avoid Excel auto-formatting issues.
SELECT
TO_CHAR(order_date, 'YYYY-MM-DD') as order_date,
customer_name
FROM orders;
Use column aliases to make your exported CSV easier to read.
SELECT
customer_id AS "Customer ID",
SUM(amount) AS "Total Spent"
FROM orders
GROUP BY customer_id;
Save SQL query results as CSV directly from Keboola's SQL Editor in under a minute.