Get Started Free

Paste any dialect

Works with PostgreSQL, MySQL/MariaDB, SQL Server, and Oracle explain output. The database is auto-detected.

See the costly nodes

Spot sequential scans, expensive joins, and the nodes where rows and time pile up, at a glance.

Stays in your browser

Your query plan is parsed locally and never uploaded anywhere.

More information about SQL explain plans

Every relational database can show you its query execution plan: the tree of operations it uses to run a query, and how expensive each one is. Reading that plan is the core skill for fixing slow SQL, and it's how you decide which indexes to add.

Getting a plan you can paste here

Reading the tree

Frequently asked questions

How do I read a PostgreSQL explain plan?

Run EXPLAIN (ANALYZE, FORMAT JSON) and look at the node tree from the inside out. Watch for Seq Scans on large tables, joins where actual rows far exceed the estimate, and nodes with high total cost or time.

What is the difference between a Seq Scan and an Index Scan?

A sequential (full table) scan reads every row; an index scan uses an index to jump to matching rows. On large tables an index scan is usually much faster, so a Seq Scan on a filtered query often signals a missing index.

Which databases does this visualizer support?

PostgreSQL, MySQL and MariaDB, SQL Server, and Oracle. The database is auto-detected from the plan, and you can also pick it explicitly.

VisuaLeaf

Explain and tune SQL queries live in VisuaLeaf

VisuaLeaf runs EXPLAIN for you and visualizes the plan next to your data and query, across PostgreSQL, MySQL, SQL Server, Oracle and more, with a visual query builder, schema diagrams, and charts.

MongoDB & SQL in one client
Visual query & aggregation builders
Live visual schema diagrams
Charts, dashboards & query profiler
Connection manager for local, cloud & teams
Free Community Edition