Skip to main content

SQL Formatter

Format SQL queries in your browser with a selectable dialect. SQL is never executed, uploaded, or stored; input is limited to 50,000 UTF-16 code units.

Uses uppercase keywords and two-space indentation. Formatting does not verify query semantics or execute SQL. SQL stays in your browser; maximum input: 50,000 UTF-16 code units. Press Ctrl+Enter or Command+Enter to format.

Was this tool helpful?