SQL Formatter
Paste a SQL query and get it formatted with capitalized keywords and aligned clauses.
Summary
Paste a SQL query and get it formatted with capitalized keywords and aligned clauses.
How it works
- Paste your SQL query
- Select dialect (MySQL, PostgreSQL, etc.)
- Click Format
- Copy the formatted query
Use cases
- Making complex joins readable in code review
- Formatting auto-generated ORM queries
- Preparing SQL for documentation
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu