Fast SQL formatter/linter
See the codesqruff is a SQL linter and formatter written in Rust.
Try it in the browser: https://playground.quary.dev
brew install sqruff
For other platforms (pip, cargo, binary downloads), see the installation guide.
sqruff lint . --dialect postgres
Create a .sqruff file in your project root:
[sqruff]
dialect = postgres
Then run without the --dialect flag:
sqruff lint .
sqruff ships an LSP server (sqruff lsp) usable from any editor. This repo
maintains two integrations:
editors/codeeditors/zedFull documentation: playground.quary.dev/docs
Key entry points:
(top 24 of 52)
535 followers · starred Nov 2025
1,249 followers · starred Aug 2026
678 followers · starred Jan 2025
142 followers · starred Jul 2025
Fast SQL formatter/linter
See the codesqruff is a SQL linter and formatter written in Rust.
Try it in the browser: https://playground.quary.dev
brew install sqruff
For other platforms (pip, cargo, binary downloads), see the installation guide.
sqruff lint . --dialect postgres
Create a .sqruff file in your project root:
[sqruff]
dialect = postgres
Then run without the --dialect flag:
sqruff lint .
sqruff ships an LSP server (sqruff lsp) usable from any editor. This repo
maintains two integrations:
editors/codeeditors/zedFull documentation: playground.quary.dev/docs
Key entry points:
(top 24 of 52)
535 followers · starred Nov 2025
1,249 followers · starred Aug 2026
678 followers · starred Jan 2025
142 followers · starred Jul 2025