Image Compressor — Shrink JPG PNG WebP AVIF to Any Size Free

Compress JPG PNG WebP and AVIF or hit an exact target like 20KB to 5MB for portals and sharing. Quality and target size modes run fully in your browser with no uploads.

13 tools

Last updated 25 August 2026

Two ways to shrink an image

Choose quality mode when you want balance, or choose target size mode when a form forces an exact limit. Quality mode lets you pick lossless for PNG or balanced small high for JPG WebP AVIF. Target size mode searches for the highest quality that still fits under 20KB 50KB 100KB 150KB 200KB 500KB 1MB 2MB or 5MB. Both run locally.

Which compressor fits your file

Use compress JPG for photos from cameras and phones. Use compress PNG for screenshots logos and illustrations where palette quantization cuts size while keeping transparency. Use compress WebP and AVIF to recompress modern web images at a lower quality when the original is larger than needed. For portals use the exact target size page so you hit the limit in one step.

Quality that stays useful

Lower quality shrinks more but adds artifacts that show on text and gradients. Start balanced, check the preview and only go smaller when you must. When you need an exact limit hit 100KB. For PNG, lossless keeps every pixel, 256 colors is a strong web default, 64 is for tiny icons. For JPG and WebP, 80 balanced is the safe web value, 60 small only for strict limits.

Hit a hard limit without guessing

Target size pages use a binary search that re encodes near the limit and picks the best quality that still fits. You choose output format JPG WebP PNG or AVIF and the tool optimizes within that choice. This avoids the trial and error loop of exporting ten times. It works for dozens of files at once.

Private by design and batch ready

Every compressor re encodes in your browser with codecs loaded locally. Nothing is uploaded counted or stored. Batch is supported everywhere, including target size pages. Add many files, compress in parallel, and download a ZIP. Large files up to 50 MB are supported.

Compress to a target size

Frequently asked questions

How do I hit exactly 100KB for a government or job portal without trying ten times

Open compress image to 100KB, pick JPG or WebP as output, add your photo. The tool searches for the highest quality that fits under 100KB and shows the result. If it still looks soft, resize a bit smaller before compressing.

Will a photo compressed to 50KB still look good on a phone

Yes for most screen use. At phone view distance 50KB looks clean, though zooming reveals artifacts. For avatars and submission forms 50KB is often the intended limit and works well at 600 to 800 pixels wide.

Should I compress or resize first to meet a strict size limit

Resize first. Reducing pixels cuts bytes far more than lowering quality alone, then compression keeps detail at higher quality. For a 100KB portal shrink to the required pixels, then run the target size compressor.

Why is my PNG screenshot still large after compressing

PNG stores every pixel losslessly. Switching to palette 256 or 64 merges similar colors and often halves screenshots. If you can serve WebP, convert PNG to WebP lossless for a smaller file that still keeps transparency.

Is compressing a WebP or AVIF a second time harmful

Every lossy re encode discards a little detail, so use the highest quality you can accept. If you only need to shrink further, re compress at balanced instead of small. Keep the original if you may edit again.

Which output format should I pick when a form accepts any image

Pick JPG for photos because it is universally accepted and compact. Pick PNG for graphics with text or transparency. Pick WebP when the site serves web images and you control the upload, it is smaller than both at similar quality.

Can I compress many images to under 200KB each for chat and email together

Yes. Add a whole folder to compress to 200KB and choose JPG. The tool processes each image locally to sit under 200KB at the best possible quality, then lets you download all as a ZIP.