SQL Formatter

Your workspaceProcessed on your device
A few things to know.

Accepts 250,000 UTF-16 code units and UTF-8 files up to 4 MiB. Layout follows SQL Formatter’s supported syntax. Formatting does not connect to a database or validate a schema.

  1. Choose the SQL dialect, indentation and keyword case.
  2. Paste a query or select a local UTF-8 file. Select Format SQL.
  3. Review the output and download formatted.sql. Check the quoted identifiers, string literals and binding placeholders.