Axiomatic ToolsFree Fast Essential

SQL formatter

Pretty-print SQL with configurable dialect.

  • Developer
  • Free to use
  • Runs in your browser
Use via API

Your input

0 chars

Set your options

Options2 settings

Between 0 and 8

Run SQL Formatter

Private by default. Runs entirely in your browser — files never uploaded.

Report a bug

Three steps

How to use SQL Formatter

  1. Step 01

    Pick your input

    Paste your text into the box above.

  2. Step 02

    Configure & run

    Adjust the options (dialect, indent) and click Run. Everything happens in your browser via WebAssembly.

  3. Step 03

    Download the result

    The result appears below the form. Copy it with one click.

This tool runs entirely in your browser. Your file is never uploaded to our servers.

About sql formatter

Format SQL — Postgres, MySQL, SQLite, T-SQL, BigQuery. It sits in the developer shelf alongside 76 other developer tools, needs no account, and keeps the same behaviour whether you open it here or call it through the REST API.

It works from what you type in rather than a file and gives back SQL. The work happens in your browser, so nothing is sent to us at all and the tool keeps working offline. The same operation is available programmatically at POST /v1/dev/sql-formatter.

SQL Formatter questions

Does SQL Formatter upload my file?

No. SQL Formatter runs as WebAssembly inside this browser tab: the file is read from your disk by the page, processed on your own machine, and handed straight back. It is never sent anywhere, so there is nothing for us to store or delete.

Do I need an account to use SQL Formatter?

No. SQL Formatter works without signing in, and that is not a trial — it is how the free tier works. An account only matters for things that need one to exist at all: larger server jobs against your quota, API keys, saved workflows and billing.

Can I run SQL Formatter from my own code?

Yes. Every tool on the site is reachable from the REST API with the same slug — `sql-formatter` — and the same options as this page, so anything you can do here you can automate against your own files.

SQL Formatter · Axiomatic Tools