🗃️
SQL Prettifier & Formatter
Format and beautify SQL queries with proper indentation and keyword capitalization. Supports SELECT, INSERT, UPDATE, DELETE, JOIN, WHERE, and more.
Frequently Asked Questions
What SQL dialects are supported?
The formatter works with standard SQL syntax including common keywords from MySQL, PostgreSQL, and SQL Server.
Does it handle subqueries?
The formatter capitalizes keywords and adds basic indentation. Major clauses are placed on new lines.
Is my SQL sent to a server?
No, all formatting happens in your browser. Your queries are never transmitted anywhere.
Related Tools
How to Use
- 1 Paste your SQL query into the input area.
- 2 Click **Format** to add indentation, line breaks, and capitalize keywords.
- 3 Supports SELECT, INSERT, UPDATE, DELETE, JOIN, WHERE, and subqueries.
- 4 Copy the formatted query for readability in reviews or documentation.