How to use Image Compressor
- Drop a PNG, JPEG or WebP onto the Image (PNG, JPEG, or WebP, up to 12 MB) field, or click it to browse for one.
- Leave Output format on JPEG for photos, or choose WebP or PNG.
- Set JPEG/WebP quality (1–100; ignored for PNG); 85 is the default, and 60–80 often gives a good balance for photos.
- For transparent images saved as JPEG, choose a colour in Background when flattening to JPEG.
- Click Process and compare the Original and Result previews, the new file size and the percentage smaller or larger.
- Click Download to save the compressed image, named after your original (photo.jpg becomes photo-compressed.jpg), or adjust the quality and process again.
Supported formats and limitations
- Input
- PNG, JPEG or WebP image, up to 12 MB and 8,192 pixels per side
- Output
- PNG, JPEG or WebP download (WebP where your browser supports it)
- Works on
- Any modern browser on Windows, macOS, Linux, Android and iOS. JavaScript must be enabled.
Important limitations
Animated images, SVG and GIF are not accepted. Re-encoding does not keep EXIF metadata, and transparent areas become the chosen background colour when saving as JPEG. Keep your original file.
Privacy and file processing
Your image is processed in your browser and never uploaded. The result is created on your device.
About Image Compressor
Heavy images slow down websites and often bounce off upload limits on forms and email. This Image Compressor re-encodes a JPG, PNG or WebP image at its original dimensions using a quality level you choose, which usually produces a much lighter JPEG or WebP file. A side-by-side preview shows the original and the compressed result, and the result line gives the new file size in KB or MB with the percentage saved, so you can judge whether the saving is worth any loss in detail.
Drag a picture onto the upload area or pick it with the file chooser, set the quality, and download the result. Everything happens inside your browser tab, so the picture is never uploaded to a server. Compression is honest about its limits: a lower quality normally means fewer bytes, but an already well-optimised file can come out the same size or even larger, and the tool reports the real numbers, such as '% larger', rather than promising a fixed percentage.
Features
- Re-encodes images at their original pixel dimensions with a 1–100 quality setting for JPEG and WebP.
- Lets you switch format while compressing, for example a heavy PNG or WebP to JPEG, or a JPEG to WebP.
- Side-by-side Original and Result preview with the new file size in KB or MB and the % saved.
- Removes EXIF and GPS metadata from the source as part of re-encoding.
- Flattens transparency onto a background colour you pick when the output is JPEG.
Why use it
- Fit photos under upload limits for applications, portals and email attachments.
- Speed up your website and save mobile data for visitors.
- Find the right quality level by eye before you download.
- Compress private documents and photos without sending them to a third-party server.
How it works
Decode checked input, draw original-size pixels to canvas, and encode with quality/100 for JPEG or WebP; PNG ignores quality.
Examples
Phone photo for an upload form
Input: IMG_2041.jpg, a JPEG photo from a phone camera; Output format JPEG, quality 70
Result: Result: the same width and height as the original, JPEG, with the new file size and how much smaller it is, depending on the photo. EXIF and GPS metadata are removed. Download: IMG_2041-compressed.jpg.
Large PNG screenshot to WebP
Input: screenshot.png, a large PNG screenshot; Output format WebP, quality 80 (in a browser that can encode WebP)
Result: Result: a WebP file of the same dimensions, usually much lighter than the PNG, with the exact percentage shown. Download: screenshot-compressed.webp.
Image Compressor: frequently asked questions
How much smaller will my image get?
It depends on the picture. Detailed photos saved as PNG, or JPEGs straight from a camera, usually shrink a lot when re-encoded as JPEG or WebP at quality 60 to 80. Images that were already compressed may barely change or even grow. The preview shows the real original and new sizes, so you can lower the quality and try again if needed.
Why did quality have no effect on my PNG?
PNG is a lossless format, so the quality setting does not apply when PNG is chosen as the output, and the tool says so in the details under the result. Re-saving as PNG keeps every pixel but rarely reduces size much. For real savings choose JPEG or WebP; keep PNG only when you need sharp edges or transparency, such as for logos and interface graphics.
Does compression change the image dimensions?
No. The compressor keeps the same width and height and only changes how the pixels are encoded. If the file is still too heavy, reduce its dimensions first with the Image Resizer, because fewer pixels is often the biggest saving of all, then compress the result here.
Which image formats can I upload?
You can upload PNG, baseline or progressive JPEG, and still WebP files up to 12 MB. Each side can be at most 8,192 pixels and the whole image at most 16 megapixels. GIF, SVG, HEIC, animated PNG and animated WebP files are not accepted. The file is checked by its actual contents, not its name, so a renamed file of another type is rejected with a clear message.
Is my photo uploaded for compression?
No. Compression uses your browser's own canvas encoder, so the image never leaves your device and the download is generated locally. As a side effect, EXIF details such as GPS location and camera model are not copied into the new file, which is useful before sharing photos publicly.