SQL Formatter
Beautify SQL for PostgreSQL, MySQL, SQLite, MS SQL, BigQuery, Snowflake, Redshift, and standard SQL. Adjust indent and keyword case to match your team's style guide.
SELECT u.id, u.name, count(o.id) FROM users u LEFT JOIN orders o ON o.user_id = u.id WHERE u.created_at > '2024-01-01' GROUP BY u.id, u.name ORDER BY 3 DESC;
Related tools
Formatters→
Java Code Formatter
Prettify and indent Java source code with bracket alignment.
Formatters→
JSON Formatter & Validator
Pretty-print, validate, and minify JSON with detailed error reporting.
Converters→
Epoch / Unix Timestamp Converter
Convert Unix epoch timestamps to human-readable dates and back, in any timezone.
Generators→
UUID Generator
Generate UUID v1, v4, and v7 identifiers in bulk, instantly.