Skip to content

Compress an image (JPG, PNG, WebP)

To compress an image, drop it here (or up to 20 at once), set the quality and the maximum size, then compare the file size before and after. For an email, 1,280 px and 75% usually do the job.

What you enter stays on this device.

Compressing an image means saving it again at a lower JPEG or WebP quality and, above all, shrinking its longer side; a photo 4,000 px wide brought down to 1,280 px keeps only about a tenth of its pixels.

Two rectangles to scale: a photo 4,000 px wide reduced to 1,280 px keeps only 10.24% of its pixels, about a tenth, even before the JPEG or WebP quality setting.

Which settings for which job

Two controls matter. Quality runs from 10 to 95%. The maximum size brings the longer side of the image down to 3,840, 2,560, 1,920, 1,280 or 800 px, and that is where most of the saving comes from. Some starting points:

UseMax. sizeQualityFormat
Email, messaging1,280 px75% (60% if still too big)JPEG
Photo for a website1,920 px75%try WebP and JPEG
Printing, portfoliooriginal size85%JPEG
Logo or screenshot with transparencyoriginal size75%WebP

A 4,000 × 3,000 px phone photo capped at 1,920 px comes out at 1,920 × 1,440 px. It keeps 23% of its pixels, plenty for a screen. Above 16.8 million pixels the tool scales the image down even if you keep the original size, so an 8,000 × 6,000 px file comes out at 4,730 × 3,547 px.

What you actually save

A deliberately very detailed 3,000 × 2,000 px test photo (4.6 MB) was run through the tool at each setting on 8 November 2026.

SettingResulting sizeSaving
JPEG 95%4.4 MB−6%
JPEG 85%2.6 MB−44%
JPEG 75%1.9 MB−59%
JPEG 60%1.3 MB−72%
JPEG 50%1.1 MB−77%
WebP 75%2.1 MB−54%
JPEG 75% at 1,920 px592 KB−88%
JPEG 75% at 1,280 px162 KB−97%

Dropping from 95% to 75% already more than halves the file. Capping the longer side at 1,920 px then cuts what is left by another two thirds. On this busy image WebP even comes out slightly larger than JPEG (2.1 MB against 1.9 MB). The real size appears after every run, so you can compare the two on your own photos. To put a figure on the saving between two file sizes, work out the percentage decrease: going from 4.6 MB to 1.9 MB is −58.7%.

Mistakes that make the file bigger

  • Re-saving a PNG as PNG. Browsers cannot optimise it, so it hardly ever shrinks; switch to WebP to keep the transparency, or to JPEG if there is none.
  • Recompressing a JPEG that is already small. It can come out larger, in which case the tool shows “No saving” and offers the original.
  • Choosing JPEG for a cut-out logo: the transparent background turns white.
  • Compressing the same photo several times. Each JPEG pass throws away a little information, so always start again from the original file.

JPEG, WebP, PNG or GIF?

FormatCompressionTransparencyBest for
JPEG (.jpg)lossynophotos, sharing anywhere
WebPlossy or losslessyeswebsite images
PNGlosslessyeslogos, screenshots
GIF256 coloursyes (basic)short animations (not supported here)

Google's WebP documentation quotes files 25 to 34% smaller than JPEG at comparable quality. That is an average, and the test above shows that a very detailed image can buck the trend.

What a photo carries with it

A phone photo holds EXIF metadata: the camera model, the date it was taken and often the GPS location. The compressed image keeps none of it, and the tool tells you when a location has been removed. The orientation is applied first, so a portrait shot stays upright.

If you need an exact width in pixels, resize the image instead. For a scanned PDF that is too heavy, there is the PDF compressor.

Method and sources

References used:

This tool is checked by automated tests against known cases. Spotted a mistake? Report it on the contact page.

Last updated

Frequently asked questions

Do my photos go to a server?
No, no image is sent or stored.
Which quality should I choose?
75% suits most photos. Go down to 60% for email, or up to 85% for printing.
Can I compress a JPG without any visible loss?
Not with zero loss: re-saving a JPEG always throws away a little information. Between 75% and 85%, though, the difference is hardly ever visible on screen. The big saving comes from the maximum size anyway. A photo cut to 1,920 px is still as wide as a Full HD screen and far lighter.
And a PNG?
Choose WebP, which keeps transparency, or JPEG if the image has no transparent areas. A PNG re-saved as PNG hardly ever gets smaller.
What about animated GIFs?
They are not supported, as only the first frame would be kept. The tool takes JPG, PNG and WebP.
My photo is 4.6 MB: how do I get it under 1 MB?
Pick 1,920 px and 75%. In the test above, the photo dropped to 592 KB, and to 162 KB at 1,280 px.
How many images at once?
Up to 20, each with its own download button. Drop in more and only the first 20 are processed.
Are iPhone HEIC photos supported?
Not yet. On an iPhone, the camera’s “Most Compatible” setting saves photos straight to JPG.