For Visual Studio 2022 and 2026

Visual Studio SQL Formatter

SQL in your C# or VB.NET code? The extension for Visual Studio extracts the SQL from the string, formats it and generates clean code again – without leaving your IDE. Of course it formats .sql files, too.

SQLinForm commands in Visual Studio

One style in every SQL editor – and in your whole team

Most SQL formatters are tied to one editor. SQLinForm shares your formatting profiles between all your SQL editors and across your team.

My Profiles: shared by all your SQL editors

My Profiles belong to you – and to every SQLinForm product on your computer. Set your options once in Visual Studio, and VS Code, JetBrains, SSMS, Visual Studio, Notepad++, DBeaver and the desktop app format exactly the same way. Nothing to export, import or keep in sync.

My Profiles are shared between SQL editors on Windows. The Team Folder works on Windows, macOS and Linux.

My Profiles and Team Profiles shared by all SQLinForm plugins and the desktop app
Team menu in the SQLinForm settings panel: Set Team Folder

Team Profiles: shared by all team members

Team Profiles live in a shared Team Folder, for example on a network drive. The team lead defines the standard once; every team member points SQLinForm to the same folder and formats identically, whatever SQL editor they use.

Understand your SQL

Free in every edition: Data Flow Explorer, Navigator and Usage Inspector are included in the free version of SQLinForm.

Data Flow Explorer

Understand SQL you did not write. The diagram shows every query block with its tables, columns and filters, the joins between the tables, and the path of the data through CTEs, sub-queries and UNIONs. Click a box to select its lines in the editor.

Navigator

Tame monster SQL. The Navigator shows your SQL as an overview graph and a searchable tree of statements, sub-queries, CTEs, joins and clauses. Click a node to jump to that part of the code, or export the graph as PDF or SVG.

Usage Inspector

Find every occurrence of a term in your SQL. Hover over any word to see how often it occurs and in which lines; click a line to jump to it. Ideal before you rename or remove something, or to find a variable that is declared but never used.

Highlights

Team Profiles

Share profiles through a Team Folder. Every team member formats the same way, in every SQL editor.

My Profiles

All SQLinForm plugins and the desktop app on your computer use the same 5 profiles. Configure once, format everywhere.

200+ options

Indentation, alignment, keyword case, line breaks and comments – with a live preview of every change.

Live preview

Change an option and the Preview SQL shows its effect at once – with an example for each option group. No trial and error.

28 SQL dialects

Oracle, SQL Server, PostgreSQL, MySQL, DB2, Snowflake, BigQuery and many more – each with its own syntax.

Fault-tolerant parser

Formats partial statements and SQL with syntax errors, and helps you find a missing bracket or comma.

SQL in program code

Extracts SQL from Java, C#, PHP or VB strings and generates the code again after formatting.

Private by design

SQLinForm works offline. Your SQL never leaves your computer, and no database driver is needed.

One license, all devices

The Single User License covers all your computers and all SQLinForm products.

28 SQL dialects

Choose your database in the option Your Database, and its specific syntax is formatted correctly.

  • ANSI SQL
  • Athena
  • Aurora
  • Azure SQL
  • BigQuery
  • ClickHouse
  • Databricks SQL
  • DB2 (z/OS & UDB)
  • DuckDB
  • Greenplum
  • Informix
  • MariaDB
  • MS Access
  • MySQL
  • Netezza
  • Oracle
  • PostgreSQL
  • Presto
  • Redshift
  • SAP HANA
  • Snowflake
  • SQL Server
  • SQLite
  • Sybase
  • Teradata
  • Trino
  • Vertica
  • Yellowbrick

Free or Pro?

Free

Pro

To upgrade: In SQLinForm choose Tools → License… (in SSMS and Visual Studio: Tools → Register Pro…) and enter your license data. There is nothing to reinstall.

FAQ

Visual Studio 2022 and 2026.

Yes. SQLinForm extracts the SQL from C# and VB.NET strings, formats it and generates the code again.

Yes, with any project type in Visual Studio.

Yes. The free version has no time limit and no limit on SQL size. Pro unlocks all 200+ formatting options.

Yes. Put the Team Profiles in a shared folder, for example on a network drive; every team member selects it once and formats identically – in any SQL editor. Team Profiles

No. On Windows all SQLinForm plugins and the desktop app share My Profiles: set your options once, and every SQLinForm product formats the same way. My Profiles