Developer

SQL Formatter

Format SQL for PostgreSQL, MySQL, SQL Server, Oracle, BigQuery, Snowflake and more, with keyword case and indent options.

Offline prerequisites

The installed app shell does not prepare every operation. Choose the resources you need, prepare while online, then recheck before disconnecting. Downloads below are approximate bundled sizes; network transfer can differ.

This tool has no separately downloaded codec/model prerequisite in this build. Its app code must still be installed, and browser APIs, file limits and supported formats still apply.

Checking this build’s offline resources…

SQL

Tab moves to the next control. Ctrl+] or Command+] inserts a tab.

About this tool

Format SQL with indentation that follows its structure: clauses on their own lines, subqueries indented and lists broken up. Choose the dialect, from PostgreSQL and MySQL to SQL Server, Oracle, BigQuery, Snowflake and DuckDB, so its keywords and syntax are recognised.

Make keywords uppercase or lowercase, or leave them as written; nothing else about the query changes.

Nothing connects to a database and the SQL is never run, so formatting production queries is safe.

esc
  • Opens in its own window, like any app
  • Works without an internet connection
  • Starts instantly from your home screen or dock

Look for the install icon at the right end of your browser’s address bar, or open the browser menu and choose Install Interformat.