JPG 轉 AVIF 轉換器

將你的 JPEG 升級為 AVIF — 現代瀏覽器中最有效率的影像格式。

或拖放圖片到此處

100% 私密——你的圖片絕不會離開瀏覽器。

將 JPG 轉換為 AVIF,與相似品質的 JPEG 相比,檔案大小可減少最多 50%。AVIF 是瀏覽器支援的最新影像格式,非常適合照片。

這個轉換器完全在你的瀏覽器中執行,因此你的圖片永遠不會被上傳。

如何使用此工具

  1. 新增你的 JPG

    將你的 JPG 拖曳到工具上,或按一下選擇檔案。

  2. 已預先選取 AVIF

    輸出格式已設定為 AVIF。你可以依喜好調整品質 — 對照片而言,50–60 是不錯的起點。

  3. 比較

    使用比較檢視來檢查壓縮後的結果。

  4. 下載

    下載你的 AVIF 檔案,讓你的網站變得更快。

本節目前僅提供英文版本。

What AVIF buys you over JPEG

AVIF is based on the AV1 video codec, and it is the most efficient still-image format in wide use. Against JPEG at comparable quality, AVIF typically produces files 40–60% smaller — and unlike JPEG it supports transparency, wide colour gamuts and high dynamic range.

The reason to convert an existing JPEG is bandwidth: an image-heavy page can often be cut substantially in weight with no visible difference. The reason not to is compatibility, which is the next section.

The compatibility caveat

AVIF is supported in current versions of Chrome, Firefox, Safari and Edge. Older browsers — including Safari before version 16 — cannot decode it at all and will show nothing. Never replace a working JPEG with AVIF as the only source; serve AVIF from a <picture> element with the JPEG as a fallback.

Encoding is slow, and that is the trade-off

AVIF takes noticeably longer to encode than JPEG or WebP — often several times longer for the same image. For a handful of images that is irrelevant. For a library of thousands, it is the reason many pipelines still generate WebP first and add AVIF only for their most-viewed images.

常見問題

AVIF 比 JPEG 小多少?

在等效視覺品質下,AVIF 產生的檔案通常比 JPEG 小 30–50%,而且還支援透明度和 HDR。

瀏覽器支援 AVIF 嗎?

是的 — Chrome、Firefox、Safari 與 Edge 都支援用於圖片的 AVIF。

AVIF 到處都能用嗎?

所有現代瀏覽器都支援 AVIF。為了達到最大的相容性,你可以使用 HTML 的 picture 元素提供 AVIF 並搭配 JPEG 做為備用方案。