JSQLFormatter
6.1#14 in sql linters and formattersFree planFree planLinuxmacOSSelf-hostedWindows
Visit| Fact | JSQLFormatter | sqlfmt |
|---|---|---|
| License | JSQLFormatter is licensed under Apache 2.0 from version 5.4 onwards; releases through 5.3 were AGPL. | sqlfmt is distributed under the PostgreSQL Licence. |
| Purpose | JSQLFormatter is a platform independent SQL formatter, beautifier and pretty printer. | sqlfmt is a gofmt-style command-line formatter for PostgreSQL SQL. |
JSQLFormatter suits developers who want configurable SQL formatting in Java library or command-line workflows. Its dialect coverage and preservation of comments may also help people working with varied SQL sources.
It suits PostgreSQL users who want consistent SQL formatting in a CLI, browser, Go program, or supported editor. Its EXPLAIN tools may also suit teams comparing plan structure in scripts or CI.