Skip to content

Transform SQL Queries into Visual Flow Diagrams

Understand complex SQL at a glance. Visualize execution flow, trace data lineage, and optimize queries with professional-grade visual analysis.

Open Source Privacy First 13 Dialects 100% Free

Powerful Features for SQL Developers

Everything you need to understand, optimize, and document your SQL queries.

Crystal-Clear Execution Flow

See exactly how your SQL executes, step-by-step. Color-coded nodes show tables, joins, filters, aggregations, and more.

Visualize Multiple Statements

Working with multiple queries? SQL Crack automatically separates and visualizes each statement with intuitive tab navigation.

Track Data Transformations

Click any output column to see its complete transformation path through JOINs, aggregations, and calculations.

Dive into Complex Queries

Focus on upstream or downstream dependencies from any node. Use search highlighting, minimap navigation, and fullscreen mode to explore large graphs.

Optimization Insights

Get instant feedback on query quality with performance scoring (0-100), anti-pattern detection, and actionable hints.

Works with Your Database

Full support for MySQL, PostgreSQL, SQL Server, Snowflake, BigQuery, Redshift, and more. Switch dialects with one click.

See It in Action

From simple joins to complex multi-CTE queries — visualize, analyze, and optimize your SQL.

SQL Flow Visualization

SQL Flow Visualization

Paste a query and instantly see the data flow — tables, joins, filters, and output stages.

Complex Query Analysis

Complex Query Analysis

Handle real-world SQL with CTEs, subqueries, and multi-table joins across 13 dialects.

Column Lineage

Column Lineage

Trace each output column back to its source tables and transformations.

Performance Hints

Performance Hints

Get optimization suggestions — missing indexes, SELECT *, duplicate subqueries, and more.

Query Stats

Query Stats

Table usage breakdown, function tracking, and complexity scoring at a glance.

Multi-Dialect Support

Multi-Dialect Support

13 SQL dialects — MySQL, PostgreSQL, Snowflake, BigQuery, SQL Server, and more.

CTE Cloud Expansion

CTE Cloud Expansion

Expand CTEs to see inner operations — tables, filters, and aggregations inside each CTE.

Dark Theme + Fullscreen

Dark Theme + Fullscreen

Fullscreen mode with expanded CTE clouds in dark theme for distraction-free analysis.

See SQL Crack in Action

Explore sample queries here, then open the full playground for your own SQL.

4 Tables3 JoinsModerate
0/0
SQL Query
Beginner
SELECT
    c.customer_id,
    c.customer_name,
    o.order_id,
    o.order_date,
    p.product_name,
    oi.quantity,
    oi.unit_price,
    oi.quantity * oi.unit_price AS line_total
FROM customers c
INNER JOIN orders o ON c.customer_id = o.customer_id
INNER JOIN order_items oi ON o.order_id = oi.order_id
INNER JOIN products p ON oi.product_id = p.product_id
WHERE o.status = 'completed'
    AND o.order_date >= '2024-01-01'
ORDER BY o.order_date DESC
Flow DiagramDrag to pan · Scroll to zoom · ? for shortcuts
customers (c)orders (o)INNER JOINorder_items (oi)INNER JOINproducts (p)INNER JOINWHERESELECT (8 cols)ORDER BYResult

Works with Your Database

SQL Crack supports all major SQL dialects, so you can visualize queries from any database platform.

MySQL PostgreSQL SQL Server MariaDB SQLite Snowflake BigQuery Redshift Hive Athena Trino Oracle Teradata

13 dialects supported — missing yours? Request it on GitHub

Choose Your Experience

Start with the web version for quick visualization, or install the VS Code extension for the full workflow.

Web Version

SQL Flow Online

Perfect for quick visualization

  • Instant SQL Flow visualization
  • Paste custom SQL or explore samples
  • Multi-statement batch tabs
  • Optimization hints & complexity scoring
  • PNG, SVG, Mermaid, DOT export
  • Fullscreen mode & keyboard shortcuts
  • Minimap navigation
  • Colorblind-accessible palettes
  • No installation needed
