SQL Execution Visualizer — Interactive B+Tree & Query Engine

Write SQL queries and watch every step execute under the hood. This free, browser-based tool provides an interactive mini-database with animated B+Tree visualization, step-by-step execution plans, and live schema browsing.

Features

How It Works

Type any SQL statement — CREATE TABLE, INSERT, SELECT, UPDATE, or DELETE — into the editor. The visualizer breaks the query into discrete execution steps, animates the underlying B+Tree data structure changes, and displays results in real time.

Who Is This For?

Students learning database internals, developers debugging query performance, educators teaching B+Tree indexing, or anyone curious about what happens when a database processes SQL.

SQL Visualizer
SQL Visualizer
B+Tree Engine · v2
github_light_icon
📂Schema0
📂
No Tables
CREATE TABLE to get started
 0 tables · 0 indexes
🔀
Query Execution Pipeline
Run a SELECT query to see the execution order flow.
FROM → JOIN → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT
Speed:
📋Execution Plan
📋
No Execution Plan
Run a query to see the execution steps
SQL Editor · ⌘↵ to run · Tab for autocomplete
📊Query Results
No results yet. Run a query.