Runs in your browser · Up to 10 images
Image Compressor
Compress JPG, PNG and WebP images
to the size you need, right in your browser.
Set a target such as under 100 KB, or choose quality, format and a longest-side limit for each image. You see the new size and a preview before you download. If a target can't be reached, the tool tells you.
Add images to compress
Drag and drop, paste, or choose up to 10 images. Each image gets its own settings.
JPG · PNG · WebP · 10 files · 10 MB each
Checking available output formats…
Batch defaults Fine-tune each image below
Lower settings may reduce detail and size. PNG ignores quality.
A target size chooses quality automatically and reduces dimensions only if quality alone is not enough. 1 KB = 1,000 bytes, so results also fit limits that count 1,024. Defaults apply to new images; applying them to existing images clears their previous results.
Adjust quality, format and dimensions per image.
Settings guide
Choose settings for the result you need
Choose batch defaults for new images, apply them to existing images, or fine-tune each image.
| Setting | What it does | Recommended use | Best for |
|---|---|---|---|
| Quality | Requests an encoder setting from 0.40 to 0.90 for JPEG and WebP. It is not a retained-quality percentage. | Start at 0.80 | Balancing a smaller file with retained detail. |
| Target size | Finds the highest quality that fits under the size you pick, such as 50, 100 or 200 KB, or a custom value. Dimensions are reduced only if quality alone is not enough. | Match the site's size limit | Forms, exam and job portals, and email limits. |
| Output format | Choose JPEG, PNG, WebP when this browser supports it, or the same format as the original. | WebP if listed, else JPEG | Matching the format accepted by your destination. |
| Multiple images | Queues up to ten files and compresses them one at a time. | Max 10 files | Preparing a set of photos in one session. |
| Download name | Updates the name for individual downloads and ZIP entries, including after compression. | e.g. product-red-front | Keeping batches easy to identify. |
| One by one or all | Compress a single image from its card, or process every image in the list. | Card button or Compress all | Tuning one difficult image or preparing the remaining batch. |
| Downloads | Download a finished image individually, or bundle finished images in a ZIP. | ZIP for 2+ files | Delivering multiple prepared files. |
| Longest-side limit | Caps width or height without upscaling. The default is 4000 px. | Keep dimensions when needed | Controlling the tradeoff between pixel count and file size. |
Output format guidance
Tips for image format
WebP is the default when this browser can encode it; otherwise JPEG is the default. No output is guaranteed to be smaller than the source.
WebP
Available when this browser can encode WebP. Keeps transparency. Compare the result size and visual detail.
JPEG
For photos where a white background is acceptable. Transparent pixels are placed on white.
PNG
Lossless encoding of the rendered pixels, with transparency. Quality does not affect PNG; resizing still changes detail.
Same as original
Re-encodes the image in its input format. This does not copy the original bytes or keep its metadata.
Example result
See what changes, not just the file type
One real test: a PNG screenshot compressed to WebP. This is a single example, not a benchmark; your result depends on the image and your settings, and appears on each image card.
343.79 KB saved · 92.8% smaller · PNG 370.58 KB → WebP 26.79 KB
Browser technology
Why image compression works in your browser
This tool uses standard browser features to prepare image files on your device, then lets you download the result.
Images are processed on your device
The compressor reads the file you select, draws it on a canvas in your browser and encodes it in the format you chose. Your image files are not uploaded for compression by this tool. Bhavin J. Sheth explains how this works in a HackerNoon article.
Why browsers can compress images without a serverWhat happens when you compress
Common use cases
Choose the right compression workflow
| Problem / use case | Recommended settings | Result, benefits & where to use |
|---|---|---|
| Product photo batch | JPEG or WebP · Start at 0.80 | Compare detail around edges, small text and textures. Keep higher quality where artifacts are visible. |
| Email attachment | JPEG · Optional 1600 px limit | A smaller pixel limit may reduce size. Check the output before attaching; the tool does not send email. |
| Transparent logo | PNG or WebP · Keep dimensions | Both keep transparency. PNG may not get smaller and ignores quality; WebP may be smaller, so compare both. |
| Portal file-size limit | JPEG · Target size, e.g. under 50 KB | Pick the portal's limit as the target. The tool lowers quality, then dimensions if needed, and shows the exact byte count. Check the portal's own dimension rules; acceptance is not guaranteed. |
| Exam or job form photo | JPEG · Target size, e.g. under 20 or 50 KB | Forms often set both a KB limit and pixel dimensions. Set the pixel size first with the Image Resizer, then use the target size here. |
| Website photographs | WebP · 2400 or 4000 px limit | Choose dimensions to suit actual display needs. Image compression alone does not determine page performance. |
| Archive handoff | Per-image settings · Download ZIP | Collect the completed outputs in one archive with distinct filenames. ZIP storage adds no second image-compression pass. |
Troubleshooting
Common issues & quick fixes
Image not added
Only JPG, JPEG, PNG and WebP images are accepted.
- Check that the file is a real image, not a renamed file.
- Keep each file at or below 10 MB.
- Keep each image within 20 MP and 16,384 px per side.
Compressed image looks blurry
The selected quality may be too low for the image detail.
- Increase the encoder setting toward 0.90 and compare the preview.
- Choose Keep dimensions if the default 4000 px cap reduces your image.
- Your original file is never changed; compare the preview first.
File size changed very little
Already-compressed sources may get larger. PNG does not respond to the quality slider.
- Try WebP or JPEG output.
- Set a target size, such as under 200 KB.
- Choose a smaller longest-side limit, such as 1600 px.
Compression is slow or fails on a phone
Very large images need more memory and processing, especially on phones.
- Choose a 2400 px or 1600 px longest-side limit.
- Close other heavy browser tabs.
- Download finished results, then remove them before adding more.
Frequently asked questions
Image compression questions
Which formats can I compress?
Add JPG/JPEG, PNG and WebP files. The tool checks file signatures and browser decoding. Output options are JPEG, PNG, WebP when this browser can encode it, or the same format as the original. Animated inputs produce a still image.
What does the quality setting mean?
The 0.40–0.90 setting is a request to the JPEG or WebP encoder, not a percentage of original quality retained. Lower settings may reduce file size and fine detail. PNG ignores this setting because its pixel encoding is lossless. When a target size is on, quality is chosen automatically.
Will my image dimensions change?
The default longest-side limit is 4000 px, without upscaling. Choose Keep dimensions, 4000 px, 2400 px or 1600 px on each image. A smaller limit reduces dimensions proportionally. A target size can also reduce dimensions when quality alone is not enough. The resulting dimensions appear beside each output.
Is a smaller file guaranteed?
No. The source format, existing compression, dimensions and image detail affect the result. The tool shows whether each output is smaller or larger. PNG encoding is lossless for the rendered pixels, but resizing and browser color handling may still change the image.
Can I compress an image to under 100 KB or 50 KB?
Yes. Choose a target size such as under 20, 50, 100, 200 or 500 KB, under 1 MB, or a custom value. The tool lowers quality first and reduces dimensions only if needed, then shows the exact byte count. Targets count 1 KB as 1,000 bytes. If a target cannot be reached, the tool tells you instead of saving a larger file.
How do batch defaults work?
Batch defaults are used for newly added images. Apply to all images copies the defaults to existing images and clears their previous results. Queued and processing images are skipped. Each image can then be adjusted separately.
What are the file and memory limits?
Add up to 10 images, 10 MB per file. Each input must be at most 20 megapixels and 16,384 px on either side. Completed outputs are limited to 128 MB per workspace. On phones, very large outputs can fail; a smaller longest-side limit usually helps.
Can I rename files and download a ZIP?
Yes. Edit the download name before or after compression. Individual results have Download buttons. Download ZIP packages the completed outputs, gives duplicate names distinct suffixes and stores the image files without another compression pass.
What happens to transparency, animation and metadata?
JPEG places transparent pixels on a white background. PNG and WebP keep transparency in the rendered image. Output does not keep animation or the original EXIF/IPTC metadata. Choosing the same format as the original still re-encodes the image; it does not copy the original bytes.
Are images uploaded for compression?
No. Your images are read and compressed inside your browser and are not sent to our server. Clear all removes them from this page; files you downloaded stay on your device. Other parts of the site, such as analytics, follow our privacy policy.
Why is WebP unavailable?
The tool tests whether this browser can actually create a WebP file. If it cannot, WebP is hidden. A browser that can display WebP cannot always encode it; use JPEG or PNG instead.
Related tools
Explore more image tools
Keep the original. Compare the result.
Return to your workspace to fine-tune quality, set a target size or collect the finished batch.