Image optimizer

Compress JPG, PNG, WebP and AVIF images to a smaller file size while keeping quality. Batch-optimize, convert formats and download a ZIP. Free.

JPG, PNG, WebP, AVIF. You can select multiple images.
Choose another format to convert all selected images.
Higher quality produces larger files.
Batch result
Image Original size New size Change

Smaller images, same good looks

Images are usually the heaviest part of a web page. Photos straight from a phone or camera can be several megabytes each, which slows pages down, burns mobile data and can hurt your search rankings through Core Web Vitals. This image optimizer reduces file size by re-compressing the image with a quality level you choose, so it still looks good but downloads much faster.

It works with JPG, PNG, WebP and AVIF, lets you select multiple images at once, and can convert everything to a different output format if you like (or keep the original format). Each result shows the original and new size, and batches can be downloaded together as a ZIP.

Compression is a trade-off: lower quality means a smaller file, but go too low and you'll see blur or blocky artifacts. For most photos on websites, a quality setting around 70–85 is a sweet spot.

How to use the image optimizer

  1. Select one or more images (JPG, PNG, WebP or AVIF).
  2. Set the quality. Lower values make smaller files; higher values keep more detail.
  3. Optionally choose an output format, such as WebP, to convert all the images.
  4. Click Optimize images and compare the original and new sizes.
  5. Open or download each image, or download the whole batch as a ZIP.

Common uses

  • Speeding up a website or online store by shrinking product and blog images.
  • Getting under upload size limits on forms, marketplaces and job sites.
  • Making email newsletters and attachments lighter.
  • Converting PNG or JPG photos to WebP or AVIF for modern browsers.
  • Saving storage space in cloud drives and backups.

Tips and things to know

  • Resize before you compress. A 4000-pixel-wide photo shown at 800 pixels wastes bandwidth no matter how well it's compressed.
  • Use JPG or WebP for photos, and PNG for screenshots, logos and graphics with sharp edges or transparency.
  • WebP and AVIF usually produce noticeably smaller files than JPG at similar quality, and all major browsers now support them.
  • Keep your original files. Re-compressing an already compressed image again and again degrades it.
  • Photos can contain hidden location data. Check with the EXIF reader before sharing them publicly.
  • Need an image as text for HTML or CSS? Use image to Base64.

Frequently asked questions

Does compressing an image reduce its quality?

Lossy compression removes some detail, but at sensible quality settings the difference is very hard to see while the file gets much smaller.

What quality setting should I use?

Around 75–85 works well for most photos on the web. Try a lower value for thumbnails and a higher one for images where detail matters.

Which image format is best for websites?

WebP is a safe modern choice with broad browser support. AVIF compresses even better but takes longer to encode. Use PNG for graphics that need sharp edges or transparency.

Can I optimize several images at once?

Yes. Select multiple images and they're processed together, and you can download them all in one ZIP file.

Why do images slow down my website?

Large images take longer to download, which delays when the page looks ready. That affects Largest Contentful Paint (LCP), one of Google's Core Web Vitals.

Related tools

Popular free tools