SQLinForm – puts your SQL in form, and informs you about it.

The SQL Formatter for Every SQL Editor and the Whole Team

Clean, consistent SQL with 200+ formatting options in 28 SQL dialects – plus the free Data Flow Explorer, Navigator and Usage Inspector to understand SQL you did not write. Plugins for VS Code and VS Code-based editors, JetBrains, SSMS, Visual Studio, Notepad++ and DBeaver – and for every other SQL editor on Windows, the desktop app formats SQL with one hotkey. Your profiles follow you everywhere – across all your SQL editors and even on different computers – and a Team Folder gives your whole team the same style.

sqlinform 1000x562 19

Try it online – then take it into your SQL editor

The online formatter is perfect for a quick result: paste your SQL, format it, copy it back. For bigger and longer tasks, use a plugin or the desktop app – only there can you save your profiles, import them and share them with your team.

200+ formatting options

Indentation, alignment, keyword case, line breaks, comments – change any option on the left and format again. For 28 SQL dialects, from Oracle and SQL Server to Snowflake and BigQuery.

Data Flow Explorer NEW

Understand SQL you did not write: query blocks, tables, joins and the path of the data through CTEs, sub-queries and UNIONs as a diagram. Click a box to highlight its lines.

Navigator and Usage Inspector

Tame monster SQL: the Navigator shows its structure as a graph and a searchable tree. The Usage Inspector finds every occurrence of a term in your SQL – ideal for finding a variable that is declared but never used.

Your SQL stays private

Everything runs locally in your browser with WebAssembly. Your SQL never leaves your computer – no registration, no data collection.

▼

General Options

?
▼

Upper/Lower Keywords

?
Lower/Upper Case Options
My Lower/Upper Case Keywords
▼

Alignment

?
Comma Alignment
Alias Alignment
Equal Sign & Operators
▼

Output Format

?
NO-FORMATTING Sections
Line Length
▼

Comments

?
Line Comments
Block Comments
Delete Comments
▼

White Spaces

?
White Spaces Options
Shift Complete SQL Statement by Spaces
▼

SQL

?
Small SQL Linebreaks (Pro)
Align Master Keywords (Pro)
Linebreak Delimiter (Pro)
▼

SELECT

?
▼

FROM

▼

INTO

▼

WHERE

WHERE
WHERE Condition
▼

HAVING

HAVING
HAVING Condition
▼

GROUP BY

▼

ORDER BY

▼

Sub-Select & CTE

?
Align & Indent Sub-SELECT Statement
Sub-SELECT Brackets
▼

JOIN

?
JOIN Statement
ON Condition
JOIN Condition
▼

INSERT

?
INSERT Brackets
Columns and Values
Commas
▼

UPDATE, DELETE

UPDATE
DELETE
▼

MERGE

?
MERGE
USING
ON
ON Condition
WHEN Condition
THEN
▼

Comma Separated Lists in SQL Statemets

?
Linebreak After Comma
Linebreak Before Comma
Concat Operator ('||')
▼

My List for SQL Functions 1

?
▶

My List for SQL Functions 2

▶

My List for SQL Functions 3

▼

Conditions in Brackets

?
▼

Analytic Expressions - OVER

?
Brackets
PARTITION BY / ORDER BY
Stack & Indenting
▼

CASE Keywords

?
CASE / END
WHEN
THEN
ELSE
▼

CASE Conditions

Brackets
AND/OR
▼

Small CASE Statements

▼

ANSI DDL

?
Linebreak Before Comma
Linebreak After Comma
Brackets
Indenting
My CREATE Keywords
▼

IF THEN ELSE

?
IF
THEN
ELSE
▼

Extract SQL from Code

?
▼

Generate SQL Code

Pre-Defined Programming Language
My Output Format - Settings
▼

Invisible

NEW

Format once. Same result everywhere.

Most SQL formatters live in one editor. SQLinForm shares your style between all your SQL editors and across your team.

