# SQL Formatter

> Paste ugly SQL, get clean, readable, dialect-aware SQL. Postgres, MySQL, SQLite, BigQuery, Redshift, and more. Every option you'd expect from your IDE.

Author: Nimoy Burrowes (https://nimoyburrowes.com/about)
Category: Data tools
Canonical: https://nimoyburrowes.com/tools/sql-formatter

## What it does

Free client-side SQL formatter and beautifier. Supports 15+ dialects (PostgreSQL, MySQL, MariaDB, SQLite, SQL Server, BigQuery, Redshift, Snowflake, and more), configurable keyword case, indentation, comma position, and line width. Paste in any SQL — messy joins, machine-generated statements, output from ORMs — and get a clean, consistent, dialect-aware format. Runs entirely in your browser; the SQL never leaves the tab.

## Search intents this tool serves

- sql formatter
- sql beautifier online
- postgres sql formatter
- mysql sql formatter
- format sql query
- sql pretty printer
- clean up sql

## Privacy

Every action runs entirely in the visitor's browser. No input or output is sent to a server, stored, or logged. See the full HTML page for the tool's live interface and full FAQ.

Full page: https://nimoyburrowes.com/tools/sql-formatter