Developer & Data Platforms

dbt (data build tool)

Also known as: dbt, data build tool

dbt (data build tool) is a widely used tool for transforming data inside a warehouse or lakehouse.

Analysts write SQL SELECT statements, and dbt turns them into tables and views, runs them in the right order, tests the results, and generates documentation. While it doesn't move or store any data itself, dbt changed the profession by bringing software engineering habits, like code review and automated tests, to analytics work.

dbt (data build tool), explained at three levels

At home

Imagine a recipe book where each recipe uses the results of other recipes, like making a sauce before the main dish. dbt is the cook that reads all the recipes, figures out the right order, and makes everything in sequence.

At work

dbt helps data teams turn raw data into clean, trusted tables for reports. It keeps the logic in files that can be reviewed, tested, and tracked, instead of hidden in dashboard settings.

Real-world examples

At home

Fatima was learning analytics and used dbt Core with a free database to model her running data. Writing a test that caught a duplicated race result made her realize why companies trust dbt for real reporting.

At work

Sophie leads analytics at a Montreal fashion retailer where revenue numbers differed between dashboards. Moving the logic into a tested dbt project with one shared revenue model ended a long-running argument between finance and marketing.

Common confusions

  • dbt moves data from source systems into the warehouse. — dbt only transforms data already in the warehouse. Loading is done by other tools.
  • dbt is a database. — dbt sends SQL to your existing warehouse or lakehouse, which stores and processes the data.
  • dbt is only for engineers. — It was designed for analysts who know SQL, which is a big part of its popularity.

For analysts

If two dashboards show different numbers for the same metric, the fix is usually one shared definition, not another meeting. I'd use dbt models and tests to make that definition visible and enforced.

History & origin

Tristan Handy created dbt in 2016 at his consultancy, Fishtown Analytics, to help clients manage SQL transformations in cloud warehouses. It spread through a large online community and helped define the 'analytics engineer' role. Fishtown renamed itself dbt Labs in 2020 and raised large venture rounds as the modern data stack boomed. In 2025, dbt Labs introduced a new engine, dbt Fusion, built on technology from its acquisition of SDF Labs. In October 2025, dbt Labs and Fivetran announced plans to merge. In my view, dbt's lasting contribution is cultural: it made 'just tweak the SQL in production' feel as reckless in analytics as it already did in software.