ToolVaults

SQL Formatter & Beautifier

Format and beautify SQL for 10 dialects including PostgreSQL, MySQL, SQLite, BigQuery, Snowflake, and T-SQL. Uppercase keywords, custom indent.

Runs 100% in your browser — nothing is uploaded.

Formatted

Frequently asked

Which dialects are supported?

Standard SQL, PostgreSQL, MySQL, MariaDB, SQLite, BigQuery, Redshift, Snowflake, T-SQL (SQL Server), and DB2. Pick the right one — it affects keyword recognition and specific syntax.

Does it validate my SQL?

Only lightly — enough to format. For proper validation, run the query against your database or use its EXPLAIN command.

Is my query uploaded?

No. Formatting runs in your browser via the sql-formatter library. Nothing leaves your device.

Related tools