SQL Formatter

Free online SQL Formatter. No sign-up needed, and it runs in your browser.

Processed on your device

Format long SQL queries into clean, readable code. Supports MySQL, PostgreSQL, SQL Server, Oracle, SQLite and more.

How to use

  1. Add your text or file.
  2. Adjust the options if needed.
  3. Copy or download the result.