Skip to content
Yunedia Tools

Minifier JavaScript / CSS

Perkecil JavaScript, CSS, HTML, dan JSON di browser Anda dan lihat persis berapa banyak ruang yang Anda hemat.

Cara menggunakan

Select the language (JavaScript, CSS, HTML or JSON), paste your code and press Minify. JavaScript is parsed and minified with Terser, including identifier shortening. CSS and HTML use a conservative minifier that only removes comments and unnecessary whitespace — it never rewrites values, so rendering cannot change. The result shows the original size, the minified size and the saving percentage.

Catatan

Everything runs in your browser. The HTML minifier leaves the contents of pre, textarea, script and style elements untouched. Minified JavaScript is not obfuscation, and no aggressive optimizations such as property renaming are applied.

Pertanyaan umum

Can the minified CSS change how a page renders?

No — the CSS minifier only strips comments and collapses whitespace; it never rewrites values.

Are sizes measured in characters?

In UTF-8 bytes, so multibyte characters count as more than one.