Image compressor with quality and target-size modes. Choose JPG or WebP output, compare the file sizes, and review the image before downloading.
The Tooloogle Image Compressor reduces image file size using a quality slider or a target size in KB. Choose the mode that fits your task, review the output, and download the compressed file.
The image is drawn to a <canvas> at its original dimensions and encoded using canvas.toBlob(). Quality mode lets you adjust the output manually. Target-size mode searches for a quality setting within your size limit. Check the final size rather than assuming every target can be reached.
The result shows the original size, compressed size, and savings percentage. The downloaded file uses the -compressed suffix.
Choose JPG or WebP output. The filename follows the pattern <original-name>-compressed.<ext>. The browser uses toBlob for encoding; compare the preview and file size before saving.
-compressed suffix.Use Quality mode when you want to compare visual detail at different settings. Treat values such as 0.85, 0.7, or 0.5 as starting points, not guarantees of image quality or file size. Inspect the result at the size where it will be displayed.
Use Target-size mode when an upload form has a limit, such as 200KB, 1MB, or 500KB. Check the actual output size before submitting the file. If quality becomes too low, consider reducing the image dimensions first.
Choose a format accepted by the destination. Compare both outputs if file size matters. Image content and quality settings affect the result, so one format will not always produce the smaller file.
Keep the original file. Repeatedly compressing a lossy image can add visible artifacts. Check text, edges, and fine details at the intended display size; a 200×200 thumbnail may need different settings from a full-screen image.
Resize to the required dimensions before compressing. Review transparent areas when changing formats, especially when choosing JPG output.
The encoding process uses FileReader, Canvas, canvas.toBlob(), and a Blob URL to read, encode, and prepare the file for download. This description does not establish that the page meets any particular confidentiality requirement.
Use the Image Resizer when you need different pixel dimensions. Use a format converter when you only need to change the image format.
How to Use Image Compressor - Compress JPG and WebP to Target Size
Select a JPG, PNG, or WebP source image. Keep the original file so you can compare results.
Adjust the quality slider, or enter the maximum file size in KB in Target-size mode.
Choose JPG or WebP output. Review the displayed size and image detail, including any transparent areas.
Download the result and check that it meets the destination file-size limit. Reduce dimensions first if the quality is too low at your target size.
Image compressor with quality and target-size modes. Choose JPG or WebP output, compare the file sizes, and review the image before downloading.
Tool Use:
108Added:
May 1, 2026Type:
Free ToolPrivacy:
Client SidePNG to WebP converter for web images. Select a PNG, convert it, and check the downloaded WebP for image detail, transparency, and file size.
Image resizer for JPG, PNG, and WebP files. Set pixel dimensions or a percentage, check the aspect ratio, and download the resized image.