Online Image Compressor for JPG, PNG, WebP and AVIF

Drop images to compress

Compress one image in a focused workspace, or add a batch and download everything together. Processing happens locally in your browser.

JPG / PNG / WebP / AVIF / GIF / SVG
Compression workflow

Built for quick single-image work and clean batches

The page keeps static guidance and structured data server-rendered, while the local WebAssembly workspace loads only when you use the compressor.

Single Image Focus

One upload gets a large before/after workspace with dimensions, output format, savings, and direct download actions.

Batch Queue

Drop or choose multiple images, process them together, switch between files, retry failures, and export all results as a ZIP.

Format Conversion

Use auto mode to keep common formats, or convert to JPEG, WebP, AVIF, or optimized PNG depending on your delivery target.

Quality & Resize Controls

Tune lossy quality, PNG optimization level, and optional maximum edge resizing before encoding.

Clear Savings

Compare original and compressed sizes, saved bytes, percentage reduction, output dimensions, and browser support status.

Private by Design

Files are decoded and compressed in your browser using WebAssembly codecs. The images are not uploaded to a server.

Format support

Encoding is powered by jSquash packages; input decoding also depends on the browser's image decoder.

InputOutput optionsPractical note
JPEG / JPGJPEG, WebP, AVIF, PNGBest default: keep JPEG or convert to WebP for smaller web delivery.
PNGOptimized PNG, WebP, AVIF, JPEGUse PNG when transparency or lossless output matters; WebP/AVIF usually shrink photos more.
WebP / AVIFWebP, AVIF, JPEG, PNGBrowser decoding support varies, so unsupported files show a clear retry or fallback message.
GIF / BMP / SVG / HEIC / TIFFBrowser-decoded static output when supportedAnimated formats are rasterized to the browser-decoded frame; HEIC/TIFF support depends on the browser.

How to get best results

For photos, choose WebP around 75-85 quality. Use AVIF when smallest output matters and slower encoding is acceptable.

For screenshots, UI captures, logos, or transparent images, try optimized PNG first, then compare with WebP.

Enable max-edge resize for camera originals. Reducing a 4000px photo to 1600-2400px often saves more than quality alone.

常見問題

No. The interactive compressor runs in your browser. Files are decoded, resized, encoded, and downloaded locally without being sent to ZPTools servers.

The encoder supports JPEG, WebP, AVIF, and optimized PNG through jSquash WebAssembly packages. Input decoding also uses browser image support, so JPEG, PNG, WebP, AVIF, GIF, BMP, SVG, HEIC, and TIFF availability can vary by browser.

Lossless PNG optimization can be limited if the image is already optimized. For screenshots or transparent art, PNG may be right; for photos, WebP or AVIF usually produce smaller files.

Yes. Drop or choose multiple images, use Process all, then download individual outputs or package completed files into one ZIP.

Most outputs are re-encoded from browser pixel data, so metadata such as EXIF and GPS is generally removed. Use the Image Metadata tool when you need to inspect or edit metadata separately.

持續成長的快速、隱私優先開發者工具集合。所有工具都在瀏覽器中執行,資料不會離開你的裝置。

工具

JSON 解析器JSON Schema 驗證器JSON 轉換器JSON 轉 TypeScriptOpenAPI 檢視器程式碼格式化SQL 格式化cURL 轉換器時間戳轉換器Cron 解析器URL 編碼器QR Code 工具IP 與 CIDR 計算器Gzip 與 Deflate 工具JWT 解碼器JWT 驗簽與 JWK 工具雜湊產生器密碼與 TOTPBase64 編碼器UUID 產生器圖片 metadata圖片壓縮Tiny 圖片壓縮器圖片工具箱 Pro螢幕錄製正則測試器文字 DiffMarkdown 與 Mermaid 預覽色彩與對比工具

法律

隱私權政策服務條款

© 2026 ZPTools. 保留所有權利。