SQL formatter

Format and beautify SQL queries for MySQL, PostgreSQL, SQL Server, Oracle, SQLite and standard SQL. Runs in your browser.

Runs in your browser ยท nothing is sentConvert & format

The result appears here

About this tool

Paste a query, pick your dialect and format it. Your SQL never leaves your browser.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

Does formatting change what my query does?

No. Only whitespace and the case of keywords change.

What to do next

Also useful

Found a problem or have a suggestion? Tell us