SQL Formatter

Format and beautify SQL queries — supports MySQL, PostgreSQL, SQLite

Free Client-Side No Login No Storage
Loading tool...

How to Use the SQL Formatter

  1. Paste your SQL query.
  2. Choose indent style.
  3. Click Format.

Formats SELECT, INSERT, UPDATE, DELETE, CREATE, and JOIN statements. Keywords are uppercased, commas start new lines, and parentheses are indented.