Minifier CSS
Perkecil CSS di browser Anda dengan tetap mempertahankan string, URL, komentar penting, dan spasi yang bermakna.
Perkecil JavaScript di browser Anda menggunakan parser. Kode tidak dijalankan.
Alat ini berjalan di browser Anda. Input, file, dan nilai yang dihasilkan tetap di perangkat ini. Favorit dan alat yang baru dipakai, jika Anda menggunakannya, hanya menyimpan nama alat di penyimpanan lokal — tidak pernah kata sandi, dokumen, atau isi kode QR. Lihat kebijakan privasi.
Untuk saat ini, panduan lengkap alat ini (cara pakai, contoh, dan FAQ) masih dalam bahasa Inggris.
Parse JavaScript with Terser, then compress and mangle it. Use it when a small script should be shorter and you want a parser rather than find-and-replace. The script is not run, and TypeScript comes back as an error.
function greet(name) { return "Hello, " + name; } is parsed, then shortened by removing whitespace and renaming locals where safe.
If the parser cannot read the file, you get an error. The tool does not try to “fix” broken JavaScript.
JavaScript cannot be minified safely with simple find-and-replace. This tool uses Terser in the browser to parse the source, then compress and mangle it. Your code is not executed with eval or new Function. Constant-expression evaluation is turned off so user expressions are not run during minify. Very large files are rejected so the tab stays responsive.
Terser parses the source, then compresses and mangles it. The script is not run. TypeScript, and JavaScript the parser cannot read, come back as an error rather than a shorter file. Constant expressions are not evaluated during the pass.
See the disclaimer for what these tools do not cover.
Perkecil CSS di browser Anda dengan tetap mempertahankan string, URL, komentar penting, dan spasi yang bermakna.
Perkecil HTML di browser Anda dengan proses hati-hati yang mempertahankan isi pre, textarea, script, dan style.
Rapikan JSON agar mudah dibaca, perkecil, atau periksa validitasnya. Komentar, koma di akhir, dan tanda kutip tunggal tidak diperbolehkan. Tidak mengonversi ke CSV.
Enkode teks ke Base64 atau dekode kembali dengan UTF-8. Siapa pun bisa mendekode hasilnya, jadi ini tidak menyembunyikan kata sandi. File tidak diterima.
Buat satu atau beberapa nilai UUID v4 di browser Anda menggunakan sumber acak yang aman.
Enkode atau dekode komponen URL di browser Anda dengan encodeURIComponent.