sqlfmt
What it is
sqlfmt is an online SQL formatter and validator that also flags misspelled keywords. It can adjust keyword case, indentation, comma style, and line width, then check SQL against a selected dialect. When it finds syntax errors, it reports 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 when a user saves a snippet or creates a shareable link. The free plan costs nothing and includes 20 analyses per day, all five dialects, live formatting, and saved snippets and history. Pro costs $9 a month and adds unlimited analyses and REST API access with API keys. Pro API use is limited to 60 requests per minute per key. The API reference gives examples for Shell, Node, Python, Ruby, and PHP. Saved SQL snippets and formatting options are associated with an account and can be deleted at any time. Google and GitHub are listed as sign-in providers.
For and against
For
- Checks five SQL dialects
- Reports syntax errors by line and column
- Offers browser-based formatting and validation
- Free plan includes 20 daily analyses
- Pro includes REST API access
Against
- Free plan is limited to 20 analyses per day
- API keys are limited to 60 requests per minute
- No editor extensions
The verdict
sqlfmt covers formatting, typo suggestions, and dialect-aware validation, with a free tier and paid API access. Its browser processing and stated save/share behavior are useful details for anyone deciding how to handle SQL snippets.
Who it suits
It suits people who want to format and validate SQL in a browser across the listed dialects. Pro may fit users who need more than 20 daily analyses or API access.
Plans and prices
Free
20 analyses per day · all 5 dialects · live formatting · saved snippets & history
Read 8 Oct 2026 · sqlfmt.app
Pro
Unlimited analyses · all Free features · REST API access with API keys · export and shareable links coming soon
Read 8 Oct 2026 · sqlfmt.app
On the record
- 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.sqlfmt.app · read 8 Oct 2026
- 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.sqlfmt.app · read 8 Oct 2026
- API integrations
- The API reference provides examples for Shell, Node, Python, Ruby, and PHP.sqlfmt.app · read 8 Oct 2026
- 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.sqlfmt.app · read 8 Oct 2026
- Data storage
- Saved SQL snippets and formatting options are associated with the user's account and can be deleted at any time.sqlfmt.app · read 8 Oct 2026
- Dialects
- It supports PostgreSQL, MySQL, SQLite, SQL Server (T-SQL), and BigQuery.sqlfmt.app · read 8 Oct 2026
- Formatting
- It formats SQL using configurable keyword case, indentation, comma style, and line width.sqlfmt.app · read 8 Oct 2026
- Maker
- The About page says sqlfmt was built by Sharon Ben-Moshe.sqlfmt.app · read 8 Oct 2026
- Product
- sqlfmt is an online SQL formatter and validator that also flags misspelled keywords.sqlfmt.app · read 8 Oct 2026
- 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.sqlfmt.app · read 8 Oct 2026
- Sign-in
- The privacy policy lists Google and GitHub as sign-in providers.sqlfmt.app · read 8 Oct 2026
- Support
- The maker lists [email protected] as the fastest way to reach it for questions, bug reports, feature ideas, and feedback.sqlfmt.app · read 8 Oct 2026
- Validation
- It parses SQL by dialect and reports syntax errors with the exact line and column.sqlfmt.app · read 8 Oct 2026