Uses the Hexabench server· your SQL text and file names (all open tabs) are sent to the Hexabench server to build the graph, as you type while auto-update is on, and sent again when you press Run Simulation to translate it for the in-browser engine; sample data, uploaded data and results stay in your browser
Understand any SQL pipeline at a glance
Paste stored procedures, ETL scripts, or view definitions and get an interactive lineage graph showing how data flows from source tables through staging steps into final outputs. The bundled example on first load shows the idea: two raw tables feed a staging table, which feeds a report table. Replace it with your own SQL and the graph follows as you type. Building the graph runs on the Hexabench server, so your SQL text is sent as you type while auto-update is on, and Run Simulation sends your SQL there again for translation; the mock data itself flows through every step in your browser, without connecting to a database.
Frequently Asked Questions
- How do I visualize my SQL lineage?
- 1) Add your SQL: paste it into the editor, press "Open .sql" (or drop .sql or .txt files on the editor, one tab per file), or pick one of the three runnable samples from the Samples menu. 2) Pick the SQL dialect your scripts are written in. 3) The lineage graph builds by itself: right away after a paste, drop or sample, and a fraction of a second (700 ms) after you stop typing. Switch "Auto-update graph" off to build it only when you press "Re-parse now". 4) Explore: drag to pan, scroll to zoom, and click a node to highlight it and, after Run Simulation, preview its rows. With auto-update off, the graph is marked Out of date after an edit until you re-parse. Run Simulation never starts on its own.
- What do the node colors in the graph mean?
- Blue nodes are source tables your SQL reads from, orange nodes are temporary tables and views created along the way, purple nodes are CTEs (WITH clauses), and green nodes are final output tables written by INSERT, CREATE TABLE AS, or MERGE statements.
- What does "Run Simulation" do?
- It executes your statements in order against mock data in DuckDB WASM inside your browser. Your SQL text is first sent to the Hexabench server to be translated into DuckDB syntax (skipped when the dialect is DuckDB). The bundled example runs on built-in rows labelled "Sample data, not your real data"; for your own SQL, upload CSV/Parquet or edit rows in the Tables panel. You see row counts at each step and can click a node to preview its data. Nothing touches a real database.
- Can I visualize multiple SQL files together?
- Yes. Press "Open .sql" and choose several files, drop them on the editor (each opens as its own tab, up to 20 files of 100,000 characters each), or add a tab with the + button and paste each file SQL. Lineage is resolved across files — for example, a view defined in one file and referenced by a procedure in another shows up as a single connected graph.
- Which SQL dialects are supported?
- Snowflake, BigQuery, PostgreSQL, MySQL, Spark SQL, DuckDB, and generic ANSI SQL. Pick the dialect matching your scripts so dialect-specific syntax parses correctly.
- Is my SQL sent anywhere?
- Yes. Your SQL text, all open tabs and their file names are sent to the Hexabench server to build the graph: as you type while "Auto-update graph" is on (the default; it pauses after a server error until your next edit), or only when you press "Re-parse now" when it is off. With auto-update on (the default), a file you open or drop is sent at once; with it off, nothing is sent until you press "Re-parse now". The SQL is sent again when you press Run Simulation (to translate it for the in-browser engine, unless the dialect is DuckDB). It is processed in memory and not stored. The simulation itself, sample rows and any CSV/Parquet you upload stay in your browser.
Related Tools
Found this useful? Hexabench is free and ad-free. If it saved you time, you can support it.
Buy me a coffee →