SQL formatter — tools.voiddo/sqlfmt vs sqlformat.org
Both format SQL queries online. sqlformat.org is a long-standing server-based formatter built on the Python sqlparse library. sqlfmt is browser-only, supports six named dialects, auto-formats as you type, and never sends your query upstream.
tools.voiddo/sqlfmt
- Runs entirely in your browser — query never leaves your machine
- Six named dialects: Standard SQL, MySQL, PostgreSQL, MariaDB, SQLite, Transact-SQL
- Auto-formats 250ms after you stop typing
- Indent control: 2 spaces, 4 spaces, or tabs
- Uppercase keywords toggle
- Ctrl+Enter to format on demand
- One-click copy of formatted output
- Works offline once loaded
- Zero ads, zero analytics on query content
sqlformat.org
- Long-established formatter — built on Python's
sqlparselibrary - Server-side processing — query is POSTed to their backend
- Has a sister API (sqlformat.org/api) for programmatic use
- Single "format" button — no live auto-format
- Generic SQL — not engine-aware
- Carries ads on the page
- Requires network connection for every format
Feature comparison
| Feature | tools.voiddo/sqlfmt | sqlformat.org |
|---|---|---|
| Browser-only (no server call) | ✓ | ✗ POSTs to server |
| Standard SQL (ANSI) | ✓ | ✓ |
| MySQL dialect-aware | ✓ named | generic |
| PostgreSQL dialect-aware | ✓ named | generic |
| MariaDB dialect-aware | ✓ named | generic |
| SQLite dialect-aware | ✓ named | generic |
| Transact-SQL (MSSQL) | ✓ named | generic |
| Indent: 2 / 4 spaces / tabs | ✓ | partial |
| Uppercase keywords toggle | ✓ | ✓ |
| Auto-format as you type | ✓ 250ms debounce | ✗ button-only |
| Ctrl+Enter shortcut | ✓ | ✗ |
| Click-to-copy output | ✓ | ✓ |
| Offline support | ✓ once loaded | ✗ |
| Ads on page | none | yes |
| Query stays on your machine | ✓ | ✗ |
| Programmatic API | use sql-formatter npm | ✓ HTTP API |
| Open source | ✓ sql-formatter (MIT) | ✓ sqlparse (BSD) |
Comparison reflects publicly observable behavior as of 2026-05. sqlformat.org remains useful if you need a hosted formatting API. For interactive editing where you do not want SQL leaving your browser, sqlfmt is the better fit.
FAQ
Does sqlformat.org send my SQL to a server?
Yes. sqlformat.org runs Python's
sqlparse on the server side and your query is sent over HTTPS to their backend each time you click format. sqlfmt runs entirely in your browser — the parser is a JavaScript bundle and your query never leaves the page.Which dialects does sqlfmt support that sqlformat.org does not?
sqlfmt explicitly handles Standard SQL, MySQL, PostgreSQL, MariaDB, SQLite, and Transact-SQL with named grammar tables. sqlparse (the engine behind sqlformat.org) is largely dialect-agnostic and formats whitespace / keyword casing without switching grammars per engine.
Can I use sqlfmt offline?
Yes, once the page is loaded. The
sql-formatter bundle is fetched from a CDN on first visit and cached by the browser. After that, formatting works without a network connection.Does sqlfmt have an API?
sqlfmt itself is the browser UI. The underlying engine is the open-source
sql-formatter npm package — you can install it directly in your own project (npm install sql-formatter) for programmatic use. sqlformat.org provides a hosted HTTP API.Is sqlfmt free?
Yes, completely free with no account, no rate limit, and no upsell. There is an optional one-time $9 Pro license that supports the studio building all 50 vøiddo tools, but every feature in sqlfmt is available to anyone.
When would I still use sqlformat.org?
If you need a hosted HTTP API to format SQL programmatically and do not want to bundle a JavaScript library, sqlformat.org's API endpoint is convenient. For interactive editing or anything sensitive, sqlfmt avoids the round-trip and keeps the query local.
Try tools.voiddo/sqlfmt
Format SQL for six dialects in your browser. Auto-format, indent control, uppercase toggle, click-to-copy. Zero server.
open in browser →Competitor names and trademarks belong to their respective owners. This comparison reflects publicly observable tool behavior.