Loading developer tools…
Loading developer tools…
Format SQL queries with consistent indentation and keyword casing. Supports all major SQL dialects.
Formatted SQL
Output will appear here…Format, validate, and minify JSON with syntax highlighting and error detection
Decode and inspect JSON Web Token headers, payloads, and expiry claims
Encode text or files to Base64 and decode Base64 strings back to plain text
Convert Unix timestamps to human-readable dates and vice versa, in any timezone
Paste your SQL
Paste any SQL query — SELECT, INSERT, UPDATE, DELETE, CREATE — into the left input panel.
Choose indent size
Select 2 or 4 spaces for indentation.
Choose keyword casing
Select UPPER (SELECT, FROM), lower (select, from), or Preserve to keep the original casing.
Click Format SQL
The formatted query appears in the right panel with keywords on new lines and consistent indentation.
Copy the output
Click the copy button to grab the formatted SQL.