SQL Formatter

Format and prettify SQL queries.

About SQL Formatter

Paste a SQL query and get a tidier version with keywords uppercased and major clauses placed on their own lines, making long queries easier to read and review.

  1. 1Paste your SQL.
  2. 2Get the formatted query.
  3. 3Copy it back into your editor.

FAQ

Does it change my query's meaning?

No — it only reformats spacing and capitalization; the SQL stays functionally identical.

Related tools