JS/CSS Minifier

Conservatively strip comments and whitespace from JS or CSS.

Works Offline
Privacy First
No Login
No API

This is a conservative, comment/whitespace-stripping minifier — not a full compiler. It does not rename variables, tree-shake, or handle every edge case of complex syntax. Always test minified output before shipping it.

Original

Minified

Before
74 B
After
55 B
Saved
26%

About the JS/CSS Minifier

A conservative minifier that strips comments and collapses whitespace in JavaScript or CSS, showing before/after byte size stats. It is not a full compiler — it does not rename variables or restructure code.

Examples

Minify CSS

body {
  color: red;
}

Output

body{color:red}

Related tools

Frequently asked questions

Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser