Every Drawer
All tools

SQL Minifier

Squash SQL onto one line by removing comments and extra spaces.

How it works

Squash SQL onto one line by removing comments and extra spaces.

  1. Paste your SQL in the box.
  2. Read the one-line result.
  3. Press Copy or Save.

Good to know

Are comments removed?

Yes. Both -- comments and /* */ comments go, except special hint comments that start with a plus or a bang after the slash and star.

More like this