About SQL Formatter
Paste a SQL query and format it with consistent indentation and line breaks. Choose your SQL dialect for best results. All formatting runs in your browser.
Frequently Asked Questions
Is my SQL sent to a server?
No. Formatting runs entirely in your browser.
Which SQL dialects are supported?
The formatter supports MySQL, PostgreSQL, Standard SQL, SQLite, and other common dialects. Choose the dialect that matches your database for best results.
Does it validate SQL?
No. This tool only formats whitespace and line breaks for readability. It does not check syntax or execute queries.