Open Playground
Recommended
VS Code Extension

Full Power

For professional workflows

  • Everything in Web version
  • Workspace dependency analysis
  • Cross-file lineage tracking
  • Impact analysis for schema changes
  • Auto-refresh on file save
  • Bidirectional editor sync
  • CTE cloud expansion
  • Node drag & drop
  • Offline access
Install Extension

Privacy First, Always

We believe developer tools should respect your data. SQL Crack was built with privacy as a core principle.

SQL Never Leaves Your Machine

All processing happens locally in your browser or VS Code. Nothing is sent to any server.

No Query Telemetry

We do not collect, transmit, or store your SQL statements. Query parsing and flow generation run locally.

Open Source

MIT licensed. Inspect the code yourself. Verify our privacy claims. Contribute improvements.

FAQ

Quick answers to common questions about SQL Crack.

Can I paste my own SQL in the web demo?

Yes. Open /playground, paste your query, and click Visualize. Parsing happens entirely in your browser and your SQL is not sent to a backend.

Does SQL Crack send my SQL to a server?

No. The web demo parses SQL entirely in your browser, and the VS Code extension processes queries locally. Your SQL text is not uploaded or stored.

Which SQL dialects are supported?

MySQL, PostgreSQL, SQL Server, MariaDB, SQLite, Snowflake, BigQuery, Redshift, Hive, Athena, Trino, Oracle, and Teradata.

Is SQL Crack free to use?

Yes. The extension and website are free and open-source under the MIT license.

Does it work in Cursor, Windsurf, or other VS Code forks?

Yes. SQL Crack is available on OpenVSX (https://open-vsx.org/extension/buvan/sql-crack) and works in any editor that supports VS Code extensions.

What's the difference between the website and the extension?

The website playground lets you try SQL Flow without installing anything. The VS Code extension adds right-click visualization, multi-file workspace dependencies, and full dialect support. See the comparison table on the homepage for details.

Can it handle multiple queries in one file?

Yes. Both the web playground and the extension support multi-statement SQL. Paste multiple queries separated by semicolons — each gets its own tab. The extension also analyzes dependencies across multiple files in a workspace.

Does it support CREATE/DDL statements or only SELECT?

SQL Crack visualizes DML statements (SELECT, INSERT, UPDATE, DELETE) and shows DDL definitions like CREATE TABLE as schema blocks. The focus is on data flow — how queries read, transform, and write data.

Does SQL Crack support stored procedures?

Not currently. SQL Crack visualizes declarative SQL — data flow, not control flow. Stored procedures require dialect-specific procedural parsers, which is a fundamentally different problem.

Why does my query fail to parse in the web demo but work in the extension?

The web playground now uses the same full parser engine as the VS Code extension. If a query fails, it falls back to a simpler parser and then to pattern matching. Try selecting the correct dialect first. If parsing still fails, open an issue with the SQL sample.

How big can a query be before performance drops?

Most queries visualize instantly. Very large queries with many CTEs, deep nesting, or hundreds of columns may be slower in the browser due to memory and CPU limits. The VS Code extension handles large queries more efficiently.

How do I fix an incorrect lineage or graph result?

First, confirm you selected the correct dialect. Then try isolating the minimal SQL that produces the wrong result. If the web demo is wrong but the extension is correct, the web parser may not support that pattern yet. If both are wrong, open an issue with the SQL sample, selected dialect, and expected vs actual output.

Can I export results for docs or code reviews?

Yes. Export the flow diagram as PNG, SVG, Mermaid, or DOT (Graphviz) format. Export buttons are in the toolbar above the visualization panel. Use PNG for sharing, SVG for presentations, Mermaid for documentation, and DOT for Graphviz or draw.io.

How can I report a parser bug or request a dialect feature?

Open an issue at https://github.com/buva7687/sql-crack/issues with the SQL sample, selected dialect, and expected vs actual output. The more minimal the example, the faster the fix.

Where is the source code?

On GitHub: https://github.com/buva7687/sql-crack

Ready to Visualize Your SQL?

Join developers using SQL Crack to understand, optimize, and document their SQL queries.