Compress an image
No image loaded yet.
Guide
How to use it
Choose an image, set a maximum width and quality, and download the smaller version. A live size comparison shows how much you saved.
Steps
- Choose an image from your device.
- Set the maximum width and quality, and pick JPG, WEBP or PNG.
- Download the compressed image and compare the size savings.
Width, quality, and format
Maximum width scales the image down and keeps the aspect ratio. It does not upscale. Quality defaults to 75 percent for JPEG and WEBP. PNG stays lossless, so photographs barely shrink. JPEG fills transparency with white. Redrawing on a canvas also drops most EXIF, including GPS, which is useful for a public upload and a reason to keep the camera original.
Targets that work in practice
Website photos: 1600 pixels on the long side, JPEG or WEBP at 75 percent, often 150 to 400 KB from a camera original. Instagram posts: about 1080 pixels. Email: about 1200 pixels so a few images stay under a typical attachment budget. Thumbnails: about 400 pixels. A product shot that must land under 200 KB usually needs a slightly lower quality or a 1200-pixel width, especially if the scene is busy. Flat color compresses further than foliage. Judge the preview, not the slider.
What not to compress
A logo you will print should stay SVG or a PNG at print size. A 75 percent JPEG of a wordmark grows fuzzy edges. Screenshots with small text belong in PNG or a high WEBP setting. Animated GIFs are flattened to a single bitmap. If the new file is larger, the original was already more compressed than your setting. Pair this page with the converter when you need a different format, and with PDF tools when the photos are going into a document.
Frequently asked questions
What width and quality should I use for web, email, and print?
The width box is a maximum. A 6000-pixel photo set to 1600 pixels wide is scaled down and the height follows, so a 3:2 photo becomes about 1600 by 1067. The default quality is 75 percent, which is the right start for photographs on a website. At 1600 pixels and 75 percent JPEG, a multi-megabyte camera file often lands between about 150 and 400 KB. Use about 1080 pixels for an Instagram post, about 1200 for an email body, and about 400 for a thumbnail. For a hero image you will also print, keep a separate full-size original. This compressor is for screens. A logo you will print belongs in SVG or a PNG at the print size, not a 75 percent JPEG.
Why did the file get larger, or why did a PNG barely shrink?
PNG is lossless. Photographs stored as PNG stay large because the format cannot throw away the detail JPEG and WEBP discard. Switch the output to JPG or WEBP for photos. Logos, screenshots, and images with flat color and sharp edges should stay PNG or WEBP lossless so text does not grow halos. If a JPEG comes out larger than the original, the original was already compressed harder than your quality setting. Lower the quality or the width. The status line shows original size, new size, and the percent change so you can compare before you download.
What happens to transparency, color, and EXIF?
Choosing JPG fills transparent pixels with white before encoding, because JPEG has no alpha channel. A logo on a transparent background will grow a white box. Use PNG or WEBP if you need the transparency. The browser encoder also drops most camera metadata, including GPS, as a side effect of redrawing the pixels onto a canvas. That is useful when you do not want a location in a file you post, and it is a reason to keep the original if you still need the metadata. Animated GIFs are not preserved as animations; the page draws a bitmap.
How do I hit a real target, such as a 200 KB product photo?
Start at 1600 pixels and 75 percent. If you are still over the target, drop quality in 5 to 10 point steps or cut the width to 1200. Product photos on a white background often compress further than foliage or night scenes. Do not upscale. If the original is 800 pixels wide, a 1600 maximum leaves it at 800. Upscaling would invent pixels and usually a larger file. The preview is the file you will download. Judge edges and skin tones there, not by the percentage alone.
Is this safe for client photos?
Yes for privacy: the file is decoded and encoded in your browser and is not uploaded. There is no account and no library of your past images on our side. The limit is your device. An image whose pixel count is extreme is refused so the tab does not crash, and a 50 MB cap rejects a file that is unlikely to be a normal photo. Download the result; the object URL disappears when you leave. Keep the camera original somewhere else before you overwrite it.
WEBP or JPG for a small-business site?
WEBP is usually smaller than JPEG at the same visual quality and is supported by current browsers. JPEG is the safer attachment when the recipient is a mail program or a marketplace that rejects WEBP. A practical pair is WEBP for the site and JPEG for the marketplace upload. This page writes one format per run. Run it twice if you need both, and do not serve a WEBP file with a .jpg name.
Private by design: everything runs in your browser. Your files and text never leave your device.
Pricing
Free forever. Tips welcome.
Free forever
Every feature, unlimited use, no account. That won't change.
Support this tool / Tip
If this saved you time, a small tip helps keep GWB tools free and fast.
Support this tool / Tip