My Profiles: one profile set for all your SQL editors and computers

VS Code for an Oracle DB project, SSMS for a SQL Server project, Notepad++ for a quick fix? With SQLinForm, My Profiles are shared by every SQLinForm plugin and the desktop app on your computer. Change an option in one product, and all the others format the same way – no export, no import, no copy and paste.

shareprofiles 14
set team folder2
creenshot placeholder: Team → Set Team Folder…
The Team menu in the SQLinForm settings panel, the folder dialog with a network path such as \\server\share\SQLinFormTeam.

Team Profiles: one coding standard for all team members

Put the Team Profiles in a shared Team Folder, for example on a network drive. Every team member points SQLinForm to it and formats identically, whether they work in IntelliJ, SSMS, DBeaver or VS Code. When the standard changes, every team member gets the change automatically.

Your style, down to the last detail

200+ formatting options

From a short query to a query or stored procedure with thousands of lines: SQLinForm controls indentation, alignment, keyword case, line breaks, commas, JOINs, CASE, sub-queries and comments. The Preview SQL shows the effect of every change at once.

formatsettingpanel 1024x996 11
200+

formatting options

28

SQL dialects

1

profile set for all your SQL editors and your team

100%

local – no upload

Works where you work

Plugins and extensions for the most popular SQL editors. For every other SQL editor on Windows, the desktop app formats SQL with a hotkey. Every SQLinForm product uses the same formatter and the same profiles.

Free, in your browser. Nothing to install.

For Windows, macOS and Linux.

IntelliJ IDEA, DataGrip, PyCharm and more.

SSMS 18 to 22, x64 and ARM64.

Visual Studio 2022 and 2026.

x86, x64 and ARM64.

Native plugin with its own view.

Cursor, Windsurf, VSCodium, Antigravity and more – from Open VSX.

No plugin for your SQL editor? On Windows, select SQL anywhere and press a hotkey – or use the desktop app itself as your SQL editor.

Free extras: understand SQL you did not write

Free in every edition: Data Flow Explorer, Navigator and Usage Inspector are included in the free version of SQLinForm. Ideal for legacy code and generated SQL.

Data Flow Explorer NEW

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.

Npp Dataflow 1024x594 9
navigator2 12

Navigator and Usage Inspector

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.

The Usage Inspector finds every occurrence of a term in your SQL and shows the lines in which it occurs.

More reasons to use SQLinForm

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.

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.

Free analyzer tools

Data Flow Explorer, Navigator and Usage Inspector are included in the free version.

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

One formatter for all your SQL editors: plugins for VS Code and VS Code-based editors, JetBrains, SSMS, Visual Studio, Notepad++ and DBeaver, plus the desktop app with a hotkey for every other SQL editor on Windows. 200+ formatting options in 28 SQL dialects define your style down to the last detail. My Profiles are shared by all your SQL editors and computers, and Team Profiles give your whole team the same coding standard. On top of that, the free Data Flow Explorer, Navigator and Usage Inspector help you understand SQL you did not write. Everything runs locally – your SQL never leaves your computer.

A tool that rearranges SQL code into a readable, consistent layout – without changing what the code does.

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

Yes. Put the Team Profiles in a shared folder, for example on a network drive, and let every team member select it. Every team member formats identically, in every SQL editor and on every platform. Team Profiles

28 SQL dialects, including Oracle, SQL Server, MySQL, PostgreSQL, DB2, Snowflake, BigQuery and Redshift.

There are plugins and extensions for VS Code and VS Code-based editors such as Cursor, Windsurf, VSCodium, Antigravity, the JetBrains IDEs, SSMS, Visual Studio, Notepad++ and DBeaver. For every other SQL editor on Windows, the desktop app formats the selected SQL with a hotkey, using the same profiles. And there is the online formatter.

No. All SQLinForm products work locally. The online formatter runs in your browser with WebAssembly.