Compress Image to a Target Size
Enter the maximum file size a form allows and get the best-quality JPG that fits.
Your privacy: Images are converted on your device. We do not upload or retain your images on our servers. How this works
Handy for: Passport and visa uploads · Job and university forms · Council portals
ⓘ
Passport: GOV.UK needs 50 KB–10 MB, at least 600 × 750 px, and the photo itself must not be edited. Other forms: check the limit stated on the form.
Results
Drag the divider or use the arrow keys to compare.
- Original
- New size
- Size change
Try another free tool
How to compress an image to a specific size
- Choose, drag in or paste your photo. JPG, PNG, WebP, HEIC and AVIF all work.
- Type the maximum size the form allows into Target size and choose KB or MB.
- Click Compress to size, check the result and download your JPG.
Your photo is processed in your browser and never uploaded.
How compressing to a target size works
The tool converts your image to JPG – the format almost every form accepts – and tries a range of quality settings to find the highest quality that stays under your limit. If even a modest quality is still too large, it reduces the dimensions step by step until the file fits. The result panel tells you the quality used and whether the image was resized.
If your image is already a JPG under the limit, it is kept exactly as it is.
KB, MB and why we aim slightly under
Forms don’t agree on what a kilobyte is: some count 1,000 bytes, others 1,024. To be safe, we aim under the smaller figure – so “100 KB” means under 100,000 bytes – and the file passes either way.
Tips for the best result
- Start from the original photo, not a copy that has already been compressed.
- Crop out what you don’t need before compressing – fewer pixels means more quality for the same size.
- Check the result before you upload. If the form also has minimum dimensions, use the Image Dimension Checker.
Compressing a photo on your phone
This page works in Safari on iPhone and Chrome on Android. Tap Choose image, pick the photo from your library, then download the result – on iPhone it goes to the Files app (Downloads), on Android to your Downloads folder. From there you can attach it to the form. Large iPhone photos in HEIC format are converted to JPG automatically as part of the process.
Passport and visa photos
For a UK passport application, the digital photo must be between 50 KB and 10 MB, at least 600 × 750 pixels, and must not be altered by software. Most phone photos already meet the size rule, so you may not need to compress at all – see the GOV.UK passport photo rules before changing a passport photo. For visas and other official applications, follow the limits stated on that application.
Common targets
Shortcuts for the limits people search for most: compress to 100 KB and compress to 50 KB. For anything else, type your own number above.
Example: one iPhone photo at four different limits
| Target | Result | Dimensions | JPG quality |
|---|---|---|---|
| 1 MB | 969 KB | 2570 × 3427 px | 77% |
| 200 KB | 181 KB | 1213 × 1617 px | 78% |
| 100 KB | 96.6 KB | 1009 × 1346 px | 63% |
| 50 KB | 48.4 KB | 606 × 808 px | 70% |
Measured on 19 November 2026 with this tool in Chrome, using an original 12-megapixel iPhone 14 Pro photo (HEIC, 1.93 MB, 3024 × 4032 px). Your results will vary with the photo and settings.
Notice that a bigger target keeps more pixels as well as more quality. If a form allows 1 MB, use it – the photo will look noticeably better than at 100 KB.
Choosing the right target
- Use the exact limit printed on the form, not a guess.
- If the form also gives minimum dimensions, check the result with the Image Dimension Checker.
- If the result looks too soft, crop away background first with Crop Image, then compress again.
Compress Image to a Target Size FAQs
Why does the result come out as a JPG?
JPG is accepted by almost every form and compresses photos efficiently, which gives the best quality for a fixed size.
What if my image cannot get small enough?
The tool reduces the dimensions step by step. If a target is extremely small it will tell you to choose a larger one.
Does it change my original photo?
No. You download a new copy and your original stays as it is.
Is my photo uploaded?
No. Everything happens in your browser.