Docs
Docs/SQL Editor/SQL Formatting

SQL Formatting

Auto-format SQL for better readability

QuackDB can automatically format your SQL queries for better readability and consistency.

Before Formatting

select id,name,email from users where active=true order by name

After Formatting

SELECT
  id,
  name,
  email
FROM
  users
WHERE
  active = TRUE
ORDER BY
  name

Press Cmd/Ctrl + Shift + F to format your SQL.

Formatting Options

OptionValues
Keyword CaseUPPERCASE, lowercase, Capitalize
Indent Style2 spaces, 4 spaces, tabs
Line Width80, 120, unlimited

Need help?

Join our Discord community for support and discussions.

Join Discord