Advertisement
Input SQL
Formatted SQL
Advertisement

Frequently Asked Questions

What does the SQL formatter do?

The formatter parses your SQL query and rewrites it with consistent indentation and clause alignment, making complex queries with multiple JOINs, WHERE conditions, and subqueries easy to read.

Are my SQL queries sent to a server?

No. All formatting happens entirely in your browser using JavaScript. Your queries never leave your device, so sensitive data and proprietary schema names remain private.

Does it support all SQL dialects?

The formatter recognises standard SQL keywords (SELECT, FROM, WHERE, JOIN, GROUP BY, ORDER BY, etc.) and works with most dialects including MySQL, PostgreSQL, SQLite, and SQL Server. Dialect-specific functions are preserved as-is.