SQL Formatter
Format and prettify SQL queries.
About
Format SQL into a more readable layout using the formatter's generic SQL rules. It does not execute or validate the query.
Key Features
- Generic SQL formatting
- Readable indentation
- Format on demand
- One-click copy
How to use
- 1Enter or select the supported input.
- 2Choose the available settings and run the tool.
- 3Review the result, then copy or download it.
Example
Input
select id,name from users where active=1;Output
SELECT
id,
name
FROM users
WHERE active = 1;Limitations
- Formatting does not execute or validate SQL. Review the output for the dialect used by your database.
- Processing happens locally in your browser. Tool input is not uploaded to ToolHub.
Last reviewed: