SQL Formatter VSCode

API—OSS—FREEyesDOCS4/5
SF5.8#14 of 26
—Web—Windows—Mac—Linux—Android—iOS

Ranked in SQL Linters and Formatters ·Free plan

About

SQL Formatter VSCode is ranked #14 of 26 in SQL linters and formatters on Inferse. It runs on Browser extension. There is a free plan.

Compared on SQL linters and formatters

Supported SQL dialects
BigQuery, DB2 for LUW, DB2 for IBM i, DuckDB, Hive, MariaDB, MySQL, N1QL, PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQLite, Trino (Presto), Transact-SQLgithub.com
Automatic fixes
Yesgithub.com
Editor extensions
Yesgithub.com
Configuration file
Yesgithub.com

Facts

Purpose
SQL Formatter VSCode is the official VSCode extension of the SQL Formatter library and formats SQL files.github.com · 4 Oct 2026
Dialect support
The extension lists dialects including BigQuery, DB2, DuckDB, Hive, MariaDB, MySQL, PL/SQL, PostgreSQL, Redshift, Snowflake, Spark, SQLite, Trino, and TransactSQL.github.com · 4 Oct 2026
Dialect fallback
If it cannot detect a specific dialect, the extension defaults to generic SQL, which the README describes as suitable for basic and common SQL statements.github.com · 4 Oct 2026
Formatting options
Settings include keyword, data type, function, and identifier casing, indentation, logical operator line breaks, expression width, spacing around operators, and semicolon placement.github.com · 4 Oct 2026
Editor settings
The extension can use VSCode tab size and spaces settings or override them through its configuration options.github.com · 4 Oct 2026
VSCode environment
Dialect detection depends on information provided by VSCode and can vary with the user's VSCode environment and installed extensions.github.com · 4 Oct 2026
Related library
The underlying SQL Formatter library is a JavaScript library for pretty-printing SQL queries and also offers a command-line interface and npm package.github.com · 4 Oct 2026
Library limitations
The underlying library does not support stored procedures or changing the delimiter from a semicolon.github.com · 4 Oct 2026
Templating limitation
SQL templating syntax is not directly supported by the underlying library, though its README documents a parameter-placeholder workaround for common cases.github.com · 4 Oct 2026
Maintenance
The underlying formatter project says it is in maintenance mode, with feasible bug fixes but likely no new features.github.com · 4 Oct 2026
Support
The extension README directs users to report issues through the SQL Formatter library's GitHub issue tracker and recommends reading its FAQ first.github.com · 4 Oct 2026
Security and license
The extension repository identifies an MIT license and does not describe security certifications or compliance claims in its README.github.com · 4 Oct 2026
Integration
The project identifies the product as a VSCode extension and links to the Visual Studio Marketplace as its extension listing.github.com · 4 Oct 2026
Intended users
The project describes the extension as a tool for formatting SQL files in VSCode.github.com · 4 Oct 2026

Best SQL Formatter VSCode alternatives

See all 20