Instantly compress and single-line your SQL queries. Safely strip comments and line breaks for your application code.
What we do
When pasting a query into PHP, Java, or Python strings, line breaks can cause syntax errors. We instantly squash your multi-line query into a clean, single string.
Our engine safely parses and completely strips out all block comments /* ... */ as well as inline comments -- and # from your database code.
We use an advanced tokenization process to extract your text values before we strip the spaces. This guarantees that spaces inside your WHERE clauses are never destroyed.
By removing unnecessary tabs, spaces, and comments before sending the query to the database driver, you marginally reduce packet size and compilation overhead.
We integrated the CodeMirror engine to provide real-time SQL syntax coloring, allowing you to easily distinguish between keywords, tables, strings, and variables.
Your database architecture and sensitive table names are completely safe. This tool runs entirely Client-Side inside your browser and never uploads data.