Compress Image to Size
Set a maximum file size in KB or MB and get the best-looking image that fits, perfect for online forms, applications, email and websites.
We search for the highest quality that fits under your limit and only reduce the dimensions when quality alone is not enough. 1 KB = 1,000 bytes, so the result also fits limits that use 1,024.
Auto saves JPG (accepted by every form and website), or WEBP when you upload WEBP.
How to use Compress Image to Size
- 1
Add your images
Drop one or many photos, or paste a screenshot with Ctrl+V. JPG, PNG, WEBP, GIF and BMP are supported.
- 2
Set the target size
Type a limit such as 50 KB or pick a quick size. Optionally set a maximum width or height.
- 3
Download
Check the before/after preview, then download each image or all of them as a ZIP.
Compress a photo to an exact file size
Many websites and online forms only accept images below a certain size: 20 KB for a signature, 50 KB for an ID photo, 100 KB or 200 KB for documents, or 1 MB for email and uploads. This tool hits that limit automatically. It searches for the highest JPEG or WEBP quality that fits under your target, and only reduces the dimensions when quality alone cannot get the file small enough.
How it works
- Quality first: the tool tests quality levels with a binary search and keeps the best one that fits.
- Smart resizing: if even good quality is too large, the image is scaled down step by step, keeping its proportions.
- Never bigger than needed: images that already fit are kept unchanged, with no quality loss.
- Transparent PNGs: transparency is filled with white or a colour you choose, because JPG has no transparency.
Popular target sizes
- Compress image to 20 KB: signatures and small ID photos.
- Compress image to 50 KB: passport and application photos.
- Compress image to 100 KB: documents and profile photos.
- Compress image to 200 KB: scanned certificates and forms.
- Compress image to 1 MB: email attachments and website uploads.
Tips
- If a form also asks for exact dimensions (for example 200 × 230 px), set the maximum width and height as well.
- For print sizes in centimetres or inches, use Resize Image in cm, and to change the DPI use Change DPI.
- Very small targets (under 10 KB) work best with small photos such as signatures and passport crops.