Image Compressor
Compress images online to a target file size. Reduce JPG, PNG, or WebP file sizes while maintaining quality.
How to Use Image Compressor
- 1Upload your image (JPG, PNG, or WebP).
- 2Select your target file size: 100KB, 90KB, 80KB, 50KB, or custom.
- 3Click 'Compress'.
- 4Compare original and compressed sizes, then download.
Example
photo.jpg (3.2 MB)photo-compressed.jpg (98 KB — target: 100KB)Related Tools
Learn More
Step-by-Step Guide: Image Compressor
Learn how to use our Image Compressor tool for professional results. Compress images online to a target file size. Reduce JPG, PNG, or WebP file sizes while maintaining quality.
What is DPI in Digital Images?
Understand Dots Per Inch (DPI) and why it matters for printing and high-quality photo processing.
How Does Image Compression Work?
Learn the difference between lossy and lossless compression and how to optimize your images for the web.
Understanding Aspect Ratio in Photography
A guide to common aspect ratios (16:9, 4:3, 1:1) and how to choose the right one for your needs.
Frequently Asked Questions
How does image compression work?+
The tool uses HTML5 Canvas to redraw and re-encode the image at a lower quality until the target file size is met.
What formats are supported?+
JPG, PNG, and WebP are all supported for compression.
Is my image uploaded to a server?+
No, everything happens in your browser. Your files stay private.
Can I set a custom target size?+
Yes, use the custom size option and enter your desired size in KB.
What happens to image dimensions?+
Dimensions are preserved. Only the encoding quality is reduced to meet the target size.