Skip to content
| Marketplace
Sign in
Visual Studio Code>Data Science>dbxlite - DuckDB 2.0 for VS CodeNew to Visual Studio Code? Get it now.
dbxlite - DuckDB 2.0 for VS Code

dbxlite - DuckDB 2.0 for VS Code

dbxlite

|
379 installs
| (0) | Free
DuckDB 2.0 in VS Code. Drop in CSV, Parquet, JSON or Excel files, open .duckdb databases, query S3 and data lakes, and join across them with plain SQL.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
dbxlite

dbxlite - DuckDB 2.0 for VS Code

DuckDB 2.0 in VS Code. Drop in CSV, Parquet, JSON or Excel files, open .duckdb databases, query S3 and data lakes, and join across them with plain SQL.

DuckDB runs inside the extension, so there is nothing to install or start. It also connects to PostgreSQL, MySQL, SQLite and Databricks.

VS Code 1.85+ Powered by DuckDB 2.0

Main Interface


Quick start

  1. Click the dbxlite icon in the Activity Bar.
  2. Drop a file into the explorer, or open a .duckdb database.
  3. Write SQL and press Cmd+Enter (Ctrl+Enter on Windows and Linux).
SELECT * FROM 'sales.parquet' LIMIT 100;

What you can query

Source How
Files CSV, TSV, Parquet, JSON, JSONL, Excel (.xlsx), DuckDB databases, SQLite files
URLs SELECT * FROM 'https://.../data.parquet'
S3 Connect a bucket with an AWS profile, access keys or as public. Browse folders and click a file to query it. Keys stay in VS Code's secret storage.
Zip files Click a .zip in S3 to list what is inside, then read a file with read_csv('zip://...')
PostgreSQL, MySQL Connect directly. To join with files, attach them in SQL with ATTACH ... (TYPE POSTGRES)
Databricks Direct connection
Data lakes and more Delta Lake, Iceberg, spatial and others through DuckDB extensions, installed from Settings

Join across sources

INSTALL postgres;
ATTACH 'host=localhost dbname=shop user=me' AS pg (TYPE POSTGRES);

SELECT c.name, o.total
FROM 'customers.csv' c
JOIN pg.orders o ON c.id = o.customer_id;

DuckDB 2.0

Runs DuckDB 2.0. Data-modifying CTEs, SET VARIABLE with $name, and the VARIANT type work.

SET VARIABLE n = 5;
SELECT * FROM 'https://blobs.duckdb.org/data/taxi_2019_04.parquet' LIMIT $n;

New database files stay readable by DuckDB 1.4 by default. Set dbxlite.duckdb.newFileFormat to latest to use the 2.0 format.

Features

  • Tabbed Monaco editor with autocomplete. Cmd+Enter runs the statement under the cursor.
  • Fast results grid that handles millions of rows, with a cell viewer for JSON and long text.
  • Schema explorer: browse tables and columns, drag them into the editor.
  • Extension manager for core and community DuckDB extensions.
  • 11 colour themes, including one that follows your VS Code theme.
  • Built-in Help with copy-paste examples for each source.

DuckDB Extensions

Shortcuts

Action Mac Windows and Linux
Run Cmd+Enter Ctrl+Enter
Save query Cmd+S Ctrl+S
New tab Cmd+N Ctrl+N
Close tab Cmd+W Ctrl+W
Copy with headers Shift+Cmd+C Shift+Ctrl+C

Roadmap

  • Export results, query history
  • More warehouses: Snowflake, BigQuery, Redshift and others

Links

Source and issues

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft