Skip to content
Toolbento

SQL minifier

Collapse SQL onto a single line, removing comments and spare spaces.

Everything stays on this device

SQL minifier runs in your browser. The text and files you add are worked on by this device and are never uploaded, to us or to anyone else.

  • No uploads. The page is blocked from sending data to any other server.
  • No account, cookies, ads or tracking.
  • Fonts and scripts come from toolbento.app itself, so the page makes no requests to other companies.
  • Closing the tab clears your text and files from memory.

Read the full details on the privacy page.

Output

Missing a feature or found a bug in SQL minifier? Tell me on X (@_andrewtran) or by email.

How to use SQL minifier

  1. Paste your SQL in the input pane.
  2. Read the one-line result in the output pane.
  3. Copy it or download it as a file.

Questions and answers

Is my data sent anywhere?

No. Everything runs in your browser on this device. Nothing you paste is uploaded or stored.

Is text inside quotes changed?

No. Strings and quoted names are kept exactly as written, including any spaces or dashes inside them.

Where are the other options?

This page opens SQL formatter with one choice already made. Every option of that tool is still here, and its own page says more about it.

Esc

Loading tools