Quick answer
Read the form's rules first, then make the photo smaller in this order:
- Note every rule, not just the size. Write down the maximum file size, any minimum file size, any minimum or exact pixel dimensions, the accepted formats, and whether you're allowed to edit the photo at all.
- Resize first. If the photo has more pixels than the form asks for, reduce the width to the smallest size that still meets the form's pixel minimum.
- Then lower the quality, a step at a time. Start at a middle setting and go down only if the file is still too big.
- Leave a margin under the limit. "200 KB" can mean 200,000 bytes or 204,800 bytes, so aim comfortably below 200,000.
- Check the saved file, not just what the tool shows: its exact size in bytes, its pixel dimensions, and that it's the right way up.
In a test with a 2.7 MB phone-style photo and an example limit of 200 KB, resizing alone got the file to 108,404 bytes at a middle quality setting. Lowering the quality alone needed the lowest setting the tool offers.
The example used in this guide
The test photo is a synthetic garden scene made by a script for this guide and set up like a phone photo:
- Size: 2,707,366 bytes. Compress JPEG shows it as 2.58 MB, because it counts in 1,024s (more on that below).
- Pixels: stored sideways as 4032 × 3024, with an orientation tag that tells viewers to turn it upright to 3024 × 4032 (portrait), like a photo taken with the phone held upright. That's 12.2 million pixels; the example's minimum needs 450,000.
- Metadata: a fictional camera make and model, a date, and fictional GPS coordinates, to see what survives.
The limit is an example, not a real form's rule: "maximum 200 KB, at least 600 × 750 pixels". Real limits come in different shapes. GOV.UK asks for a digital passport photo "at least 600 pixels wide and 750 pixels tall" and "at least 50KB and no more than 10MB" (GOV.UK: Get a passport photo: Digital photos). The Indian e-Visa photo must be JPEG, "Minimum 10 KB" and "Maximum 1 MB", and "The height and width of the Photo must be equal" (Indian Visa Online: e-Visa). Singapore's ICA asks for exactly "400 x 514 pixels" for e-Services, with an 8 MB maximum (ICA: Photo Guidelines). So a form can set a maximum, a minimum, or exact dimensions alongside the file size.
Try resizing, quality, or both
The test used FreeToolsKit's Compress JPEG in Chromium. After you add a photo, its card shows the size and the upright dimensions: "2.58 MB · JPEG · 3024 × 4032 px" for the test photo. Under Compression settings there are two controls:
- JPEG quality: three presets, Smaller file · 60, Balanced · 75 and Higher quality · 90, plus a slider from 30 to 95.
- Resize: choose from Keep original dimensions, Max width 2560 px, Max width 1920 px and Max width 1280 px. The height follows the width, so the shape never changes and nothing is cropped or enlarged.
Choose Compress image, read the result line, then use Download. Each result below was downloaded and measured in bytes.
Quality only (Keep original dimensions, 3024 × 4032 px):
- Balanced · 75: 833,046 bytes. Over the limit.
- Smaller file · 60: 440,806 bytes. Over.
- Quality 45: 281,910 bytes. Over.
- Quality 30, the slider's lowest setting: 164,933 bytes. Under 200,000, but with no lower setting left to try.
Resize only (Balanced · 75):
- Max width 2560 px: 2560 × 3413 px, 471,948 bytes. Over.
- Max width 1920 px: 1920 × 2560 px, 252,166 bytes. Over.
- Max width 1280 px: 1280 × 1707 px, 108,404 bytes. Under the limit, with about 90,000 bytes to spare, and still above 600 × 750 px.
Resize and quality together:
- Max width 1920 px, Smaller file · 60: 154,178 bytes. Under.
- Max width 1280 px, Higher quality · 90: 249,970 bytes. Over: resizing on its own doesn't guarantee a fit.
These numbers belong to this one synthetic photo and this browser. The tool itself says "Exact sizes vary by browser and image", and a busier or noisier photo will need more bytes at the same settings.
How the two routes looked. Viewed at the same on-screen size, the full-size quality 30 file and the 1280 px Balanced file looked alike. At 100%, the quality 30 file had lost the fine grain of the original. The real difference is headroom: after resizing, there was still room to raise the quality or absorb a stricter limit.
Why "200 KB" is ambiguous
NIST defines a megabyte (MB) as 1,000,000 bytes and a mebibyte (MiB) as 1,048,576 bytes; the binary prefix kibi (Ki) means 1,024. NIST notes that computer professionals "started using the SI prefix 'kilo' to mean 1024", and that today "everybody" does not "know" what a megabyte is (NIST: Prefixes for binary multiples). Devices differ too: Apple says some older operating systems and apps reported storage in binary units (Apple Support: How storage capacity is measured).
None of the forms quoted above says which meaning it uses. For a "200 KB" limit, that means:
- Decimal reading: 200 × 1,000 = 200,000 bytes.
- Binary reading: 200 × 1,024 = 204,800 bytes.
- Safe target: under 200,000 bytes, which passes either way. Leave extra room if you can.
Compress JPEG counts a KB as 1,024 bytes (checked in its code), so the 108,404-byte file appeared as "105.9 KB". A file the tool shows as 196 KB is already about 200,700 bytes. If you go by the tool's figures, stay below about 195 KB for a 200 KB limit.
Don't overshoot a minimum. At Max width 1280 px and quality 30, the test file came out at 40,587 bytes. That's below GOV.UK's 50KB minimum. If the form has a minimum, keep the result above it with a margin too.
Decide what to change
- Can you edit the photo at all? Some official photo rules forbid it. GOV.UK says a digital passport photo must be "unaltered by computer software". ICA lets you "resize your digital photograph" but says "do not alter or enhance the photograph in any other way". If editing isn't allowed, don't compress it. Check the original instead, for example with Passport & ID Photo Maker, which checks an original file against the published limits for the documents it covers.
- Does the form need exact pixels or a set shape? Compress JPEG only offers widths of 2560, 1920 and 1280 px and never crops, so it can't make a 400 × 514 px or square photo. Crop or size the photo to the required dimensions first, then check its file size.
- Is there a pixel minimum? Pick the smallest Resize option that stays above it. Check the height as well as the width.
- Still over the limit? Keep that width and lower JPEG quality: Balanced · 75, then Smaller file · 60, then the slider. Choose Compress image again after each change.
- Still over at 1280 px and quality 30? This tool can't make that photo small enough. Crop it to the part the form needs, or ask the organisation whether a larger file is accepted.
Change settings starting from your original photo each time, not from a file you've already compressed. The published guide on compressing JPEG images without visible blur covers how to judge sharpness once the size fits. If your photo is HEIC, Compress JPEG won't open it; convert it to JPG first with the Image Converter.
What happened to orientation and metadata
Viewers use the photo's orientation tag to turn it the right way up. With the browser default, from-image, "The EXIF information contained in the image is used to rotate the image appropriately" (MDN: image-orientation). A file that has lost its tag but kept sideways pixels would appear on its side.
In the test, checked with an image library after download:
- Orientation: every compressed file was upright. The pixels were turned (1280 × 1707, portrait), and the files had no orientation tag left to turn them twice.
- Metadata: every compressed file had no EXIF data at all: no camera make or model, no date and no GPS coordinates.
- The exception: at Keep original dimensions with quality 95, the result said "Original already smaller — kept unchanged". The download was the original file byte for byte, still 2,707,366 bytes and still carrying the GPS coordinates and orientation tag. The tool does this when re-encoding an unresized JPEG would make it bigger. If you need the metadata gone, check for this message.
Before you upload
- Size in bytes: on a Mac, choose File > Get Info or press Command-I (Apple Support: Get file, folder and disk information on Mac); on Windows, open the file's Properties. Read the size, and the exact number of bytes where it's shown, and compare it with the limit. Under 200,000 bytes passes either reading of "200 KB".
- Minimum size: the file is above any minimum the form sets, such as 50KB.
- Pixel dimensions: the width and height meet the form's minimum or exact size, the right way round. Portrait should be taller than wide.
- Orientation: open the downloaded file in an ordinary viewer and check it's upright.
- Format and name: the file is a
.jpg, which Compress JPEG always produces, named likephoto-min.jpg. - The form's own preview: after uploading, check the preview the form shows and any error message before you submit.
- Keep your original: keep the unedited photo in case the form rejects the compressed copy, or asks for the original.

