SQL Formatter
Format SQL across multiple dialects (Standard, PostgreSQL, MySQL, SQLite, BigQuery, MariaDB, etc). Powered by sql-formatter.
100% in your browser. Files never uploaded.
Formatted
SELECT id, name FROM users WHERE active = TRUE AND created_at > now () - interval '7 days' ORDER BY created_at DESC LIMIT 100;
How to use
- 1Pick the dialect10 dialects supported via sql-formatter.
- 2Paste SQLReformatted live with chosen indent and keyword case.