ekofyi
Liveformattingshipped v1.0.0

SQL Formatter

SQL toolkit with 3 tabs: Format (beautify with uppercase keywords, configurable indent 2/4/8, handles compound keywords like LEFT JOIN, GROUP BY), Minify (compress SQL with size reduction stats, strips comments), and Explain (breaks query into clauses with human-readable explanations, shows tables used, aggregation, sorting, pagination detection). Supports SELECT, INSERT, UPDATE, DELETE, CREATE, CTEs, and all standard SQL clauses.

sqlformatbeautifyminifyquerydatabase
SQL input
SELECT u.id,
  u.name,
  COUNT( o.id) AS order_count
FROM users u
LEFT JOIN orders o
ON u.id = o.user_id
WHERE u.created_at > '2026-01-01'
AND u.status = 'active'
GROUP BY u.id,
  u.name
HAVING COUNT( o.id) > 5
ORDER BY order_count DESC
LIMIT 10;