SQL Formatter & Beautifier

Format and beautify SQL queries with proper indentation and uppercase keywords. Supports SELECT, INSERT, UPDATE, DELETE, CREATE, and more.

Input Paste SQL here
Formatted Output

About SQL Formatter

This free online SQL formatter transforms messy, single-line SQL queries into clean, readable code with proper indentation. It handles common SQL dialects including MySQL, PostgreSQL, SQLite, and SQL Server syntax.

Features