Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

sqlfmt

sqlfmt.app

  • Free plan
  • Web
  • API
7.4 Club score Visit sqlfmt.app

What sqlfmt is

sqlfmt is an online SQL formatter and validator that also flags misspelled keywords. It formats queries using adjustable keyword case, indentation, comma style, and line width, and checks syntax against a selected dialect. When it finds a syntax error, it identifies the line and column. Supported dialects are PostgreSQL, MySQL, SQLite, SQL Server (T-SQL), and BigQuery. Formatting, validation, and typo suggestions run in the browser; SQL is sent to the service only when you save a snippet or create a shareable link. The free plan includes 20 analyses per day, all five dialects, live formatting, and saved snippets and history. Pro costs $9/month and adds unlimited analyses and REST API access with API keys. Pro API use is limited to 60 requests per minute per key, and the API reference includes examples for Shell, Node, Python, Ruby, and PHP. Saved snippets and formatting options are linked to an account and can be deleted. The service lists Google and GitHub sign-in providers.

Who it suits

sqlfmt suits people who need to format or validate SQL in a browser, especially across its five supported dialects. Pro may suit users who want API access for automated analysis.

Good to know, and what to watch

  • Supports five SQL dialects.
  • Reports syntax errors by line and column.
  • Formatting and validation run locally in the browser.
  • Free plan includes 20 analyses per day.
  • Saved snippets and formatting options can be deleted.
  • Free plan is limited to 20 analyses per day.
  • Pro API is capped at 60 requests per minute per key.
  • No editor extensions are listed.

Free

Free

Pro

$9/mo

Free plan

The verdict

sqlfmt covers formatting, syntax checks, and typo suggestions for five dialects, with a free tier for routine use. Pro adds unlimited analyses and API access, subject to a per-key request limit.

What the maker publishes

Analytics
The service uses Google Analytics and PostHog for usage and technical data, including page views, interactions, browser and device details, and approximate location derived from IP address. source
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. source
API integrations
The API reference provides examples for Shell, Node, Python, Ruby, and PHP. source
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. source
Data storage
Saved SQL snippets and formatting options are associated with the user's account and can be deleted at any time. source
Dialects
It supports PostgreSQL, MySQL, SQLite, SQL Server (T-SQL), and BigQuery. source
Formatting
It formats SQL using configurable keyword case, indentation, comma style, and line width. source
Maker
The About page says sqlfmt was built by Sharon Ben-Moshe. source
Product
sqlfmt is an online SQL formatter and validator that also flags misspelled keywords. source
Security and privacy
The privacy policy says SQL input, formatted SQL, and validation details are masked in PostHog session replay recordings before they leave the browser. source
Sign-in
The privacy policy lists Google and GitHub as sign-in providers. source
Support
The maker lists [email protected] as the fastest way to reach it for questions, bug reports, feature ideas, and feedback. source
Validation
It parses SQL by dialect and reports syntax errors with the exact line and column. source

Checked against the maker's pages on 8 Oct 2026.