How to use
- Add your images. A batch can hold up to 200 files of 50 MB each.
- Choose a Compression mode: Target size or Quality.
- For Target size, press a preset (50 KB, 100 KB, 200 KB, 500 KB or 1 MB) or type your own Maximum file size and choose the Unit. The smallest target is 10 KB.
- Pick an Output format: JPEG, WebP, AVIF or PNG. For PNG you can tick Reduce colors (palette).
- If a large photo cannot reach a small target, tick Allow resizing to reach the target and set the Minimum quality before resizing.
- Press Compress, open the before and after comparison to check detail, then download the files or a ZIP.
Worked example
A 4 MB 4032×3024 photo with the 500 KB JPEG preset comes out between 450 KB and 500 KB at the full 4032×3024 size; the result row shows the quality the search settled on.
Supported formats and limits
| Input | JPEG, PNG, WebP, AVIF, BMP, TIFF, HEIC |
|---|---|
| Output | JPEG, WebP, AVIF, PNG |
| Limits | Up to 50 MB per image; 200 images per batch. Targets from 10 KB. |
| Engine | Binary search over encoder quality (MozJPEG/libwebp/libavif), then stepwise downscaling |
Tips for best results
- Upload forms for photos often cap files at 100 KB or 200 KB. Here 100 KB means 102,400 bytes, and the result never goes over the target.
- Photos shrink well as JPEG or WebP. Screenshots, logos and charts do better as PNG with Reduce colors, and WebP is typically 25 to 35 percent smaller than JPEG at similar quality.
- Raise the minimum quality for photos with faces or text, and lower it when you would rather keep the pixel dimensions.
- When converting a transparent PNG to JPEG, set the background color first, or the transparent areas will turn a color you did not choose.
Limits
- Very small targets for large photos require shrinking dimensions; the result shows when that happened.
- PNG output is lossless, so it can only reach targets by reducing colors or dimensions.
- Targets start at 10 KB. Because PNG is lossless, it can only reach a target by cutting colors or dimensions, and the result shows when the image was made smaller.
Questions
How do I compress an image to 100KB?
Enter 100 as the target in KB, add the image and pick JPEG, WebP or AVIF. The quality is searched until the file fits under 100 KB; only if the lowest quality is still too large are the dimensions reduced step by step. The result is never above the target.
Will the image get smaller in pixels?
Only if needed. The quality is searched first at full size. If even the minimum quality you set is too large and resizing is allowed, the dimensions shrink in steps of about 10% until the file fits. The result says when that happened.
Is 100 KB counted as 100,000 bytes?
No. Targets use binary units, so 100 KB is 102,400 bytes. The download never goes over the target.
Can PNG files reach a target?
PNG is lossless, so there is no quality to lower. It can reach a target only by reducing colors to a palette or by shrinking dimensions.
Which size limits are common?
Upload forms often ask for 20 KB, 50 KB, 100 KB, 200 KB, 500 KB or 1 MB. Buttons for 50 KB to 1 MB fill in the target; type any other number, down to the minimum of 10 KB. For limits in megabytes, such as 2 MB, choose MB under Unit and type 2.
Can I compress many images at once?
Yes. Add up to 200 images of up to 50 MB each. Every image is compressed to the same target or quality, and the files download one by one or as a ZIP.
How small should photos be for email?
Mail services limit the total size of a message, so work back from the limit divided by the number of photos. A target of 200 KB to 500 KB per photo is usually enough for viewing on screen. Each result is at or under the target, and the page shows its final size.
My image is too large to upload. What do I do?
Read the limit from the form, enter it as the target here and add the image, then download the result and upload that. The guide on compressing an image to a specific size walks through it.
Guides
- Choosing an image format: JPEG, PNG, WebP or AVIF
- How to compress an image to a specific size (100 KB, 50 KB or 20 KB)
- OG image size (1200 × 630) and Open Graph tags: sizes and fixes
Privacy
Runs on your device. Files and text are processed in this browser tab and are not uploaded.
See the privacy policy for how toolsdocks handles data.