Sunday, October 25, 2026 4,350 lists 78,100 records on file
List your app or device

  1. Home
  2. SQL Linters and Formatters
  3. Sleek

Sleek

What it is

Sleek is a free command-line tool for formatting SQL files with configurable style rules. Options include indentation, keyword casing and blank lines between queries. Users can supply file paths as arguments, use glob patterns for multiple files, or send input through standard input when no paths are given. The --check flag checks formatting without modifying files. Sleek supports PostgreSQL, MySQL, MariaDB, SQLite, SQL Server and Oracle. The VS Code extension can format documents or selections, check formatting, and optionally format on save or paste; it can also download the CLI if it is not found. The command-line tool is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust. The project directs users to choose a release binary matching their operating system and architecture. Sleek is available under the MIT License, and the repository says formatting work is handled by the sqlformat crate. The v0.4.0 release notes require Rust 1.85 or later to build that release.

For and against

For

  • Configurable indentation and keyword casing
  • Formats multiple files with glob patterns
  • Check mode leaves files unchanged
  • VS Code extension supports formatting on save or paste
  • Supports six SQL dialects

Against

  • Cargo installation requires Rust
  • Building v0.4.0 requires Rust 1.85 or later
  • Release binaries must match operating system and architecture

The verdict

Sleek provides configurable SQL formatting through both a command-line tool and a VS Code extension. Choose a matching binary or use Cargo, and note the Rust version requirement for building v0.4.0.

Who it suits

Sleek suits developers who want consistent SQL formatting from a command line or VS Code. It supports six listed SQL dialects and offers a check mode for verifying files without changing them.

Plans and prices

Sleek

Free

Open-source SQL formatter · MIT License

Every plan, in full

On the record

Check mode
The --check flag checks whether SQL files are formatted without modifying them.github.com · read 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 · read 3 Oct 2026
Extension setup
The VS Code extension can download the Sleek CLI automatically when it is not found.marketplace.visualstudio.com · read 3 Oct 2026
Formatting options
It supports configurable indentation, keyword casing, and blank lines between queries.github.com · read 3 Oct 2026
Implementation
The repository says the formatting work is handled by the sqlformat crate.github.com · read 3 Oct 2026
Input methods
Sleek reads file paths as arguments and reads from standard input when no paths are provided.github.com · read 3 Oct 2026
Installation
The CLI is available as compiled binaries from GitHub Releases or through Cargo, which requires Rust.github.com · read 3 Oct 2026
License
The project is available under the MIT License.github.com · read 3 Oct 2026
Maker
The repository owner profile identifies nrempel as Nick Rempel and lists Victoria, BC, Canada.github.com · read 3 Oct 2026
Multiple files
Sleek accepts glob patterns to format multiple files.github.com · read 3 Oct 2026
Purpose
Sleek is a command-line tool for formatting SQL to maintain consistent style and readability.github.com · read 3 Oct 2026
Security
The repository page shows a Security and quality section but states no security certification or compliance claim.github.com · read 3 Oct 2026
Supported systems
The project directs users to choose a release binary matching their operating system and architecture.github.com · read 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 · read 3 Oct 2026

Alternatives to Sleek

Every alternative, ranked