vjyas.online

SQL Formatter

Format and beautify SQL queries with keyword casing and indentation. Supports standard SQL, PostgreSQL, and MySQL.

100% private

Live demo
SELECT query
Ready
SQL input
 
Formatted SQL
 

Auto-playing walkthrough — paste input, click format sql, see the result

Result appears here after processing…

How to use SQL Formatter

  1. Paste your SQL query into the input panel.
  2. Choose a SQL dialect if needed.
  3. Copy the formatted SQL output.

Frequently Asked Questions

Does this execute SQL?
No. Formatting happens entirely in your browser. Nothing is sent to a database.