sql2erd
sql2erd SQL Minifier
Zero Server / 100% Client-Side Privacy

SQL Minifier for MySQL, PostgreSQL and Redshift

Removes every comment and all redundant whitespace — inside PL/pgSQL function bodies too — without changing what the SQL does. Strings and quoted identifiers are kept byte for byte. Everything runs in your browser; nothing is uploaded.

What is removed, what is kept, and the dialect differences
SQL input
Minified SQL

      
Ready