JPG dan PNG ke AVIF Converter

Kurangi gambar dengan AVIF: pilih kualitas dan kecepatan pengkodean, mengkonversi seluruh batch dan melihat seberapa kecil setiap file menjadi.

Berjalan di browser Anda. File Anda tidak pernah keluar dari perangkat. Lihat cara memeriksa

…

Cara melakukannya

  1. 1
    Tambahkan gambar

    Pilih file JPG, PNG atau WebP.

  2. 2
    Pilih preset

    Foto web, kualitas tinggi, kecil, grafis atau lossless.

  3. 3
    Sesuaikan pengaturan

    Atur kualitas, kecepatan, subsampling dan batas ukuran opsional.

  4. 4
    Pilih file

    Tekan gambar untuk mengkonversi.

  5. 5
    Mengkonversi

    Tekan Konversi dipilih ke AVIF dan periksa ukuran dalam daftar hasil.

Tentang alat ini

AVIF is an image format built on the AV1 video codec. At the same visual quality it is usually much smaller than JPEG and often smaller than WebP, and it supports transparency, wide colour and high bit depth. All major browsers now display AVIF, which makes it a strong choice for websites that want faster pages. Most image editors still cannot save it, so this converter brings a full AVIF encoder (libavif with libaom) into your browser.

Quality and speed

Quality runs from 1 to 100. For photos, 45 to 65 gives files far smaller than a typical JPEG with no visible difference; higher values keep fine textures. Speed trades encoding time for size: lower speeds search harder and give smaller files but take longer. Speed 6 is a good default; 4 is worth it for important images.

Chroma subsampling

Photos can store colour at half resolution (4:2:0) with no visible loss, which saves space. Screenshots, logos and pictures with fine coloured text look better at full colour resolution (4:4:4).

Lossless

Lossless AVIF stores every pixel exactly. It is useful for archiving graphics but is often larger than a PNG for simple images, so compare the result.

Resize while converting

A long-side limit resizes large camera photos before encoding, the biggest saving of all for web use. 1600 to 2400 pixels is plenty for most web layouts.

Size comparison

After converting, the result list shows every file with its new size, so you can see the saving and re-run with another quality if needed.

The encoder

The encoder is the open-source libavif from the Squoosh project, packaged by jSquash under the Apache-2.0 licence and served from this site. It is about 3.5 MB, downloaded once and cached. It runs on one processor thread, so large photos take a few seconds each.

Using AVIF on your website

Use the HTML picture element with an AVIF source and a JPEG fallback for very old browsers. Keep the originals in case you need other formats later.

How much smaller?

Savings depend on the picture. Detailed photos typically shrink to 30 to 50 percent of a good JPEG at the same visual quality; smooth graphics and screenshots can shrink further at 4:4:4. Always compare the result at 100 percent zoom before replacing your originals, especially for faces and fine text.

Limits

Encoding is slower than JPEG, especially at low speed values and large sizes. Animated AVIF is not produced. Metadata such as EXIF is not copied into the AVIF file. Nothing is uploaded.

Contoh perhitungan

Sebuah folder dengan 20 foto produk (4000 x 3000 JPEG, rata-rata 3,1 MB) yang dirubah ukuran menjadi 2000 piksel dan dikodekan pada kualitas 55, kecepatan 6 menjadi 20 file AVIF dengan rata-rata 160 KB, sekitar 5 persen dari ukuran aslinya.

Fakta singkat

Pertanyaan yang sering diajukan

Apakah AVIF didukung oleh browser?

Ya, saat ini Chrome, Edge, Firefox dan Safari menampilkan gambar AVIF.

Kualitas apa yang harus saya gunakan?

Sekitar 50 sampai 60 untuk foto di situs web, 70 hingga 80 ketika detail halus penting.

Kenapa pengkodean lambat?

AVIF mencari banyak cara untuk mengompres setiap blok. Tingkatkan nilai kecepatan untuk file yang lebih cepat dan sedikit lebih besar.

Apakah AVIF menjaga transparansi?

Ya, transparansi PNG disimpan di file AVIF.

Seberapa besar pengunduh encoder?

Sekitar 3,5 MB, dimuat sekali dan disimpan oleh browser Anda.

Apakah foto-foto saya diunggah?

Tidak, pengkodean berjalan di browsermu.

Sepenuhnya gratisTanpa biaya, tanpa daftar
File tetap pribadiSemuanya berjalan di browser Anda
Mudah dalam bahasa AndaTersedia dalam banyak bahasa