Skip to content
Okaysize

How to compress an image

Shrink JPG, PNG, WebP, AVIF, and iPhone HEIC images for email, websites, and upload forms.

  • About 1 minute
  • Free, nothing uploaded
  • 4 steps

Steps

  1. Add your image

    Drag a JPG, PNG, WebP, AVIF, HEIC, or GIF onto the box, or click Choose a file.

  2. Pick the output format

    Output format Auto keeps the same type, except HEIC becomes JPG. Choose WebP or AVIF for the smallest files.

  3. Set a target size if you need one

    Type a Target size in MB, like 1, and the image always comes out under it.

  4. Click Compress image

    Compare before and after, then click Download.

The options, explained

Quality
Auto quality picks the best balance. Choose quality lets you set it from 30 to 95.
Lossless PNG
Keeps every color exactly, for logos and screenshots. Larger files.

Tips

  • Photos compress best as JPG, WebP, or AVIF. Screenshots and logos as PNG.
  • Location data is removed from photos when compressed.

Questions

Will people notice the compression?
With Auto quality, almost never. The settings are chosen so the difference isn't visible at normal size.
How do I convert HEIC to JPG?
Add the HEIC photo with Output format on Auto, and it comes out as a JPG.

Ready? Compress image is free.

JPG, PNG, WebP, AVIF, and HEIC. Works in your browser, no sign up.

More how to guides