Everyday Tools
Search

SQL Formatter

Turn a dense or minified SQL query into a readable, consistently formatted one, with dialect-aware formatting.

Formatting happens entirely in your browser — your query is never uploaded anywhere.

Processing happens locally in your browser. Nothing you enter is uploaded.

How It Works

Choose your SQL dialect, paste your query, then click Format.

Example

"select id,name from users where active=1" formats to a multi-line query with SELECT, FROM and WHERE each on their own line, in uppercase.

Frequently Asked Questions

Which SQL dialects are supported?
Standard SQL, MySQL, PostgreSQL, SQLite, MariaDB and SQL Server (T-SQL).
Is my query uploaded anywhere?
No — formatting happens entirely in your browser.

Related Tools