Cool SQL Minifier Online Tool

By | November 8, 2021

This is a simple SQL Minifier tool that anyone can use. You don’t need to be a programmer or developer. All you need is your browser and the URL of the script that you want to minify.

SQL

Output

Minify Preserve Comments

Why SQL Minifier tool?

Minifying SQL is a great way to lower the amount of disk space needed to store your database.

Sample SQL Code

SELECT 
    call.*,
    DATEDIFF("SECOND", call.start_time, call.end_time) AS call_duration
FROM call
ORDER BY
    call.employee_id ASC,
    call.start_time ASC;

Sample Output Code

SELECT call.*, DATEDIFF("SECOND", call.start_time, call.end_time) AS call_duration FROM call ORDER BY call.employee_id ASC, call.start_time ASC;