Compress a Passport Photo to 240 KB for a Visa Application
Updated

Crop the photo to a square in a browser photo editor, keep it at least 600×600 pixels, then run it through a JPG compressor: set the quality slider, check the output size, and adjust until it lands just under 240 KB. Everything runs on your device, so the photo is never uploaded.
Do it now — free, in your browser
Compress your photo freeWhat visa portals actually require
The US DS-160 online visa application is the best-known case: it asks for a square JPEG between 600×600 and 1200×1200 pixels, no larger than 240 KB. Other countries' e-visa portals work the same way with different numbers — some cap uploads at 100 KB, others at 1 MB — so always confirm the current rules in the official instructions for your application before you start.
Two things get photo uploads rejected: files that are too big, and photos that are too poor — over-compressed, blurry or too small. The goal is not the smallest possible file; it is a sharp, correctly framed photo that lands comfortably under the cap.
Step 1: crop to a square at the right size
Start with the crop, not the compressor. Visa photos are square, and cropping away background usually removes more kilobytes than any quality slider. Open your photo in the browser photo editor and crop to a square centred on your head and shoulders, following the framing rules in your application's instructions — our short guide to cropping and resizing a photo online walks through it.
Mind the floor as well as the cap: do not go below the 600×600 pixel minimum, and do not upscale a tiny photo to reach it. A crop in the 600–800 pixel range is the sweet spot — big enough to pass quality checks, small enough that 240 KB is easy.
One more pre-step for iPhone photos: portals want JPEG, not HEIC. Convert HEIC to JPG in your browser first, then crop.
Step 2: compress under 240 KB — the honest loop
Now drop the cropped photo into the free JPG compressor. One honest note: there is no "compress to 240 KB" box — the controls are a quality slider and an optional maximum-dimension cap, and the file size is the result. The loop is quick:
- Set the quality slider — around 80 is a good first try.
- Read the per-file "in → out" size shown in the results list.
- Still over? Lower the quality a notch (or cap the dimensions) and run it again.
Aim for roughly 230 KB, not 240 KB: the size readout rounds to whole kilobytes, so a file displayed as "240 KB" can be a few hundred bytes over the strict limit the portal actually checks. And because everything runs on your device, your passport photo is never uploaded to anyone's server while you iterate.
If it still will not go under the cap
If the file will not go under the cap, one of these is almost always why:
- The crop is huge. A 3000×3000 square from a modern phone wastes the whole budget. Cap the output at 900–1200 pixels — still well above the minimum.
- It is a PNG. Photos compress far better as JPEG; export the crop as JPG before compressing.
- Heavy noise. Low-light shots compress poorly; a slightly smaller resize smooths the noise and shrinks the file.
The same loop works for any upload limit, not just this one — see the general guide to compressing an image to an exact size in KB, or the tighter 100 KB walkthrough if your portal's cap is smaller.
Ready to try it?
Free, no sign-up, and nothing you open ever leaves your device.
Frequently asked questions
Is 240 KB the limit for every visa application?+
No — 240 KB is the US DS-160 cap. Other countries' e-visa systems set their own limits, some as low as 100 KB and some up to 1 MB. Check the official instructions for your specific application, then use the same crop-then-compress loop to land under whatever the number is.
Why does my upload fail when the file says it is exactly 240 KB?+
Size readouts round to the nearest whole kilobyte, so a file shown as 240 KB can be a few hundred bytes over the strict byte limit the portal checks. Compress one notch further so the readout shows about 230–235 KB and it will clear the check.
My photo is a HEIC from my iPhone — will it work?+
Visa portals generally require JPEG. Convert the HEIC to JPG first — the browser converter does it without uploading anything — then crop it square and compress. Converting re-encodes the image once, so start from the original photo rather than a screenshot.
Will compressing to 240 KB make my photo look bad?+
Not at visa sizes. A 600×600 to 800×800 pixel JPEG fits comfortably under 240 KB at high quality settings. Visible artifacts only appear if you push the quality slider very low or start from a far larger image than the form needs.
Is it safe to use an online tool for a passport photo?+
This one runs entirely in your browser: the photo is processed right on your device and never uploaded, so no server ever holds a copy of your passport photo. It even keeps working offline once the page has loaded.