JetBrains SQL Formatter Plugin

Format SQL in JetBrains IDEs with 200+ Options

Format SQL directly in your JetBrains IDE. SQLinForm is a powerful SQL formatter plugin for IntelliJ IDEA, PyCharm, DataGrip, and all JetBrains IDEs. With 200+ customization options, real-time preview, and support for 25+ SQL dialects, you get professional results instantly. Works offline – your code stays private.

jetbrains sql formatter

Use the Integrated Profile Manager

All formatting options are organized into intuitive categories with a convenient left-side navigation:

  • General – Database type, indentation, delimiters
  • Upper/Lower – Keyword casing options
  • Alignment – Column and clause alignment
  • Comments – Comment formatting preferences
  • Whitespaces – Space and line break control
  • SQL Clauses – SELECT, JOIN, INSERT/UPDATE/DELETE, MERGE, and more
  • CASE, ANSI DDL, IF THEN ELSE – Specialized formatting
  • Extract & Generate – Code generation settings

Use the Integrated Profile Tools

5 Customizable Profiles

Create and manage up to 5 different formatting profiles for different projects, teams, or coding standards. Quickly switch between profiles with a single click using the intuitive profile buttons at the top of the panel.

Profile Management Features

  • Load Template Profiles – Start with pre-configured templates like „Axis Compact“, „River Expanded“, „Commas Before/After“, and more
  • Import/Export Profiles – Share your formatting settings with team members or transfer them between machines
  • Copy Profile to Another – Easily duplicate a profile as a starting point for a new configuration
  • Rename Profiles – Give your profiles meaningful names like „DB2“, „Oracle“, or „Project X“
  • Reset Profile – Quickly restore a profile to default settings

DB Support

SQLinForm supports a wide range of SQL dialects across major database systems.

ANSI SQL

Aurora

Azure SQL

BigQuery

ClickHouse

Databricks SQL

DB2 (z/OS & UDB)

DuckDB

Greenplum

HyperSQL

Informix

MariaDB

MS Access

MySQL

Oracle

PostgreSQL

Redshift SQL

SAP HANA

Snowflake

SQL Server

SQLite

Sybase

Teradata

Vertica

Yellowbrick

SQLinForm continuously evolves — new dialects are added regularly to ensure precise formatting for every major SQL environment.

What are the highlights of the JetBrains SQL Formatter?

Team Standards With Formatting Profiles

The SSMS SQL formatter allows you to share your favorite formatting profiles with your team members. This is an easy way to set coding standards in your company.

shareprofiles

Formatting profiles can definitely help developer teams. When a team of developers is working on a project, it’s important for the code to be consistent and well-organized in order to ensure that it’s easy to maintain, update, and collaborate on. Formatting profiles can help teams achieve this consistency by standardizing the way that SQL code is formatted.

DB support

The parser supports all major DB like Oracle, DB2, SQL Server, Teradata, Netezza, MySQL, PostgreSQL, Sybase, MS Access, etc. No need to install any DB Driver.

200+ Options

With the Single User License (Pro Version), you can explore and customize your ideal formatting style using over 150 options. See the results instantly as your SQL adopts the new formatting style.

Programming Languages Support

The JetBrains SQL formatter parser can format plain SQL code or SQL code embedded in Java, C#, Perl, Python and other programming languages.

Fault Tolerant Parser

The JetBrains SQL formatter parser can even format partial SQL statements or those with syntax errors, helping you identify missing brackets, commas, and other issues with ease.

1 License For Many Computers

The SQLinForm Single User License gives you the right to install SQLinForm on all your devices including business and private computers, mobile devices and USB sticks. See the complete EULA

What is the difference between the Free and Pro Version?

Both the free and Pro versions of SQLinForm have no time limits or restrictions on SQL size. However, the Pro version offers a wide range of additional features and customization options not available in the free version.

To learn more about the Pro Features, please click here for further details.

FAQ - Frequently Asked Questions

Q: Which JetBrains IDEs are supported?

The SQLinForm plugin supports all JetBrains IDEs including IntelliJ IDEA, PyCharm, DataGrip, WebStorm, PhpStorm, Rider, CLion, GoLand, RubyMine, and Android Studio.

Q: Can I enforce team coding standards?

Yes, create a formatting profile and share it with your team. Everyone formats SQL the same way.

Q: Is there a keyboard shortcut?

Yes, use Ctrl+Alt+Shift+Q (Windows/Linux) or Cmd+Alt+Shift+Q (Mac) for instant formatting. You can also customize the shortcut in your IDE settings.

Q: Does it work with SQL containing errors?

Yes, the fault-tolerant parser formats even incomplete or partial SQL statements.