HTML Formatter
Auto-indent and organize HTML markup for better readability.
Compress SQL statements into compact single-line output.
Compresses SQL onto one line and strips comments while leaving string literals untouched.
A character scanner rather than a regex pass: content inside single quotes, double quotes and backticks is preserved verbatim, so spaces and newlines in string literals survive.
SQL comments are kept. Most minifiers strip them; here that is deliberate — optimiser hints and migration notes live in comments, and removing them can change behaviour.
The doubled-quote escape is handled correctly: in SQL, it''s spells a word with one apostrophe, and the scanner does not treat the doubled quote as the end of the string.
Paste the SQL
A query, DDL or a whole migration script.
Check the literals
Changing a string constant changes what the query does, so the output should match the input character for character inside quotes.
Copy the result
Whitespace is folded to single spaces and comments remain. Delete them by hand if you need a clean version.
Because comments can carry meaning, such as a /*+ INDEX(...) */ optimiser hint. Removing them needs human judgement, so the tool leaves that decision to you.
Yes. Everything inside quotes is emitted as-is; only whitespace outside quotes is collapsed.
Auto-indent and organize HTML markup for better readability.
Minify HTML by removing extra spaces and non-essential characters.
Minify or prettify CSS code for production and maintenance workflows.
Beautify JavaScript code with consistent indentation and spacing.
Minify JavaScript to reduce file size for faster page delivery.
Format, validate, and beautify JSON for easier reading and debugging.