Skip to content
dashutils

SQL Formatter

Turn one-line SQL into readable, consistently indented queries. Supports standard SQL, PostgreSQL, MySQL, SQLite, SQL Server, BigQuery and more.

  • Free, no sign-up
  • Runs locally in your browser
Loading tool…

Your files are processed on this device and are never uploaded to a server.

How to use the SQL Formatter

  1. 1

    Paste or type your input.

  2. 2

    Choose the operation and options.

  3. 3

    Copy the output or download it as a file.

Dialects

Choose your database dialect so vendor-specific syntax such as PostgreSQL casts or SQL Server brackets is formatted correctly.

Frequently asked questions

Is my data sent to a server?

No. Everything runs in your browser as you type. Nothing is uploaded or logged, so it is safe to paste API responses, tokens and private text.