Scan a site

Code minifier

HTML · CSS · JS · SVG · fully offline, nothing leaves the browser

Free No account required
Input
0 chars
Result · minified
0 chars
This tool patches one problem at a time

The Performance module in Insight does the same in every audit: Core Web Vitals in every audit — with priorities, history and before/after comparison.

/ About the tool

Why minification actually helps

Minification removes whitespace and comments — the code still works, usually much smaller.

Bundlers (Vite, Webpack, Rollup) do this automatically. This tool is for one-off jobs — a snippet, a static CDN file, or a quick before/after check.

Everything runs in the browser. Your code never leaves the device.

/ Glossary

What we strip

WS

Whitespace

Spaces, tabs, newlines outside strings.

//

Comments

Single-line // and multi-line /* */ — for developers, not end users.

AAA→a

Mangling (JS only)

Shorter variable names. Full pipelines do this in the bundler.

Brotli

Server compression

After minify, the server should still apply Brotli or gzip.

/ FAQ

Frequently asked questions

Not in this free tool. Source maps usually come from your build pipeline.