Skip to main content
DevToys
Formatters

SQL formatter

Pretty-print SQL with keyword casing

Conversion workspace

SQL Formatted SQL

Input
SQL
Output
Formatted SQL
How to use / Notes

How to use

  1. Paste the SQL query to format.
  2. Keywords and indentation are tidied up.
  3. Copy the result.

Notes

  • Dialect-specific syntax (MySQL, PostgreSQL, etc.) may not format perfectly.
  • Formatting is cosmetic and does not change query meaning.