SQL Formatter
Tool guidePretty print / minify SQL
Input: This tool processes input in your browser. Check in Network (opens in a new tab)
Mode:
Dialect:
Indent:
Case:
Input (SQL)
Output (Pretty)
Paste SQL on the left, then press ⌘Enter
Tool guide
Back to workspacePaste your SQL query and get instant formatting with support for 8+ SQL dialects. Features include keyword case conversion (UPPER/lower/preserve), configurable indentation, and minification. Powered by sql-formatter — all processing happens in your browser.