ToolSite

SQL Formatter

Format and beautify SQL queries. Supports Standard SQL, MySQL, PostgreSQL, SQLite, SQL Server, and Oracle PL/SQL. Keywords to upper or lower case. All processing happens locally.

All processing happens locally in your browser. No files are uploaded.

Share on X

FAQ

Which SQL dialects are supported?
Standard SQL, MySQL, PostgreSQL, SQLite, SQL Server (T-SQL), and Oracle PL/SQL. Choose the dialect that matches your database for the best formatting.
Can I change keyword casing?
Yes — toggle between UPPER and lower case for SQL keywords. Indentation (2 or 4 spaces) is also configurable.
Is my SQL uploaded anywhere?
No. All formatting happens locally in your browser.

Related tools