DuckDB to Excel
Export a DuckDB table or view to an Excel workbook with a header row and one worksheet.
- Free
- Works Offline
- No Uploads
How to Use DuckDB to Excel
- Open the HTML, review Security Check, then select Continue.
- Choose a DuckDB file or select Open Sample DuckDB.
- Choose a Table or View, then select Convert DuckDB to Excel.
- Select Download or use Save As when your browser supports it.
DuckDB to Excel Features
- Choose a Table or View, then select Convert DuckDB to Excel.
- An XLSX workbook containing one worksheet with the selected rows and column headings.
- The workbook writes exact decimals and integers beyond Excel’s precision as literal text. Dates and binary values use readable text.
Formats and Compatibility
| Input | A local .duckdb or .db file with a DuckDB database header. |
|---|---|
| Output | An XLSX workbook containing one worksheet with the selected rows and column headings. |
| Browser | A modern browser with local file support. |
| Scope | One sheet per export, with up to 16,384 columns and 1,048,575 records plus the header. The browser buffers the finished workbook. |
| Operating Systems |
Local Conversion Without Uploads
Open the downloaded HTML and process the database locally in a compatible browser. The engine is included and internet access is unnecessary.
Select Open Sample DuckDB to see the workflow with the included example.
Supported DuckDB Sources
DuckDB stores tables and views in a local database file. Choose a file with committed changes from a supported DuckDB version.
Export Excel
The workbook writes exact decimals and integers beyond Excel’s precision as literal text. Dates and binary values use readable text.
Frequently Asked Questions
Can I use DuckDB to Excel offline?
Yes. Download the standalone HTML and open it in a browser that supports WebAssembly and local workers.
Does this change the original DuckDB database?
The database is opened in read-only mode. All processing stays on your device.
Which files can I open?
Choose a DuckDB database with a .duckdb or .db extension. A SQLite file with a .db extension is a different format.
What does the export contain?
The workbook writes exact decimals and integers beyond Excel’s precision as literal text. Dates and binary values use readable text.
Does this tool work offline on Windows, macOS, Linux, and ChromeOS?
Yes. Local Studio tools run offline on Windows, macOS, Linux, and ChromeOS. Download the tool ZIP, extract it, and open the included HTML file in a supported browser. Your files are processed on your device without uploads.
Which browsers can I use with this offline tool?
Use a current version of Google Chrome, Microsoft Edge, Mozilla Firefox, or Safari where that browser is available for your operating system. Chrome is built into ChromeOS, and Safari is available on macOS.