Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

sql-formatter

Format and beautify SQL queries for improved readability.

UtilitiesNPM

GitHub

1. License

License from npm.

github.com/sql-formatter-org/sql-formatter

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What sql-formatter does

Format and beautify SQL queries for improved readability.

sql-formatter popularity

51 / 100
Gid Score, #1838 overall
8.9M
downloads a week, npm
2,897
GitHub stars
3
agent projects use it
sql-formatter: downloads per weeknpm, sql-formatter 8,855,170
sql-formatter: GitHub starssql-formatter-org/sql-formatter 2,897

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How sql-formatter is used

  • sql-formatter joined the catalog on its public numbers (8,855,170 downloads a week on npm and 2,897 GitHub stars), not on our project count: it is a dependency in 6 public GitHub projects of our scan, 3 of them set up for AI coding agents.
  • Projects that use it most often also use Prettier (83.3%), Tailwind CSS (100.0%), CodeMirror (66.7%).

Often used with

In 83.3% of its projects
In 100.0% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 66.7% of its projects
In 50.0% of its projects
In 50.0% of its projects

More about sql-formatter

More in Utilities

Alternatives

sql-formatter This page

MITGid 518.9M/wk

Compare sql-formatter with another tool

Get started

Install it.

npm install sql-formatter

No step-by-step start for sql-formatter yet: we have not written its hand-checked card.