The query plan, inside your IDE.

The actual execution plan of an EF Core query, one click from the debugger.

Query Plan Visualizer · Visual Studio
A SQL Server execution plan with a nested loops join, in Visual Studio's Query Plan Visualizer window

Visual Studio

Visual Studio 2022 version 17.14 or newer, including Visual Studio 2026.

Install for Visual Studio

From the Visual Studio Marketplace, or search for “EFCore Visualizer” in Extensions › Manage Extensions.

  • SQL Server
  • PostgreSQL
  • Oracle
  • SQLite
  • MySQL
Query plan · VS Code
A SQL Server execution plan in a VS Code tab, beside the C# code of the paused app

VS Code

VS Code 1.90 or newer, with Microsoft's C# extension.

Install for VS Code
code --install-extension GiorgiDalakishvili.vscode-efcore-visualizer

From the Visual Studio Marketplace, with the command above, or by searching for “EFCore Visualizer” in the Extensions view.

  • SQL Server
  • PostgreSQL
  • Oracle
  • SQLite
Query plan · JetBrains Rider
A PostgreSQL execution plan in a Rider editor tab, in the dark theme

JetBrains Rider

Rider 2026.2 or newer.

Install for Rider

From JetBrains Marketplace, or search for “EFCore Visualizer” in Settings › Plugins › Marketplace.

  • SQL Server
  • PostgreSQL
  • Oracle
  • SQLite

Installed almost 19,000 times from the Visual Studio Marketplace, rated 5.0 by 25 reviewers, and starred by 690+ developers on GitHub. Featured on Microsoft's .NET Blog.

Open it from the debugger

In Visual Studio

  1. Start debugging and pause on a line after your query is built.
  2. Hover over the IQueryable variable and click the magnifying glass.
  3. Choose Query Plan Visualizer. The plan opens in its own window.
The Query Plan Visualizer option on an EF Core query, in Visual Studio's hover popup

In VS Code

  1. Debug your app with the C# extension and pause after your query is built.
  2. Find the query in Variables or Watch and click Visualize Query Plan at the end of its row.
  3. The plan opens in a tab beside your code. Copy SQL copies the query with its parameters.
The Visualize Query Plan button at the end of a query's row in VS Code's Variables view

In JetBrains Rider

  1. Start debugging and pause after your query is built.
  2. Click Visualize Query Plan at the end of the query's row in Variables, Watches or the hover popup.
  3. The plan opens in an editor tab. Visualize the variable again to see the new plan after the query changes.
The Visualize Query Plan link on an EF Core query, in the editor's hover popup and on its row in Variables

Five databases, each plan drawn the way it should be

SQL Server plans are drawn as the familiar operator graph, PostgreSQL plans with pev2, and SQLite and Oracle plans as trees. Works with EF Core 7 or newer.

For SQL Server, PostgreSQL and Oracle you see the actual plan, so the visualizer runs the query. Keep that in mind before you visualize a slow query against a production database. For SQLite it asks for the estimated plan, and the query doesn't run.

Supported databases by IDE
DatabaseVisual StudioVS CodeRider
SQL ServerSupportedSupportedSupported
PostgreSQLSupportedSupportedSupported
OracleSupportedSupportedSupported
SQLiteSupportedSupportedSupported
MySQLSupportedNot supportedNot supported

See it on Visual Studio Toolbox

I demoed the visualizer on Visual Studio Toolbox, Microsoft's show about Visual Studio and its extensions.

Watch on YouTube

Free and open source

EFCore Visualizer is GPL-3.0 licensed and built in the open. Found a bug, or missing your database? Tell me on GitHub.

How it works, in the launch posts: EF Core Query Plans in VS Code: EFCore Visualizer 1.0.

Plans are drawn with pev2, html-query-plan and Treeflex.