Antpact Toolbox
中文
Home › Utilities & Developer › SQL Formatter

SQL Formatter

Pretty-print SQL with uppercased keywords and clause breaks.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Paste SQL.
  2. Get the formatted result live.

FAQ

Does it change my SQL logic?

No, only whitespace and line breaks; semantics are preserved.

Which dialects?

Generic ANSI style; works for most mainstream dialects.

About this SQL Formatter

Local. Breaks lines before SELECT/FROM/WHERE/JOIN/GROUP BY/ORDER BY etc.