Compress JPG & PNG to a Target Size — Free, No Sign Up
Compress images for email or web — no watermark, no account. PNGs over your target size are converted to JPEG, so transparency is not kept.
Compress to a size, not a percentage
Most limits you meet are written in kilobytes: an email that rejects attachments over a certain size, a job portal that wants a photo under 200 KB, a profile picture field that stops at 100 KB. This tool starts from that number. Pick a preset or type your own target, and it works towards a file that fits, instead of making you guess a quality slider.
The presets
- Email: under 500 KB, small enough for most attachments.
- Web: under 200 KB, a sensible size for a page image.
- Social: under 100 KB, for avatars and upload forms with tight limits.
- Custom: type any target in KB or MB, from 5 KB up to 50 MB.
How the tool reaches your target
First it checks the file. If your image is already under the target, you get it back unchanged. Otherwise it is converted to JPEG and saved at quality 95. If that is still too large, it tries quality 85, then 75, and so on in steps of 10 until the file fits. Because it stops at the first quality that fits, you lose as little detail as the target allows.
If even low quality is not enough, the tool shrinks the image to 90% of its width and height, then smaller in further steps, each time saving at a low JPEG quality, until the file fits or it runs out of steps. The result page shows the original and compressed sizes and says whether the target was met.
PNG, transparency and format changes
Smaller output is always JPEG. For a photo that is exactly what you want. For a PNG with a transparent background, such as a logo, the transparent areas become a solid colour and the file is saved with a .jpg name. If you need to keep transparency, set a target large enough that the PNG already fits, so it is returned unchanged. A GIF that is compressed becomes a single JPEG picture, so animation is not kept.
Worked example
A 3.4 MB phone photo has to go on a form that allows 200 KB. Choose the Web preset and compress. The tool lowers the JPEG quality until the file is under 200 KB, and only reduces the pixel size if quality alone cannot get there. The page then shows both file sizes so you can confirm the result fits before you upload it.
Tips
- Keep your original. Compression to a small target cannot be undone.
- Need exact pixels? Use Resize Image, then compress the result if the file is still too big.
- Different format? Change it with Convert Image.
- Limits: up to 100 MB and 100 megapixels per image, one image at a time.
- Check the picture. Zoom in on faces and text after compressing; very small targets show blur.
What happens to your image
Your image is uploaded to our server, compressed in memory and released once the result has been sent back. Nothing is saved to a file store or database. The server log records the request path, status and IP address, not file names or contents, and the page loads Google Analytics and advertising scripts.