Learn dbt Free: Hands-On dbt Lab
Practise dbt Core hands-on, free: write models, run tests and see lineage on a real project, on your own laptop with DuckDB. Lessons from seeds to snapshots.
Quick answer: Learn and run dbt on your own computer, with DuckDB.
Related: dbt Lab · Free Data Engineering Playgrounds: PySpark, Delta Lake and dbt
How to use the Learn dbt Free: Hands-On dbt Lab
Learn and run dbt on your own computer, with DuckDB.
dbt Lab is a free dbt playground that runs on your own computer. One Docker command starts dbt Core with DuckDB and a ready project (seeds, staging models, marts, tests and a macro). Edit files in an IDE-style editor on this page, run seed, run, test and build, preview any table, and see the lineage graph and dbt docs. No warehouse, no dbt Cloud account.
- Start the lab with the Docker commands
- Paste the token and connect
- Pick a lesson and press its dbt button
Tips
- Ctrl+Enter builds the model that is open. Ctrl+S saves.
- Type a selector such as stg_customers+ in the --select box to run part of the project.
- Upload a CSV with the Project panel, or download seeds for your own project from SQL Project Lineage → Test data.
Example
Input: dbt run --select stg_customers
Output: A view in DuckDB, previewed in the browser
Browse by topic
- Free Data Engineering Playgrounds: PySpark, Delta Lake and dbt
- dbt Project Visualizer and dbt Lineage Guides
- Avro Guides and Free Avro Tools
- Snowflake, BigQuery, Databricks and dbt Tools
- Export and Share Data Transformations as SQL, pandas and PySpark
- Offline and Private Data Tools
- Parquet Guides and Free Parquet Tools
- CSV Guides and Free CSV Tools
- JSON Guides and Free JSON Tools
- Excel Guides and Free Excel Tools
- Data Privacy Guides and Free Tools
- Test Data Guides and Free Generators
- Data Cleaning Guides and Free Tools
- AI Data Tools and Guides
- Extract Data from Screenshots and APIs
- Data Lineage and Audit Trail Guides
- File Format Guides and Free Tools
Who uses Data Utility
- Free Data Tools for Marketing Lists
- Free Data Tools for Finance and Accounting Exports
- Free Data Tools for Developers
- Free Data Tools for Data Analysts
- Free Data Tools for Small Business
- Data Tools for Quant Developers and Finance Teams
- Test Data Tools for QA Engineers
- Free Data Tools for Data Engineers
- Free Data Tools for Students and Educators
Frequently asked questions · Data format benchmark
Frequently asked questions
What do I need to install?
Only Docker Desktop. The lab brings Python, dbt Core and DuckDB.
Is my project uploaded?
No. Files live in a Docker volume on your computer. This page talks only to the lab on localhost.
Which dbt version is it?
dbt Core 1.9 or newer with the dbt-duckdb adapter, shown in the status bar.
Related pages
- dbt Lab: Learn dbt free on your own computer: a ready dbt project, seeds, models, tests, snapshots and docs, run with dbt Core and DuckDB in Docker. No warehouse, no dbt Cloud account.