FileBrixNo upload · Private
Processed locally — your file never leaves your device

SQL Formatter

Pretty-print SQL queries with dialect-aware formatting — entirely in your browser.

How it works

  1. Paste a SQL query, or open a file.
  2. Choose the SQL dialect that matches your database.
  3. Click Format to pretty-print it locally.

Frequently asked questions

Is my SQL uploaded or executed anywhere?
No. This only reformats whitespace, casing and indentation — it never parses your SQL into an execution plan, connects to a database, or runs it.
Which SQL dialects are supported?
Standard SQL, MySQL, PostgreSQL, SQLite, MariaDB, and SQL Server (T-SQL) — pick the one matching your query's syntax for the most accurate formatting.
Can I open a file instead of pasting?
Yes, there's an Open file button, or you can paste text directly.