All tools

SQL Formatter

Beautify or minify SQL queries locally. Choose indent, keyword case, and dialect — nothing leaves your browser.

Which SQL dialects are supported?
Common dialects such as standard SQL, PostgreSQL, and MySQL are supported with adjustable formatting options.
Is my query sent to a server?
No. Formatting runs locally in your browser, so your queries remain private.
Can I minify SQL?
Yes. Switch to minify mode to collapse a query into a compact single-line statement.

Related tools