SQL Formatter & Beautifier

Format, beautify, and minify SQL statements with keyword normalization.

About SQL Formatter

Beautify, indent, and minify SQL statements with uppercase keyword formatting.

Key Features

  • Beautifies SQL queries with consistent keyword casing and indentation.
  • Accounts for common dialect quirks (MySQL, Postgres, T-SQL) in formatting rules.
  • Turns a minified or copy-pasted one-line query back into something reviewable.