SQL formatter
Format SQL into readable, indented code with keywords in capitals, and download the formatted query as a .sql file.
Anything you type or paste stays in your browser — it is not uploaded to Tools99.
Workspace: 1. Add files2. Ready3. Working4. Done — download
How this workspace works
- Paste a SQL query.
- Format it into readable, indented code with keywords in capitals.
- Download the formatted query as a .sql file or copy it back.
Formatting is structural only — it does not run the query or check it against a database.
Your text never left this browser, so there is no server copy to delete. Copy it again, start over, or continue with a related tool below.
How to use SQL formatter
- Paste a SQL query.
- Format it into readable, indented code with keywords in capitals.
- Download the formatted query as a .sql file or copy it back.
A good use for this
Making a long query readable before reviewing it or sharing it with a colleague.
Limits
Formatting is structural only — the tool does not run the query, check it against a database, or tell you whether it returns the right rows.