Sleek
github.com
- Free plan
- Windows
- macOS
- Linux
- Browser extension
What Sleek is
Sleek is a free command-line tool for formatting SQL with configurable indentation, keyword casing and blank lines between queries. You can pass file paths as arguments, use glob patterns for multiple files, or provide SQL through standard input when no paths are given. Its --check flag checks formatting without changing files. Sleek supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server and Oracle. The CLI is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust; the project directs users to choose a binary matching their operating system and architecture. A VS Code extension can format documents or selections, check formatting, and optionally format on save or paste. It can download the CLI automatically if it is not found. The project is available under the MIT License and says formatting work is handled by the sqlformat crate. Building the v0.4.0 release requires Rust 1.85 or later.
Who it suits
Sleek suits developers who want consistent SQL formatting from a command line or VS Code. It supports users working with six listed SQL dialects and multiple operating systems.
Good to know, and what to watch
- Configurable indentation, keyword casing and blank lines.
- Glob patterns format multiple files.
- Check mode avoids modifying SQL files.
- VS Code extension can format selections and documents.
- Supports six listed SQL dialects.
- Cargo installation requires Rust.
- Release binaries must match operating system and architecture.
- Building v0.4.0 requires Rust 1.85 or later.
Plans
Every plan and priceSleek
Free plan
The verdict
Sleek offers SQL formatting through both a CLI and a VS Code extension, with check mode for validation without edits. Its installation options and Rust requirement for building may matter when selecting a setup.
What the maker publishes
- Check mode
- The --check flag checks whether SQL files are formatted without modifying them. source
- Editor integration
- The VS Code extension formats documents and selections, checks formatting, and can optionally format on save or paste. source
- Extension setup
- The VS Code extension can download the Sleek CLI automatically when it is not found. source
- Formatting options
- It supports configurable indentation, keyword casing, and blank lines between queries. source
- Free plan
- Yes source
- Implementation
- The repository says the formatting work is handled by the sqlformat crate. source
- Input methods
- Sleek reads file paths as arguments and reads from standard input when no paths are provided. source
- Installation
- The CLI is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust. source
- License
- The project is available under the MIT License. source
- Maker
- The repository owner profile identifies nrempel as Nick Rempel and lists Victoria, BC, Canada. source
- Multiple files
- Sleek accepts glob patterns to format multiple files. source
- Purpose
- Sleek is a command-line tool for formatting SQL to maintain consistent style and readability. source
- Security
- The repository page shows a Security and quality section but states no security certification or compliance claim. source
- Supported systems
- The project directs users to choose a release binary matching their operating system and architecture. source
- Upgrade requirement
- The v0.4.0 release notes state that Rust 1.85 or later is required to build that release. source
Checked against the maker's pages on 3 Oct 2026.