SQL Formatter

Format and beautify SQL queries with proper indentation and syntax highlighting.

Advertisement

Ad

Advertisement

Ad

Frequently Asked Questions

Which SQL dialects are supported?

The formatter works with MySQL, PostgreSQL, SQLite, SQL Server, and Oracle syntax. It handles standard SQL keywords and common functions.

Is my SQL query sent to a server?

No. Formatting happens entirely in your browser. Your queries are never uploaded or stored anywhere.

Does it handle comments?

Yes. Both single-line (-- comment) and multi-line (/* comment */) comments are preserved in the formatted output.