Compress an Image to a Target File Size
Need an image under 500 KB, 1 MB, 2 MB or another limit? This browser-based tool tries quality first and can reduce dimensions when necessary.
How this problem solver works
File size and pixel dimensions are different problems. If a photo is much larger than necessary, reducing its dimensions can save more bytes than aggressively lowering quality. This tool tries to reduce encoding quality and, when needed, reduces dimensions as well.
What if I need exactly 1 MB?
“Under 1 MB” is usually the safer goal because file encoders do not produce a predictable byte count for every image. If a form says the maximum is 1 MB, aim comfortably below the limit rather than right on the edge.
Common questions
Can I compress an image to exactly 1 MB?
A browser image encoder cannot guarantee an exact byte count for every image. This tool aims for a result below the target and may adjust quality and dimensions.
Does reaching a smaller file size reduce quality?
Usually some quality or detail must be traded for a much smaller file. If the original dimensions are excessive, reducing dimensions can sometimes preserve better visual quality than using very aggressive compression.
Does the tool upload my image?
The core processing runs in your browser. The selected image is processed locally by the page rather than being sent to a server for conversion.