SQL Formatter
Format and beautify SQL queries with configurable indentation, keyword case, and dialect. Powered by sql-formatter locally — your queries never leave the browser.
Processed in your browser · No upload
Loading tool…
Formatting runs entirely in your browser using the sql-formatter library (MIT). No queries are sent to any server.
FAQ
- Is my SQL uploaded to a server?
- No. The formatting runs entirely in your browser using the sql-formatter library.
- Which SQL dialects are supported?
- Standard SQL by default, plus PostgreSQL, MySQL, SQLite, BigQuery, T-SQL, MariaDB, PL/SQL, DB2, Redshift, and Snowflake via the dialect selector.
Related Tools
JSON Formatter
Pretty-print JSON with configurable indentation (2 spaces, 4 spaces, or tab). Runs entirely in your browser with friendly error messages for invalid input.
HTML Formatter
Beautify and re-indent HTML markup using Prettier locally. Choose indent width; tags wrap consistently.
YAML Formatter
Re-serialize YAML with a configurable line width and indent. Powered by js-yaml locally — your YAML never leaves the browser.
UUID Generator
Generate RFC 4122 v4 UUIDs instantly in your browser. Choose how many to generate and copy the result with one click.
Base64 Encoder
Encode any UTF-8 text to Base64 online for free. Processed entirely in your browser — no data leaves your device.
Base64 Decoder
Decode Base64 strings back to readable UTF-8 text in your browser. Friendly error messages for invalid input.