SQL Formatter

Format and beautify SQL queries. Supports MySQL, PostgreSQL, SQLite, and more.

Runs entirely in your browser — nothing is uploaded or stored on any server.

About SQL Formatter

Updated Jan 2025

The SQL Formatter takes compressed or unreadable SQL and outputs a clean, properly indented version with keywords capitalized and clauses on separate lines. Supports MySQL, PostgreSQL, SQLite, T-SQL, and PL/SQL dialects. Ideal for code review, documentation, and readability.

Frequently Asked Questions

Related Tools