SQL Formatter
Format SQL queries with consistent indentation and keyword casing. Supports MySQL, PostgreSQL, and standard SQL.
How to use SQL Formatter
- 1Paste SQL
Paste the query you want to format.
- 2Click Format
Indented, uppercased-keyword SQL appears in the output pane.
Frequently asked questions
Which SQL dialects are supported?+
Standard SQL, MySQL, PostgreSQL, SQLite, MS SQL, and BigQuery.
Can I lowercase keywords?+
Yes — use the case toggle to switch between upper and lower.
Related tools
JSON Formatter
Format, beautify, and validate JSON online. Free, fast, runs entirely in your browser.
JSON Validator
Validate JSON syntax online with clear error messages and line numbers. Free and private.
Base64 Encoder
Encode and decode Base64 strings online. UTF-8 safe, browser-only — your data never leaves your device.