SQL Formatter
Format and beautify SQL queries
How to use
Paste your SQL query into the input area, then click Format to beautify it with proper indentation or Minify to compress it. Supports most major SQL dialects including MySQL, PostgreSQL, and SQLite.
- Supports MySQL, PostgreSQL, SQLite, and more dialects
- Formats with proper keyword capitalization and indentation
- Minify mode compresses to a single line
- Everything runs in your browser — nothing is uploaded