100% free forever · No sign-up or account, ever · We store none of your data · Files never leave your deviceFree forever · No account, ever · No data stored
💻 Dev tools

SQL Formatter & Minifier

Beautify SQL for MySQL, Postgres and more.

Free foreverNo account, everNo data stored

SQL Formatter & Minifier · SaralKit ↗

Guide & FAQ

Format messy SQL into readable, indented queries with uppercase keywords. Supports MySQL, PostgreSQL, SQLite, SQL Server, Oracle, BigQuery and more.

🆓 Free forever👤 No account, ever🔒 No data stored🔒 Runs on your device⚡ Instant🆓 No limits

Example

Input
select u.id, u.name, count(o.id) as orders from users u left join orders o on o.user_id = u.id where u.city = 'Pune' group by u.id, u.name having count(o.id) > 2 order by orders desc limit 10;
Result
SELECT
  u.id,
  u.name,
  count(o.id) AS orders
FROM
  users u
  LEFT JOIN orders o ON o.user_id = u.id
WHERE
  u.city = 'Pune'
GROUP BY
  u.id,
  u.name
HAVING
  count(o.id) > 2
ORDER BY
  orders DESC
LIMIT
  10;

How to use the SQL Formatter & Minifier tool

  1. Paste or type your text in the box (or open a file).
  2. Pick the options you need. The result updates as you type.
  3. Copy or download the result.

Why SaralKit?

  • Free forever: no "credits", no trial, no premium tier, no watermark and no daily limit.
  • No account, ever: nothing to sign up for. Just open the page and use it.
  • No data stored: your files and the numbers you type are processed by your own browser. We never upload, store or see them.
  • Works offline: once the page has loaded, most tools keep working without internet.
  • Check it yourself: open your browser's Network tab while you use a tool. Your file is never sent.

Frequently asked questions

Is my text sent anywhere?

No. It is processed by your browser on your own device and never uploaded or stored.

Esc