SnapSum

SQL Formatter

Format and beautify SQL queries. No data sent anywhere.

Indent:

How to Format SQL

  1. Paste your SQL query into the input area.
  2. Adjust formatting options (uppercase, indent size).
  3. Click "Format SQL" and copy the result.

FAQ

What SQL dialects are supported?

This formatter uses generic SQL rules and works with MySQL, PostgreSQL, SQLite, SQL Server, and Oracle.

Is my SQL sent to a server?

No. All formatting happens in your browser.