Sleek vs SQLFormat.org
Sleek
github.comSQLFormat.org
sqlformat.orgSide by side
| Figure | Sleek | SQLFormat.org |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | Yes |
| Web | — | Yes |
| Windows | Yes | — |
| macOS | Yes | — |
| Linux | Yes | — |
| API | — | Yes |
| Self-hosted | — | Yes |
| Plans published | 1 | 2 |
| Spec score · SQL Linters and Formatters | 8.0 (#9) | 8.4 (#4) |
| Formatting options | It supports configurable indentation, keyword casing, and blank lines between queries. | Options include keyword and identifier case, indentation, output format, comment removal, and compact mode. |
| License | The project is available under the MIT License. | The site says the sqlparse module is released under the New BSD License. |
| Purpose | Sleek is a command-line tool for formatting SQL to maintain consistent style and readability. | SQLFormat is a free online formatter for SQL statements. |
Plans
In their own words
Sleek
Sleek is a command-line SQL formatter for applying consistent styles across SQL files. Its configurable options include indentation, keyword casing, and blank lines between queries. You can pass file paths or glob patterns, or provide input through standard input when no paths are supplied. The `--check` flag reports whether files are formatted without changing them. Sleek supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, and Oracle. Its VS Code extension can format documents or selections, check formatting, and optionally format on save or paste; it can also download the CLI when it is not found. The CLI is available as compiled binaries or through Cargo, which requires Rust, and the project directs users to choose a binary for their operating system and architecture. Sleek is available under the MIT License, with formatting handled by the `sqlformat` crate. Building release v0.4.0 requires Rust 1.85 or later. The listed plan is free, with a free plan and no free trial.
SQLFormat.org
SQLFormat.org has no write-up on Specifiction yet; its figures are above.