AddBucket.com

Home / Guides / How to Compress Images for Websites

How to Compress Images for Websites

Image compression reduces the storage size of an image. Resizing reduces its pixel dimensions. Doing both can reduce page weight, but overly aggressive settings can introduce visible artefacts.

1. Keep an original copy

Save the original image before compressing it. You can then compare quality and repeat the export with different settings.

2. Choose sensible dimensions

Use dimensions close to the largest size at which the image will actually appear. A 4000-pixel-wide image used in a 700-pixel content area may be larger than necessary. Keep larger originals when visitors need to zoom or print.

3. Select a suitable format

JPEG usually works well for photographs. PNG is useful for sharp graphics and transparency. WebP can offer good compression for both photos and graphics, but check compatibility with your intended workflow.

4. Adjust quality gradually

For lossy formats, test a moderate quality setting first. Inspect faces, text, edges and gradients at normal display size. Lower file size is not useful if the image becomes difficult to read.

5. Check the exported file

Confirm the dimensions, file type and file size. Open the downloaded image before publishing it. Keep transparent backgrounds if your design requires them.

Privacy tip

AddBucket image tools are designed for browser-side processing. Check the browser address and tool behaviour before selecting sensitive files, and avoid using untrusted websites for confidential documents.

Related tool
Open the relevant tool and follow the steps above.
Open tool

Last reviewed: 18 October 2026. If a tool behaves differently in your browser, contact AddBucket support with your browser name, device type and the steps you followed.