Images · Made a little simpler

Compress Image for Web

Compress website images into WebP or JPEG. Choose a maximum width or keep original dimensions, set a byte target, and compare the saved files before publishing.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

You can also drop images or paste from the clipboard here.

0 of 10 images selected

Output settings

1 KB = 1,000 bytes. The width only shrinks wider images.

WebP keeps transparency. JPEG fills transparent areas with white.

Payload estimates use fixed connection rates and exclude latency, decoding and page rendering.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Compress Image for Web: how to use it

  1. Add local files, or load the linked practice illustration.
  2. Select a maximum width or Original dimensions. Choose WebP or JPEG and review the 200 KB starting budget.
  3. Compress, check actual bytes and previews, and save individual files, a ZIP or the JSON byte report.

Limits and notes

Choose up to 10 local JPEG, PNG, still WebP, GIF, BMP, TIFF or still AVIF images. Inputs must be 25 MB each and 85 MB combined, with up to 24 megapixels and 12,000 pixels per side. GIF and TIFF use the first displayed frame or first page. Each saved file may be up to 30 MB, with 50 MB of encoded images per batch.

How your privacy works →

Compress Image for Web: common questions

Which image widths can I choose?

The width menu offers 1,920, 1,280, 1,024, 800 and 640 px. Original dimensions keeps the same pixel width and height when the image is re-encoded.

How is the payload time estimated?

The tool divides the saved file's bit count by 10 or 50 million bits per second. The estimate covers just the payload at that rate. A real page also has latency, other requests and image rendering.

How can I reach an upload limit without changing image dimensions?

Select Original dimensions and enter your size target. The encoder tries lower quality at that geometry. Review the target status and saved bytes before uploading.

What if the output grows?

The result shows the actual size difference, including larger results. A file that has already been compressed may be smaller than a new encode. Keep the original when it is the better choice.

Guides