SQL Formatter
Beautify SQL queries for PostgreSQL, MySQL, SQLite, T-SQL and more. Pick indent and keyword case.
- Runs in your browser
- No upload on server
- Free, forever
- Paste input
- Run
- Copy result
Your SQL
Formatted
SELECT id, name, email FROM users u JOIN orders o ON o.user_id = u.id WHERE u.active = TRUE AND o.total > 100 ORDER BY o.created_at DESC LIMIT 10;
How this works — and why it's private
- Paste a SQL query into the left panel.
- Pick your dialect (PostgreSQL, MySQL, T-SQL…) and indent size.
- Copy the formatted query — everything happens in your browser.
Rate SQL Formatter
One tap. Anonymous. Helps others find the good tools.
No account, no email, no tracking — just a 1–5 number.
Be the first to rate