Skip to content
GAMETROZ

How to Compress Images Without Losing Quality

Updated · 3 min read

Short answer

Resize the image to the size it will actually be displayed, then compress it with the Image Compressor at a quality setting where you cannot see the difference. Resizing first usually saves the most space.

Compression versus resizing

These are two different ways to make a file smaller. Resizing changes the pixel dimensions: a 4000-pixel-wide photo shown at 1200 pixels wastes data on pixels no one sees. Compression keeps the dimensions but stores the pixels more efficiently. Lossy compression does that by discarding detail the eye is least likely to notice. Doing both gives the smallest result.

Pick the right format

Which format suits which image
FormatStrengthWatch out for
JPGSmall files for photographsLossy, no transparency
PNGSharp edges, text and transparencyLarge for photographs
WebPOften smaller than JPG or PNGSome older software cannot open it

The Image Compressor accepts JPEG, PNG and WebP and saves to JPEG or WebP. If you need a JPG from a WebP or PNG, see How to Convert WebP and PNG to JPG.

Compress step by step

  1. Keep a copy of the original file in case you need to edit it again.
  2. Open the Image Resizer and set the width you need, with the aspect ratio locked.
  3. Open the Image Compressor and add the resized image.
  4. Start with a high quality setting and lower it gradually, comparing with the original.
  5. Stop just before you can see artifacts, then download the result.

Choosing a quality setting

There is no universal number, because the effect depends on the picture. Photographs with soft gradients, such as skies, show banding earlier than busy scenes such as foliage. Test your own image: zoom in on edges and smooth areas, compare with the original and pick the lowest setting that still looks the same to you.

How much can you save?

Savings depend on the picture and the starting point. A large photo straight from a phone camera often shrinks dramatically once it is resized to web dimensions, because most of its pixels are never displayed. A graphic that is already small and compressed may barely change. Compare the file sizes before and after, and stop when the gain is no longer worth any visible loss.

Typical targets

  • Website images: match the pixel width to the largest size the image is displayed at.
  • Email attachments: reduce the dimensions first, since many mail services limit total attachment size.
  • Profile pictures and thumbnails: small dimensions need very small files.
  • Archive or print: keep the original untouched and compress only copies.

Private by design

The tool pages state that the image tools process files in your browser and nothing is uploaded, so you can shrink personal photos without sending them to a server.

Percent changes help when you compare sizes: going from 2 MB to 500 KB is a 75 percent reduction, which our guide How to Calculate Percentages explains. The Data Storage Converter is handy for switching between KB, MB and GB when you check upload limits.

Lossy and lossless compression

Lossless compression shrinks a file in a way that can be reversed exactly, so no detail is lost, but the savings are modest. Lossy compression throws away information that is hard to see and can save far more space. JPG is always lossy. PNG is lossless. WebP can be either. Because lossy changes are permanent, always compress a copy and keep the original untouched.

Mistakes that waste space or quality

  • Compressing an image that is still far larger than the space it will fill. Resize it first.
  • Saving a screenshot with text as a heavily compressed JPG, which blurs the letters.
  • Compressing the same JPG several times. Each pass loses a little more.
  • Using PNG for photographs, which produces very large files for little visual benefit.

Tools in this guide

Image Resizer

Resize a JPEG, PNG or WebP image by pixels or percentage, with aspect ratio lock. Nothing is uploaded.

Images

WebP to JPG Converter

Convert WebP images to JPG with a background color for transparency and a quality slider. Up to 10 files.

Images

Data Storage Converter

Convert bits, bytes, KB, MB, GB, TB, PB and binary KiB, MiB, GiB, TiB, with a download time estimate.

Converters