Compress an image without starting with complicated settings
The Compress Image tool brings two common jobs into one workspace: reducing an image using a quality preset, or preparing a file for a maximum size limit. Use the first option when you simply want a smaller everyday photo or web graphic.
Use the target-size option when a form, upload page, email attachment or content system gives you a specific limit in KB or MB. The tool runs in the browser and uses the Canvas API to re-encode the image rather than sending it to a separate image-processing service.
The workspace is designed around common JPG/JPEG, PNG and WebP images. Multiple images can be selected together. The processing settings are applied to the selected files, and a multi-image result is packaged in a ZIP archive. The original files are not overwritten, so keep the downloaded compressed copies as separate versions and retain your originals until you have checked the results.
Choose between Smart Quality and Target Size
The sidebar has two modes. Smart Quality gives you three compression levels: Extreme Compression, Recommended (Balanced) and High Quality. The labels describe the trade-off between a smaller file and preserving visual detail. In the JPEG and WebP paths, the levels correspond to roughly 50%, 75% and 90% encoder quality. The PNG path is different: it uses palette reduction, with approximately 32, 128 or 256 colours depending on the selected level. PNG is not compressed by changing a JPEG-style quality percentage.
Target Size (KB) is for a file-size ceiling. You can choose one of the common presets - 10 KB, 20 KB, 30 KB, 50 KB, 100 KB, 200 KB, 500 KB, 1 MB or 2 MB - or enter a custom value from 5 KB to 10,000 KB. In this mode, choose JPG/JPEG, WebP or PNG as the output format. The tool then tries to create a file at or below the selected ceiling. A target is a maximum goal, not a promise that every source image can meet the limit without a visible trade-off.
How to compress an image online
For a single image, the page provides one downloadable result with the original and compressed size information. For several images, it creates a ZIP archive. Open a few representative files from the archive before uploading a complete batch to another service.
Understand the output format before compressing
JPG/JPEG is a practical choice for photographs and broad compatibility. It uses lossy compression, so a smaller result can discard image detail. When a transparent image is converted to JPG, the transparent areas are placed on a white background because JPEG does not store alpha transparency. Check logos, icons and cut-out product images before choosing this format.
PNG is useful for graphics that need transparency, sharp interface elements or clean edges. This tool reduces PNG colours through palette quantization instead of applying a JPEG quality setting. Fewer colours can reduce file size, but gradients, soft shadows, subtle skin tones and semi-transparent edges may look different. WebP is a modern option for website images and can preserve transparency where supported by the browser. Confirm that the receiving platform accepts WebP before using it for forms or older software.
What happens when a target size is difficult to reach
In target-size mode, JPEG and WebP compression tests a low quality setting and searches upward for the best quality that stays within an internal limit set slightly below your requested size. If the image is still too large, the tool can reduce its pixel dimensions proportionally and try again. The Keep Exact Dimensions switch prevents that resizing. With the switch enabled, the tool may return a file that remains above the target if quality reduction alone is not enough.
PNG uses a separate process. It tries progressively smaller colour palettes, then can reduce dimensions if the downscale option is enabled. The transparency channel is retained, but colour quantization is not the same as preserving every original RGB value. A complex image, a very small target or a source with many colours may still miss the requested limit. Read the result status and actual file size instead of assuming that choosing a preset guarantees compliance.
Practical ways to get a better result
Browser processing, privacy and final checks
The current compressor performs its image decoding, canvas rendering and encoding in the browser. Your selected images are processed on your device for this tool's workflow. Browser memory and supported image decoding still matter: very large images or unusual formats may fail to load, and the page is intended for common web image formats rather than every camera RAW or design file.
Before using a compressed image, check the format, dimensions, transparency, visible detail and final file size. If a website asks for both a pixel dimension and a maximum KB value, this compressor addresses the file size; use an image resizer as well when the pixel dimensions must change. The receiving site's current instructions always take priority over a general compression preset.
Frequently Asked Questions
Choose a compression level or a target file size for your image
Can I compress JPG, PNG and WebP images with this tool?
What is the difference between Smart Quality and Target Size?
Can I set a custom image size in KB?
Does compression change image dimensions?
Will a JPG keep a transparent background?
Does PNG compression keep transparency?
Can I compress multiple images at once?
Will every image reach my selected KB target?
Are my images uploaded to a server?
Which quality level should I choose?
Compress to a specific size
Choose a target size for forms, portals and uploads.
Related Tools
Explore more tools to optimize, convert, and manage your images.
Compress to 100KB
Compress JPG, PNG, and WebP images to strictly 100KB or less without losing clarity. Ideal for online forms and attachments.
Bulk Image Resizer
Resize multiple images at once with our free bulk image resizer. Batch resize JPG, PNG and WebP photos to any size in seconds.
HEIC to JPG
Convert HEIC to JPG online for free. Change iPhone and iPad HEIC or HEIF photos to JPG that open on Windows and Android. Batch conversion supported.
JPG to PDF Converter
Convert JPG images to PDF online free. Combine multiple photos into one PDF with custom margins, page size and orientation. 100% private, no signup.



