SQL Formatter

Format and beautify your SQL queries

Input SQL

Formatted SQL

Formatted SQL will appear here...

Example Queries

About SQL Formatter

Features

  • Uppercase SQL keywords
  • Proper indentation
  • Line breaks after clauses
  • Readable query structure

Supported Statements

  • SELECT, INSERT, UPDATE, DELETE
  • CREATE, ALTER, DROP
  • JOIN, WHERE, GROUP BY
  • All standard SQL syntax