How to Compress Images Without Uploading Them

imagecompressionwebp

Large images are one of the most common reasons a web page feels slow. The good news is that a big reduction in file size often needs no visual compromise.

Pick the right format

  • JPEG is best for photos. It is lossy, small, and widely supported.
  • PNG is best when you need transparency or sharp text and logos, but it is lossless and often large.
  • WebP usually beats both on size, and it is supported in every modern browser.

Reduce quality before dimensions

For lossy formats, lowering quality a little can shrink a file dramatically. Only reduce the pixel dimensions when the image will actually be displayed smaller.

Keep the original

Compression is destructive when you use lossy settings, so keep a copy of the original before exporting a final version.

The Image Compressor and Image Format Converter tools run this whole process in your browser, so your images never leave your machine.