Skip to content
ZIYNU

Image Compressor

Shrink JPG, PNG and WebP files in your browser.

Large photos slow down websites, fill up email attachments and get rejected by upload forms. This compressor makes JPG, PNG and WebP images smaller in your browser, so you can see the saving and the quality before you download.

How to use

  1. Choose or drop an image.
  2. Pick a quality level, or switch to “To a target size” and type a size in KB.
  3. Optionally choose an output format and a maximum width or height.
  4. Compare sizes and download the compressed copy.

Example

A 2.4MB JPG from a phone camera at 75% quality and a maximum side of 1600px typically comes out around 250–400KB — about an 85% reduction — and still looks sharp on screen.

JPG vs PNG vs WebP

JPG is best for photographs; it throws away detail your eye barely notices. PNG is lossless and ideal for screenshots, logos and graphics with sharp edges or transparency, but photos saved as PNG are large. WebP does both jobs and is usually 25–35% smaller than JPG at similar quality; it works in all modern browsers but some older software and upload forms still don't accept it.

What actually makes a file smaller

Reducing dimensions has the biggest effect: halving width and height cuts the pixel count to a quarter. Lowering quality helps next. Converting PNG photos to JPG or WebP can shrink them dramatically. Combining a sensible maximum size (1600–2000px for most uses) with 70–80% quality is a reliable default.

Good to know

  • Re-compressing an already compressed JPG gives diminishing returns — start from the original where possible.
  • Location and camera data (EXIF) are not copied into the compressed file, which also protects your privacy.

Frequently asked questions

Are my images uploaded to a server?

No. Compression runs entirely in your browser using your device's own image encoder.

Why did my PNG get bigger?

Some PNGs are already highly optimised. Choose JPG or WebP output, or set a maximum width, for a real saving.

What quality should I choose?

70–80% is a good balance for photos. Go lower for thumbnails, higher for photos you might print.

Is there a file-size limit?

Images up to 25MB are supported. Very large images may take a few seconds on older phones.