SQL Explain Plan Analyzer
Paste MySQL or PostgreSQL EXPLAIN JSON output and get a clean, tree-style execution plan with warnings for table scans, high-cost nodes and actionable tuning tips.
Rate this tool
Your rating helps others decide whether this tool is worth using
How to Use
Run EXPLAIN FORMAT=JSON (MySQL) or EXPLAIN (FORMAT JSON) (PostgreSQL) in your database client and paste the output into the box, then click 'Analyze'. The tool detects the database type automatically and renders the plan as an indented tree, showing the operation, table, estimated rows, cost and actual rows for every node. Problematic nodes are flagged by severity (critical/high/medium/low), and all warnings plus tuning suggestions are listed below the tree. Use the 'MySQL Sample' or 'PostgreSQL Sample' buttons to try it instantly.
Features
- Auto-detects MySQL and PostgreSQL explain plan JSON formats
- Renders a clear tree view with operation, table, rows, cost, time and index details per node
- Flags table scans and high-cost nodes by severity level
- Provides actionable SQL tuning suggestions
- Built-in MySQL and PostgreSQL sample plans