SQL Formatter
Beautify and format SQL queries with syntax highlighting support.
About the SQL Formatter
Readable SQL is easier to review, debug, and share. Paste any query and get consistently indented, formatted SQL entirely in your browser.
How to use the SQL Formatter
- Paste your SQL query into the input area.
- Select your SQL dialect if needed.
- Click Format SQL and copy the result.
Frequently Asked Questions
- Which SQL dialects are supported?
- Standard SQL, MySQL, PostgreSQL, and SQLite.
- Is my SQL sent to a server?
- No. Formatting runs locally in your browser.
Related guides
About this tool
All processing happens entirely in your browser. No data is uploaded to any server.
Developer Tools