Command Palette

Search for a command to run...

SQL Formatter & Beautifier

Format and beautify raw SQL queries for maximum readability.

Features

  • Beautifies and indents SQL queries with a single click
  • Supports multiple dialects: MySQL, PostgreSQL, SQLite, T-SQL
  • Keyword capitalization options (UPPER, lower, preserve)
  • Minify mode to compress SQL into one line
  • Runs entirely in your browser

Use Cases

  • Making a copy-pasted SQL query from logs readable
  • Cleaning up auto-generated SQL from ORMs before code review
  • Documenting SQL queries in readable format

How to Use

  1. Paste your raw SQL query into the input area.
  2. Select your SQL dialect (MySQL, PostgreSQL, etc.).
  3. Click 'Format' — the result appears instantly in the output.