ImageConverter

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

Image tool controls

Drag and drop an image here

JPG, PNG, WebP, HEIC or AVIF · Up to 25 MB

or paste an image with Ctrl+V

Advanced settings

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.

How to compress an image to a specific size

  1. Choose, drag in or paste your photo. JPG, PNG, WebP, HEIC and AVIF all work.
  2. Type the maximum size the form allows into Target size and choose KB or MB.
  3. 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

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

An iPhone photo compressed to different targets
TargetResultDimensionsJPG quality
1 MB969 KB2570 × 3427 px77%
200 KB181 KB1213 × 1617 px78%
100 KB96.6 KB1009 × 1346 px63%
50 KB48.4 KB606 × 808 px70%

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

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.

Related tools