Instal ZYBERMART

Buka semua alat dari layar utama atau dock, di jendelanya sendiri. Alat yang pernah Anda gunakan juga bisa dipakai offline.

Code Minifier

Minify JavaScript, CSS, dan HTML agar file lebih kecil dan halaman lebih cepat, dan lihat berapa yang Anda hemat.

How to minify code

  1. Pick JavaScript, CSS or HTML, and paste your code.
  2. Choose Minify. You’ll see how much smaller it got.
  3. Copy the result, or download it as a file.

Making a site faster? Shrink your pictures with Compress image, and check your share previews with the Open Graph checker.

Frequently asked questions

What does minifying do?

It removes what browsers don't need, like spaces, line breaks and comments, and (for JavaScript) shortens local variable names. The code works the same but downloads faster.

Is it safe for my code?

JavaScript is minified with Terser, the minifier used by most build tools. CSS and HTML minifying only removes comments and extra spaces, and leaves text in strings, <pre> and <textarea> exactly as it is. Keep your original files: minified code is hard to edit.

Which JavaScript does it support?

Modern JavaScript (ES2023), including modules, classes, async functions and optional chaining. It doesn't transform TypeScript or JSX; compile those first.

Is my code uploaded?

No. Everything is minified in your browser.

Masuk ke ZYBERMART

Simpan CV, invoice, flashcard, catatan, dan alat tersimpan Anda di semua perangkat. Gratis, dan semua alat tetap berfungsi sama tanpa akun.

atau

Tanpa kata sandi. Dengan masuk, Anda menyetujui ketentuan kami; lihat cara kami mengelola data Anda di kebijakan privasi.

Akun Anda

Saat keluar, salinan pekerjaan Anda tetap tersimpan di browser ini. Di komputer bersama, hapus data browser setelahnya.

Apa yang ingin Anda buat?

Desain

Media sosial

Dokumen

Belajar

Edit

Lihat semua 282 alat