Skip to main content
Back to Dev Tools

SQL Formatter

Format and beautify SQL queries directly in your browser

SQL Formatter takes an unformatted or minified SQL query and reorganizes it with indentation, line breaks, and uppercased keywords for better readability. It supports multiple dialects (MySQL, PostgreSQL, SQLite, T-SQL, BigQuery, Snowflake and more). All processing happens in your browser — no data is sent to any server.

Example: SELECT id,name FROM users WHERE active=1 ORDER BY name gets formatted with indentation and uppercased keywords.