Runs in your browser
Compress images in your browser
Reduce the file size of a JPG, PNG, or WebP for a form, an email, or a page. Set a quality level or a size limit, then download the file. Processing happens on this device.
With a target, this quality is the highest tried. It is lowered only when the file is still too large.
- Original
- Result
- Saved
- Dimensions
- Status
How to compress an image
Add the file first. The settings appear beside it, and nothing on this page asks for an account.
- Use Browse files, or drop the image. Several images are allowed, up to 20.
- Quality starts at 80 and can move from 40 to 95. For JPG and WebP, a lower number usually makes a smaller file and a softer picture.
- Target size can stay on No target. Or choose Under 50 KB, Under 100 KB, Under 200 KB, Under 500 KB, Under 1 MB, or Custom KB from 10 to 10,240.
- Output can stay on Keep format, or you can choose JPG, WebP, or PNG.
- Reduce dimensions if quality alone cannot reach the target is on. Turn it off when the width and height must stay exactly the same. It only applies when a target is set.
- Press Compress image. Each result lists Original, Result, Saved, and Dimensions.
- Use Compare, then Download. Download all appears when two or more files succeed.
Quality and file size
The quality number is not a savings percentage. It tells the browser how much detail to keep when it writes a JPG or a WebP. Start at 80 for a photo you still want to look sharp. Move down only if the file is still too large, and use Compare before you replace the original.
With no target, a JPG or WebP is written once at the quality you set. If that new file is not smaller and the format stays the same, the original file is kept. The result says the new file would have been larger.
With a target, the search starts at the quality you set and will not try anything above 92. It lowers quality, down to 35, only while the file is still over the limit. If the dimension option is on and quality is not enough, the picture is reduced in a few steps of about 10 percent. On a large photo the long edge stays above about half of the original. On a smaller photo it stops near 480 pixels on the long edge. It will not turn the picture into a thumbnail just to hit the number. If the target still is not met, you get the closest file and a note that says so. A file that is already under the target is left unchanged.
JPG, PNG, and WebP are different
JPG and WebP photos usually get smaller as the quality number drops. That encoding is lossy: the new file is not a perfect copy of every pixel.
PNG from this browser is lossless, and the quality slider does not squeeze it. If you keep PNG and do not set a target, the original file is returned. A photographic PNG that must become much smaller should be saved as JPG or WebP, unless you need the transparent areas. With a target, a PNG gets smaller here only by reducing dimensions, and only when that option is on.
Transparent pixels stay transparent in PNG and WebP. JPG has no transparency, so those pixels are placed on white, and the result says so.
A GIF is read as one still frame and saved as JPG when you keep the format. The animation is not preserved. Choose PNG or WebP if that single frame needs transparency.
Changing the format can also make a file larger. The result says when that happens. An image that is already tightly encoded may shrink only a little.
Compression is not resizing
Compression changes how the file is encoded, so the download weighs less. Resizing changes the width and height in pixels. A 4,000-pixel-wide photo can stay 4,000 pixels wide and still become a smaller JPG.
Use this page when the limit is a file size, such as under 200 KB. Use Resize image when the limit is a pixel size, such as 1,200 by 630. The two meet only when a size target cannot be reached by quality alone and you left dimension reduction on. The result says when the dimensions changed.
| Compared | Compress image | Resize image |
|---|---|---|
| What changes | File size | Width and height |
| A typical request | Under 200 KB | 1,200 × 630 pixels |
| Dimensions | Unchanged, unless a target needs a smaller picture | Change to the size you enter |
| Where | This page | Resize image |
The image is not uploaded
The picture is decoded and written in your browser. PixZeno sends this page. It does not receive the image for processing, and there is no account.
A newly written file does not copy the camera model, the capture time, or the location. If the original file is kept because a new copy would not be smaller, that original file is unchanged, including any details already inside it. To keep the picture and remove those details on purpose, use Remove metadata.
If you send a result to another tool on this site, this browser keeps a temporary copy so the next page can open it. That copy stays on this device. It is not sent to PixZeno. The footer control Clear images saved in this browser removes it.
Practical limits
These are the practical limits of the compressor, not a promise that every file will shrink by the same amount.
- Up to 20 images at a time. One file that fails does not cancel the others. Stop ends the queue after the file already in progress.
- Each file can be up to 25 MB.
- A side longer than 12,000 pixels is refused.
- A photo whose long edge is over 4,096 pixels may be scaled to 4,096 before it is encoded, because the browser has to hold the picture in memory. The result says when that happens.
- A device that is low on memory can still fail on a very large image. The original file on your device is not modified.
- An iPhone photo saved as HEIC is not decoded here. Convert it to JPG first.
Questions
Does compressing an image reduce quality?
For JPG and WebP, yes, by as much as the quality number allows. 80 is the starting point. Lower numbers discard more detail. PNG output from this browser is lossless, so the slider does not trade PNG quality for a smaller file.
Does compression change the width and height?
Not by itself. Dimensions change if you set a size target and leave dimension reduction on, and quality alone cannot reach that target. They can also change when a photo is scaled to a 4,096-pixel working edge. The result lists the dimensions either way.
Can I compress an image to 100 KB?
You can set Under 100 KB as the target. The tool tries to land at or under it. If it cannot do that within its quality and size limits, it keeps the closest file and says the target was not reached.
Why is my PNG still large?
With no target, a PNG is kept as it is. The browser does not reduce the color palette, so the quality slider cannot shrink it. Switch the output to JPG or WebP when you do not need transparency, or reduce the pixel dimensions on Resize image.
Can I compress more than one image?
Yes. Add them together, then download each file or use Download all for the successful results. A problem with one file does not discard the others.
Can I compress a photo on my phone without uploading it?
Yes, in a current mobile browser that can open the file. JPG, PNG, WebP, and a still GIF frame are handled on this page. An HEIC photo from an iPhone uses Convert HEIC to JPG first.
Will the compressed file still contain the location?
A newly written file does not. The original is left as it was when PixZeno keeps it instead of writing a larger copy. Remove metadata is the tool that strips hidden details while leaving the picture itself.
