Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

SQL Formatter

Paste a one-line or messy SQL query and get it back with capitalised keywords and each major clause on its own line — for MySQL, PostgreSQL and standard SQL alike.

How to use

  1. Paste your SQL query.
  2. Click Format SQL — major clauses move to their own lines.
  3. Copy the formatted query back into your editor.

Note: The formatter normalises the standard clause keywords and joins; it keeps your identifiers, string literals and dialect-specific functions exactly as written.