16 dialect profiles
Standard SQL, PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, BigQuery, Snowflake, SQLite, DuckDB, Redshift, ClickHouse, Spark, Hive, Trino/Presto and DB2.
Compress SQL safely with dialect-aware tokenization, semantic comment protection, batch workflows, and a fail-closed token guard — entirely in your browser.
The output is re-tokenized and compared against the expected significant token stream. SQL is never executed by this tool.
Share the minification rules without sharing SQL. The profile is plain JSON.
Standard SQL, PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, BigQuery, Snowflake, SQLite, DuckDB, Redshift, ClickHouse, Spark, Hive, Trino/Presto and DB2.
Safe mode keeps /*+ hints */, MySQL/MariaDB executable comments such as /*! ... */, and license/preserve comments while stripping ordinary notes.
Single/double/backtick/bracket quotes, PostgreSQL dollar strings, Oracle q-quotes, BigQuery triple strings, parameters and template blocks are tokenized before compaction.
Standalone SQL Server GO and Oracle slash terminators stay on separate lines. MySQL custom DELIMITER, psql meta-commands, SQLCMD directives and SQL*Plus client directives are blocked instead of guessed.
Safe Compact is recommended. Readable keeps one-space boundaries. Maximum mode removes every lexically unnecessary space, then still has to pass the semantic guard.
It does not optimize query plans or make databases execute SQL faster. It reduces transport/storage size and makes SQL easier to embed in config, logs and generated payloads.
After successful minification, generate a formatted review copy locally. This is a convenience view; stripped comments are permanently absent.
No account, upload, telemetry or server round trip is required. Files, batch processing, auditing and ZIP creation stay in your browser.