Home/Developer Tools/SQL FormatterSQL FormatterFormat and beautify SQL queries for MySQL, PostgreSQL, SQL Server, Oracle, SQLite, and more — turns a dense one-liner into clean, indented, readable SQL.SQL dialectStandard SQLMySQLPostgreSQLSQLiteMariaDBSQL Server (T-SQL)Oracle (PL/SQL)Your SQLSELECT id, name, email FROM users WHERE active = 1 AND created_at > '2026-01-01' ORDER BY name;Format SQLHow was this tool?Your feedback helps us improve SQL Formatter.Comments (optional)Email (optional)Send feedbackRelated toolsChmod CalculatorCalculate the octal and symbolic chmod permission string.Developer Toolscurl to Code ConverterConvert a curl command into Python, JavaScript, Go, PHP, and more.Developer ToolsQR Code GeneratorGenerate QR codes for any link or text.Developer ToolsCode BeautifierPretty-print HTML, CSS, or JavaScript code.Developer Tools