SQL Formatter
Format and beautify SQL queries with customizable indentation and keyword casing options.
How to Use
Paste your SQL query into the input box and click "Process". The tool will format your SQL with proper indentation and keyword casing. Choose your preferred keyword case (UPPERCASE, lowercase, or Capitalize) and whether to reindent lines.
Examples
Simple SELECT
Format a basic SELECT query
SELECT*FROM users WHERE age>18 AND status="active"
Complex JOIN
Format a query with JOIN
SELECT u.name,o.total FROM users u LEFT JOIN orders o ON u.id=o.user_id WHERE o.total>100