A 4 MB photo does not need to be 4 MB to look good on a screen. Image compression shrinks the file so it uploads faster, fits under a portal limit, and loads quickly on a website — while keeping the picture looking right. The trick is knowing what compression actually does, which format to save as, and when to stop: push the quality too low and text goes fuzzy and edges break up; keep it too high and the file stays too big to send. This guide explains how to compress JPG, PNG and WebP images in your browser, what each quality setting means, and how to hit an upload limit without ruining the image.
Compression reduces file size, not picture size. The pixel dimensions — say 4000 × 3000 — stay exactly the same; what changes is how much data is stored for each pixel. JPEG and WebP use lossy compression: they discard fine detail your eye barely notices, which is why the file gets dramatically smaller. The quality slider controls how much is discarded. PNG uses lossless compression: every pixel is preserved, so the saving is modest and a PNG can even come out larger than the original. That is also why the quality slider has no effect on PNG output in the browser — the canvas is encoded losslessly regardless.
Two consequences matter in practice. First, lossy compression cannot be undone. Once detail is discarded, raising the quality later cannot bring it back — so always compress a copy and keep the original. Second, the saving depends on the image. A photo with smooth skies compresses far better than a screenshot full of small text and sharp edges. There is no honest fixed percentage: the only reliable check is the actual output size shown in the preview before you download. If you also need smaller dimensions — a 4000-pixel photo for a 800-pixel slot — resize the image first, then compress; resizing removes pixels, compression squeezes the ones that remain, and together they shrink the file far more than either alone.
If your image starts in another format, convert first: PNG to JPG for photos that must shrink, JPG to PNG when you need lossless or transparency, HEIC to JPG for iPhone photos, and WebP to JPG when a system will not accept WebP. The Image Format Converter handles the switch in the browser.
Do not compress the only copy of a photo — lossy savings cannot be reversed, and a future print will want the original. Do not compress an already-compressed image again and again: each lossy pass discards more detail, so work from the original every time. Do not expect PNG output to shrink a photo; lossless encoding preserves everything, including the size. Do not judge quality from a thumbnail — zoom into text, faces and edges in the preview, because that is where over-compression shows first. And do not upload sensitive images to a compressor that processes files on its server; if a tool will not say where the file is processed, assume it leaves your device. For preparing scans and screenshots before any of this, see the image preparation guide.
If an image is too big to upload, email or publish, try the free Image Compressor — it runs entirely in your browser, shows the real output size before you download, and lets you choose JPEG, PNG or WebP. Need smaller dimensions too? Resize first, then compress. Need the images in one document? Use the Image to PDF converter.
Published by WorkIQ. Last reviewed: 26 November 2026.
Yes — the image compressor on this site is free, with no signup and no watermark. Your image is processed in your browser, not on a server.
It depends on the source image — the saving is different for every file. The preview shows the actual output size before you download, so you can judge for yourself.
No. The pixel dimensions stay exactly the same — only the file size changes. If you also need smaller dimensions, resize the image first.
Start around 75% for JPEG or WebP and inspect edges and text. Increase quality if details degrade. PNG ignores the quality slider because the browser encodes it losslessly.
No — the tool does not promise an exact KB size. Adjust the quality slider and compare the actual output size until it fits your limit.
For a photo, try JPEG or WebP. For transparency, choose PNG or WebP — JPEG places transparent areas on white. PNG can produce a larger file because it is lossless.
Yes. Compression happens entirely in your browser — your image is never uploaded to any server. That is the reason to prefer a browser-only tool over one that uploads your file.
Yes. The tool works in a mobile browser — open the compressor, choose an image from your photo library or files, adjust quality, and download the result.