Toggle between CSS and JS, then minify or beautify. This uses lightweight regex-based transforms rather than a full parser: CSS minification is safe and complete, but JS "minify" only strips comments and collapses whitespace/blank lines per line — it deliberately keeps line breaks rather than joining everything onto one line, since safely doing that requires understanding automatic semicolon insertion. Beautify also can't recognize JS regex literals (e.g. /{/), so a stray regex containing brace/paren characters may not reformat correctly. Everything runs locally in your browser.