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.

Frequently Asked Questions

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.

A growing collection of fast, privacy-first developer utilities. All tools run in your browser — your data never leaves your device.

Tools

JSON ParserJSON Schema ValidatorJSON ConverterJSON to TypeScriptOpenAPI ViewerCode FormatterSQL FormattercURL ConverterTimestamp ConverterCron ParserURL EncoderQR Code ToolIP & CIDR CalculatorGzip & Deflate ToolJWT DecoderJWT Verify & JWK ToolHash GeneratorPassword & TOTPBase64 EncoderUUID GeneratorImage MetadataImage CompressionTiny Image CompressorImage Toolkit ProScreen RecorderRegex TesterText DiffMarkdown & Mermaid PreviewColor & Contrast Tool

Legal

Privacy PolicyTerms of Service

© 2026 ZPTools. All Rights Reserved.