Format and beautify your SQL queries with proper indentation, keyword casing, and syntax highlighting. Supports SELECT, INSERT, UPDATE, DELETE, and complex queries.
Your formatted SQL will appear here
Automatically formats SQL with proper indentation, line breaks, and keyword casing.
Choose indentation level and keyword case (UPPER, lower, Title) to match your style.
Supports SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, and complex queries.
Copy and paste your SQL query into the input area. It can be unformatted or messy.
Select your preferred indentation (2, 4, or 8 spaces) and keyword case style.
Click "Format SQL" to beautify your query, then copy or download the result.