SQL Formatter & Beautifier
Paste messy SQL and get clean, readable, properly indented queries instantly. Supports PostgreSQL, MySQL, SQLite and BigQuery dialects.
// drag a file here to load it
✨ Instant formatting
Paste minified or messy SQL and get properly indented, readable output in milliseconds.
🎨 Syntax highlighting
Keywords, functions, strings, and operators are color-coded so you can scan your query structure at a glance.
🗄 Multi-dialect support
Handles PostgreSQL, MySQL, SQLite, and BigQuery syntax including dialect-specific keywords and functions.
📦 Minify SQL
Strip all whitespace and comments to produce compact SQL for embedding in code or API requests.
🔒 100% private
Your queries never leave your browser. Safe to use with real table names, column names, and production queries.
⚡ No login needed
Just paste and format. No account, no signup, no email required. Free forever.