Skip to content
SPECIFICTION
Get listed

Prettier SQL vs Sleek

Prettier SQL

github.com

Sleek

github.com

Side by side

FigurePrettier SQLSleek
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
Linux—Yes
Self-hostedYes—
Plans published11
Spec score · SQL Linters and Formatters7.6 (#14)8.0 (#9)
Formatting optionsOptions include keyword, data type, function, and identifier casing, indentation style, and logical operator line breaks.It supports configurable indentation, keyword casing, and blank lines between queries.
LicenseThe package is distributed under the MIT license.The project is available under the MIT License.
MakerThe package metadata names JounQin as its author, and the repository describes itself as a collection of Prettier plugins.The repository owner profile identifies nrempel as Nick Rempel and lists Victoria, BC, Canada.
Purposeprettier-plugin-sql adds SQL formatting support to Prettier.Sleek is a command-line tool for formatting SQL to maintain consistent style and readability.

Plans

Prettier SQL

  • MIT-licensed open-source packageFree

Prettier SQL pricing →

Sleek

  • SleekFree

Sleek pricing →

In their own words

Prettier SQL

Prettier SQL has no write-up on Specifiction yet; its figures are above.

Visit github.com

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.

Visit github.com