Format SQL queries with consistent keywords, indentation and line breaks.
This tool runs entirely in your browser. The file you choose is never uploaded to a server. Free, with no account required.
The formatter supports standard SQL plus MySQL, MariaDB, PostgreSQL, SQLite, Transact-SQL, PL/SQL, BigQuery, Hive, Redshift, Spark and Snowflake. Pick the closest match to your database.
No. Quoted strings and quoted identifiers (like "my column") are lifted out before whitespace is collapsed, so their inner spacing is preserved exactly.
No. Everything runs in your browser, so your query never leaves your device.
Yes. It is completely free, needs no account, and has no usage limit.