sqlfmt
6.5#6 in sql linters and formattersFrom $9 a monthFree planWebAPI
Visit| Fact | sqlfmt | SQLFormat.org |
|---|---|---|
| API | Pro subscribers can use POST /api/v1/analyze with a Bearer API key; the API is limited to 60 requests per minute per key. | The API can format SQL statements and split a string into SQL statements, returning JSON results. |
| Browser processing | Formatting, validation, and typo suggestions run locally in the browser, and SQL is sent to the service only when a user saves a snippet or creates a shareable link. | The current web formatter runs Pyodide with sqlparse in the browser, so entered SQL is processed locally. |
sqlfmt suits people who need to format and check SQL in one of its five supported dialects. Pro may suit users who need unlimited analyses or API access.
SQLFormat.org suits people who want to format SQL in a browser or through a lightweight API. Its linked Python module may interest developers who want to use sqlparse in their own applications.