Bytelify

SQL Formatter & Beautifier

Format and indent SQL queries into clean, readable syntax, live as you type, across multiple dialects.

100% private, runs in your browser
Formatted

Formats live as you type, entirely in your browser. Nothing you type is sent anywhere.

What is SQL Formatter & Beautifier?

Paste a compressed or messily-formatted SQL query and get it reformatted with consistent indentation and capitalized keywords, powered by the sql-formatter library. Supports standard SQL plus MySQL, PostgreSQL, SQLite, and MariaDB dialect quirks.

FAQ

Standard SQL, MySQL, PostgreSQL, SQLite, and MariaDB — pick the dialect that matches your database from the dropdown for the most accurate formatting.

No — this only reformats the text of your query. It never connects to a database or executes anything.