Import & Export
PulseDB supports importing SQL files and exporting database schemas and data in multiple formats, both for individual tables and for the whole database.
Import
SQL Import
Import SQL files to execute batch operations:
- Click Import in the toolbar
- Select an SQL file
- Review the SQL statements
- Click Execute to run them
The import supports:
CREATE TABLEstatementsINSERTstatementsCREATE INDEXstatements- Multi-line SQL scripts
Database export
Open File → Export Database from the header to export the entire database (all selected schemas) in one of these formats:
| Format | Description |
|---|---|
| SQL dump | Full schema + data as a transactional SQL script (DDL and INSERT statements) |
| JSON | Schema and table rows as a single .json document |
| CSV | One .csv file per table, bundled into a single .zip archive |
| SQL schema only | DDL only — CREATE TABLE, indexes, constraints, sequences, triggers, views, and functions. No data. |
Options:
- Schemas — pick which schemas to include (all non-system schemas by default)
- DDL / Data / Functions — toggle what the SQL dump includes (SQL dump only)
- Max rows per table — limit how many rows are exported per table
After exporting you can Download the file or Copy the result to the clipboard.
Schema export (DDL only)
Open File → Export Schema (DDL only) to generate a complete structure-only replica of the database as SQL — without any data. The output includes:
CREATE SCHEMAfor all non-system schemas- Enum types and sequences
CREATE TABLEwith columns, defaults, identity columns, and primary keys- Foreign keys, unique, and check constraints (added via
ALTER TABLEso reference order never matters) - Indexes, triggers, views, materialized views, and functions/procedures
- Table comments
The script is wrapped in a transaction (BEGIN; / COMMIT;) so you can import it directly — for example into a fresh, empty database.
Table export
How to export a table
- Navigate to a table or view
- Click Export in the toolbar
- Choose the export format
- Select what to include (schema, data, or both)
- Click Export to download
CSV export specifics
- Includes header row by default
- Handles special characters and escaping
- UTF-8 encoding