EVERYTHING XIAOMI
Get listed
SQLFluff logo

SQLFluff

SQLFluff is an open source SQL linter designed with ELT applications in mind.

Place
#7 of 26
Score
6.4
SQLFluff's website

What SQLFluff is

SQLFluff is an open source SQL linter designed with ELT applications in mind. It flags style and syntax issues, parses SQL without requiring database access, and can automatically fix many linting violations with one command. Documentation describes support for more than 25 dialects, including T-SQL, PostgreSQL, BigQuery, and Snowflake, as well as more than 70 rules for style, structure, and best practices. SQLFluff supports Jinja templating and dbt, and can run in CI/CD pipelines, including GitHub Actions output for pull request annotations. The project is free under the MIT License and can be installed from PyPI using pip or another Python package manager. SQLFluff itself does not execute SQL, but templating macros such as dbt's run_query may do so; its Jinja templater uses Jinja2 SandboxedEnvironment to limit unsafe code execution. The dbt templater requires the relevant adapter and sqlfluff-templater-dbt package. Models that access a database at compile time also need database access. Community channels include documentation, GitHub, Slack, and Stack Overflow.

Good

  • Supports more than 25 SQL dialects.
  • Can automatically fix many linting violations.
  • Parses SQL without database access.
  • Supports Jinja templating and dbt.
  • Free under the MIT License.

Watch out

  • dbt templating requires an adapter and extra package.
  • Some compile-time database access requires a database.
  • Templating macros may execute SQL.

Who it suits

SQLFluff suits teams that want to check SQL style and syntax across multiple dialects, including in ELT and CI/CD workflows. It may fit users working with Jinja templates or dbt who can meet the additional dbt requirements.

Verdict

SQLFluff provides linting, parsing, and autofix across a broad set of SQL dialects. Teams using dbt should check its additional installation and database requirements.

Plans and prices

From SQLFluff's own pricing page, checked 5 Oct 2026.

All about pricing
PlanPriceWhat it gives you
SQLFluffFreeOpen source SQL linter; released under the MIT License

The facts

Each one read from SQLFluff's own pages, with the date it was checked.

What it does

Auto-fix
SQLFluff can automatically fix many linting violations with a single command.checked 5 Oct 2026
dbt requirements
Using the dbt templater requires installing the relevant dbt adapter and sqlfluff-templater-dbt package, and models that access a database at compile time require database access.checked 5 Oct 2026
Dialect support
The documentation says SQLFluff supports more than 25 SQL dialects, including T-SQL, PostgreSQL, BigQuery, and Snowflake.checked 5 Oct 2026
Installation
The project’s website directs users to install SQLFluff from PyPI using pip or another Python package manager.checked 5 Oct 2026
Integrations
SQLFluff can be used in CI/CD pipelines and supports GitHub Actions output for pull request annotations.checked 5 Oct 2026
Linting
It reports SQL style and syntax issues so teams can focus code reviews on function rather than form.checked 5 Oct 2026
Maintainer
The website identifies SQLFluff Ltd. as incorporated in England and gives its registered address as Unit 82a James Carter Road, Mildenhall, Bury St. Edmunds, England, IP28 7DE.checked 5 Oct 2026
Parsing
It parses SQL to catch syntax issues without requiring database access.checked 5 Oct 2026
Purpose
SQLFluff is an open source, dialect-flexible SQL linter designed with ELT applications in mind.checked 5 Oct 2026
Rules
The documentation lists more than 70 linting rules covering style, structure, and best practices.checked 5 Oct 2026
Security
SQLFluff does not execute SQL itself, but templating macros such as dbt’s run_query may execute arbitrary SQL; its Jinja templater uses Jinja2 SandboxedEnvironment to limit unsafe code execution.checked 5 Oct 2026
Support
The project lists documentation, GitHub, Slack, and Stack Overflow as community channels.checked 5 Oct 2026
Templating
SQLFluff supports Jinja templating and dbt.checked 5 Oct 2026

The company

Headquarters
Unit 82a James Carter Road, Mildenhall, Bury St. Edmunds, England, IP28 7DEchecked 23 Sep 2026

Alternatives to SQLFluff

All alternatives
  1. 1

    Poor SQL

    Free planOpen sourceWebAPIExtensionLinux
    7.3Free plan
  2. 2

    RegSQL

    Free planWeb
    7.3From $8 a month
  3. 3

    SQLFormat.org

    Free planOpen sourceWebAPIExtensionSelf-hosted
    7.1Free plan
  4. 4

    sqlfmt

    Free planWebAPILinuxSelf-hosted
    6.7Free plan
  5. 5

    SQLCheck

    Free planLinuxmacOSWindows
    6.5Free plan
  6. 6

    sqlfmt

    Free planWebAPI
    6.5From $9 a month