A Free dbt Playground: Learn dbt Without a Warehouse or dbt Cloud
Short answer: use the dbt Lab on Data Utility. One Docker command runs dbt Core with DuckDB on your own computer, with a ready project and 11 lessons. You edit models in the browser and press seed, run, test or build. Nothing goes to a warehouse, and you do not need a dbt Cloud account.
What is in the lab
- **dbt Core with the DuckDB adapter**, inside one Docker container. DuckDB is a database in a single file, so there is nothing to install or pay for.
- **A small shop project**: three seeds (customers, orders, payments), staging views, two mart tables, a macro, YAML tests and a singular test.
- **An IDE-style editor** with SQL and Jinja colours, tabs, Ctrl+S to save and Ctrl+Enter to build the open model.
- **Terminal, Results, Preview and Lineage panels**: dbt output, a pass or fail badge for every node, the first rows of any table, and the DAG from dbt's manifest.
- **dbt docs**: one click runs docs generate and opens the docs site.
Start in three steps
1. Install Docker Desktop.
2. Open the dbt Lab and run the Set up and Start commands in a terminal.
3. Paste the token, click Connect, and pick lesson 1.
The lessons
- **dbt basics**: load seeds; your first model; source() and ref(); data tests; Jinja and macros (compile shows the real SQL); build everything.
- **Going further**: incremental models; snapshots (type 2 history); a singular test; documentation; bring your own data.
Bring your own data
Upload a CSV into seeds/ from the Project panel, or load your real dbt project in SQL Project Lineage and download test seeds from its Test data tab.
Why DuckDB is a good way to learn
Everything you learn (models, ref(), tests, materializations, snapshots) works the same on Snowflake, BigQuery, Databricks or Redshift. Only the profile changes. DuckDB just removes the account, the cost and the wait.
Also try
- Incremental models and snapshots, hands-on
- Free playgrounds for PySpark, Delta Lake and dbt
- Test dbt models locally with DuckDB
How to use the dbt Lab: step by step
- Install Docker Desktop
- Run the Set up and Start commands from the dbt Lab page
- Connect with the token
- Pick a lesson and press its dbt button
When to use the dbt Lab
- Learning dbt before a new job
- Practising for an analytics engineering interview
- Teaching dbt to a team without cloud accounts
- Testing a model change on sample data
Frequently asked questions
Is there a free dbt playground?
Yes. The dbt Lab on datautility.in runs dbt Core with DuckDB in Docker on your own computer, with a ready project and lessons. It is free and needs no account.
Can I learn dbt without Snowflake or BigQuery?
Yes. Use DuckDB as the database. Models, tests and materializations work the same way; only profiles.yml changes when you move to a warehouse.
Which dbt version does the lab use?
dbt Core 1.9 or newer with dbt-duckdb. The status bar shows the exact versions.
Tip: Type a selector such as stg_customers+ in the --select box to build one model and everything downstream of it.