🗄️

SQL Formatter

Format, compress and pretty-print SQL queries.

Code Formatting
Input SQL
Formatted result
Formatted result will appear here

What is SQL Formatter?

SQL formatter beautifies SQL queries with proper indentation and keyword formatting, making complex queries easier to read and understand.

Features

  • Format: Beautify with indentation
  • Keyword Case: Uppercase/lowercase keywords
  • Multi-dialect: MySQL, PostgreSQL, SQL Server support

Use Cases

  • Query debugging
  • Code review
  • Documentation