Tech riderRev. 4 Oct 2026
SQL Formatter
- 1Runs onBrowser, Linux, Mac, Web, Windows
- 2CostsFree plan
- 3Supported SQL dialectsStandard SQL, BigQuery, ClickHouse, IBM DB2, IBM DB2i, DuckDB, Apache Hive, MariaDB, MySQL, TiDB, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQLite, SQL Server Transact-SQL, Trino/Presto
- 4Automatic fixesYes
- 5Editor extensionsYes
- 6Configuration fileYes
6 lines stated Written from the maker's own pages: sql-formatter-org.github.io, github.com

Overview
SQL Formatter is ranked #8 of 26 in SQL linters and formatters on Specifiction. It runs on Browser extension, Linux, macOS, Web, Windows. There is a free plan.
SQL Formatter plans and pricing
All plansCompared on SQL linters and formatters
- Supported SQL dialects
- Standard SQL, BigQuery, ClickHouse, IBM DB2, IBM DB2i, DuckDB, Apache Hive, MariaDB, MySQL, TiDB, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Amazon Redshift, SingleStoreDB, Snowflake, Spark, SQLite, SQL Server Transact-SQL, Trino/Prestosql-formatter-org.github.io
- Automatic fixes
- Yessql-formatter-org.github.io
- Editor extensions
- Yessql-formatter-org.github.io
- Configuration file
- Yessql-formatter-org.github.io
Facts
- Purpose
- SQL Formatter is a JavaScript library for pretty-printing SQL queries.github.com · 4 Oct 2026
- Dialects
- It supports BigQuery, ClickHouse, DB2, DuckDB, Hive, MariaDB, MySQL, TiDB, Couchbase N1QL, Oracle PL/SQL, PostgreSQL, Redshift, SingleStoreDB, Snowflake, Spark, SQL Server Transact-SQL, and Trino/Presto.github.com · 4 Oct 2026
- Formatting options
- Options include indentation, keyword and data type case, function and identifier case, logical operator placement, expression width, spacing between queries, and operator spacing.github.com · 4 Oct 2026
- Placeholder replacement
- The library can replace placeholders in prepared SQL statements using supplied parameter values.github.com · 4 Oct 2026
- CLI
- The command line tool accepts SQL from standard input or a file and can write formatted output or update a file in place.github.com · 4 Oct 2026
- Editor integrations
- The project lists VS Code and Vim extensions, a Prettier plugin, and an ESLint plugin integration.github.com · 4 Oct 2026
- Configuration schema
- The project provides a JSON Schema for configuration-file autocompletion and IntelliSense in editors, with usage guides for VS Code and Zed.github.com · 4 Oct 2026
- License
- The software is released under the MIT license.github.com · 4 Oct 2026
- Limits
- It does not support stored procedures or changing the delimiter from a semicolon.github.com · 4 Oct 2026
- Templating
- Templating syntax is not directly supported; the README describes a parameter-type workaround that may not cover every templating construct.github.com · 4 Oct 2026
- Maintenance
- The maintainer says the formatter is in maintenance mode, with feasible bug fixes and likely no new features.github.com · 4 Oct 2026
- Browser demo
- The official demo page exposes controls for language, indentation, case, operator newlines, expression width, and query spacing.sql-formatter-org.github.io · 4 Oct 2026
Best SQL Formatter alternatives
See all 20 All accessCh 01 Squawk AndroidAPI 7.4 All accessCh 02 sqlfmt Free planAPILinux Free to start7.3 All accessCh 03 Poor SQL Free planAPILinux Free to start7.2 All accessCh 04 Sqruff Free planBrowserLinux Free to start7.2 All accessCh 05 TSQLLint Free planBrowserLinux Free to start7.2 All accessCh 06 JSQLFormatter Free planLinuxMac Free to start7.1
Where it ranks on Specifiction
Is SQL Formatter yours?
Claim it for free: prove the domain, then correct facts, plans and screenshots. An editor reviews every change.
Sources
- github.com/sql-formatter-org/sql-formatter· checked 4 Oct 2026
- sql-formatter-org.github.io/sql-formatter/· checked 4 Oct 2026
