Sleek
Ranked in To-do list apps ·Free plan
About
Sleek is a free, open-source command-line tool for formatting SQL to keep its style consistent. It supports configurable indentation, keyword casing, and blank lines between queries, and lists PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, and Oracle among supported dialects. Pass file paths as arguments, use glob patterns for multiple files, or provide SQL through standard input when no paths are supplied. The --check flag checks formatting without changing files. For VS Code users, its extension can format documents or selections, check formatting, and optionally format on save or paste; it can also download the CLI if it is missing. The command-line tool is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust. The project directs users to select a binary matching their operating system and architecture. Sleek is released under the MIT License, and the repository identifies the sqlformat crate as handling formatting work. Building the v0.4.0 release requires Rust 1.85 or later.
Who it is for
Sleek suits developers who want a command-line SQL formatter with configurable style and a non-modifying check mode. Its VS Code extension also serves developers who want formatting from their editor.
What is good
- Supports six listed SQL dialects.
- Glob patterns can target multiple files.
- Check mode does not modify SQL files.
- VS Code extension supports format-on-save or paste.
- Available under the MIT License.
What to know first
- Cargo installation requires Rust.
- Building v0.4.0 requires Rust 1.85 or later.
- No custom rules are listed.
Verdict
Sleek covers common formatting controls, multiple SQL dialects, and both command-line and VS Code workflows. Choose a release binary suited to your operating system and architecture, or account for the Rust requirement when building v0.4.0.
Compared on to-do list apps
- Free plan
- Yesgithub.com
- Supported SQL dialects
- PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, Oraclegithub.com
- Automatic fixes
- Yesgithub.com
- Custom rules
- Nogithub.com
- Editor extensions
- Yesgithub.com
Facts
- Purpose
- Sleek is a command-line tool for formatting SQL to maintain consistent style and readability.github.com · 3 Oct 2026
- Formatting options
- It supports configurable indentation, keyword casing, and blank lines between queries.github.com · 3 Oct 2026
- Multiple files
- Sleek accepts glob patterns to format multiple files.github.com · 3 Oct 2026
- Check mode
- The --check flag checks whether SQL files are formatted without modifying them.github.com · 3 Oct 2026
- Input methods
- Sleek reads file paths as arguments and reads from standard input when no paths are provided.github.com · 3 Oct 2026
- Editor integration
- The VS Code extension formats documents and selections, checks formatting, and can optionally format on save or paste.marketplace.visualstudio.com · 3 Oct 2026
- Extension setup
- The VS Code extension can download the Sleek CLI automatically when it is not found.marketplace.visualstudio.com · 3 Oct 2026
- Installation
- The CLI is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust.github.com · 3 Oct 2026
- Supported systems
- The project directs users to choose a release binary matching their operating system and architecture.github.com · 3 Oct 2026
- License
- The project is available under the MIT License.github.com · 3 Oct 2026
- Implementation
- The repository says the formatting work is handled by the sqlformat crate.github.com · 3 Oct 2026
- Security
- The repository page shows a Security and quality section but states no security certification or compliance claim.github.com · 3 Oct 2026
- Upgrade requirement
- The v0.4.0 release notes state that Rust 1.85 or later is required to build that release.github.com · 3 Oct 2026
- Maker
- The repository owner profile identifies nrempel as Nick Rempel and lists Victoria, BC, Canada.github.com · 3 Oct 2026
Best Sleek alternatives
See all 20Where it ranks on Inferse
- Best To-Do List Apps in 2026#122 of 150
- Best SQL Linters and Formatters in 2026#7 of 26
Sources
- github.com/nrempel/sleek· checked 3 Oct 2026
- marketplace.visualstudio.com/items· checked 3 Oct 2026
- github.com/nrempel/sleek/releases· checked 3 Oct 2026
- github.com/nrempel· checked 3 Oct 2026




