SQL Formatter Instructions

  1. Paste SQL or choose a UTF-8 script. Select Open Sample to try the converter.
  2. Choose the original SQL dialect, keyword case, and indentation.
  3. Select Format SQL and compare the result with the source.
  4. Use Copy SQL or Download to save the result.

Formats plain UTF-8 PostgreSQL and SQLite text up to 4 MiB. The formatter changes layout and recognized keyword case within the documented lexical scope.

Dialect selection describes the source language. The tool checks lexical boundaries and balanced brackets. It performs no database operations.