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.
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.
- 5 profiles with your own names, for example “Oracle” or “Project X”
- Switch profiles with one click – the change applies in every SQLinForm product
- One Pro license for all SQLinForm products and all your computers – at work and at home
- No plugin for your SQL editor? The desktop app formats SQL in any application with a hotkey – with the same profiles
My Profiles are shared between SQL editors on Windows. The Team Folder works on Windows, macOS and Linux.
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.
- Changes reach every team member automatically
- No more commas and indentation in code reviews and diffs
- New team members format like the rest of the team from day one
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
- No time limit, no limit on SQL size
- Formatting with the essential options
- 5 profiles, shared by all your SQLinForm products
- Team Profiles from a Team Folder
- Data Flow Explorer, Navigator and Usage Inspector
Pro
- All 200+ formatting options
- Define your personal style and your team standard down to the last detail
- Import profiles and share them with your team
- Perpetual license: pay once, no subscription
- Free upgrades for 1 year or for life
- One license for all your computers and all SQLinForm products
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
Which Visual Studio versions are supported?
Visual Studio 2022 and 2026.
Can it format SQL inside string variables?
Yes. SQLinForm extracts the SQL from C# and VB.NET strings, formats it and generates the code again.
Does it work with every project type?
Yes, with any project type in Visual Studio.
Is it free?
Yes. The free version has no time limit and no limit on SQL size. Pro unlocks all 200+ formatting options.
Can my team use one style?
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
I also use other SQL editors. Do I have to set my options again?
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