SQL Formatter

Format, beautify, or minify your SQL queries.

Indent:

Try an example:

SQL Keywords Reference

SELECTFROMWHEREJOINGROUP BYORDER BYHAVINGLIMITINSERTUPDATEDELETECREATEALTERDROP

Features

Supported SQL

Works with most SQL dialects including MySQL, PostgreSQL, SQLite, SQL Server, and Oracle. Supports common statements like SELECT, INSERT, UPDATE, DELETE, CREATE, and more.