← Back to guides
How-to guide

How to Compress a Photo for Online Upload (Without Breaking Passport Photo Rules)

Learn how to compress a photo, check upload limits, preserve pixel dimensions and avoid damaging passport or visa photos.

Quick Answer

To compress a photo, reduce its file size by re-saving it at slightly lower quality, resizing its pixel dimensions, or both. On a Mac, open it in Preview and use File, Export with a JPEG quality slider. On Windows, Photos and Paint can save a resized copy. Many online tools compress to a target size, but check how they handle your privacy.

For a passport or visa upload, you often do not need to compress at all. The U.S. online renewal tool accepts files from 54 KB to 10 MB, and the GOV.UK digital rules ask for 50 KB to 10 MB with at least 600 × 750 pixels. Most phone photos fall inside those ranges. Two things go wrong instead: a file that is too small after heavy compression, and compression done by cropping or shrinking the photo below the pixel minimum. If you must compress, keep the full uncropped frame, stay above every minimum, compress once from the original, and keep the original.


1. Why Guides Give Different Answers

Web advice versus ID uploads. Most compression guides are written for websites and email. They tell you to resize to 1,920, 1,280 or even 800 pixels wide, use quality 75 to 85, and convert to WebP or AVIF. Those tips can be wrong for a passport upload, which has pixel minimums, file-type limits, and a rule that the photo be original or unaltered.

"Smaller is better." For a website, yes. For a passport upload there is a floor as well as a ceiling: the U.S. page says 54 KB to 10 MB, and the GOV.UK digital rules say 50 KB to 10 MB. Squeezing a photo under the minimum can cause a rejection.

"Without losing quality." JPEG compression is lossy, so any compression discards something. How much you save depends on the photo and the method. The savings vary with image content and export settings. Reducing pixel dimensions can save more space, but it can also push a passport photo below the required minimum.

KB targets. Many tools offer "compress to 100 KB" or "50 KB," aimed at job and government forms. A passport photo has its own range, and the right target is simply "inside the limit," not "as small as possible."

Privacy. Some online compressors state that they run entirely in your browser with no server upload. Others upload your image. Guides rarely say which kind they are recommending.

2. What Each Upload Actually Requires

Where you uploadFile sizeDimensions and other rules
U.S. passport, online renewal54 KB to 10 MBJPG, JPEG, PNG, HEIC or HEIF; colour; taken in the last 6 months; original and unedited; you can reposition or crop inside the application
UK passport, online (own device)50 KB to 10 MBAt least 600 × 750 px; colour; unaltered by software; do not crop, as the application does it
Walmart Photo print orderSee Walmart's toolJPEG and PNG are the listed file types
U.S. visa form (DS-160)Up to 240 KBSquare JPEG, 600 to 1,200 px; sRGB; compression ratio no more than 20:1

Compress, resize and convert are different things

ActionWhat it changesPassport risk
CompressFile size, by lowering quality or removing dataOver-compression can cause visible artifacts and a file below the minimum
ResizePixel dimensionsCan fall under the pixel minimum or change framing
CropThe visible areaThe UK says not to crop an own-device photo
ConvertFile type (for example HEIC to JPG)Do it once, from the original

3. How to Compress a Photo, Step by Step

Step 1: Check whether you need to

Look at the file's size and dimensions. On a Mac, Get Info or Preview's inspector shows them; on Windows, right-click and choose Properties, Details; on a phone, the photo's info panel shows size and resolution. If the file is already inside your application's range, upload it as it is.

Step 2: Avoid the problem at the camera

High-resolution camera modes can produce much larger files. Where your phone offers a standard-resolution mode and a high-resolution one, use the standard mode for passport shots. A photo that is already inside the limit never needs compressing.

Step 3: If you must compress, change quality before dimensions

  • Mac: open the photo in Preview, choose File, Export, pick JPEG as the format, and move the quality slider down a little at a time, watching the estimated file size.
  • Windows: Photos and Paint can save a resized copy. These tools mostly change dimensions rather than quality, so check that the result still meets the pixel minimum and that you have not cropped it.
  • Online compressor: use one that says it runs in your browser, read its privacy statement first, and avoid tools that send the image to a server unless you accept that.
  • iPhone and Android: use your computer's tools, a trusted on-device app, or re-take the photo in a standard-resolution mode.

Step 4: Stay above the minimums and below the maximum

Aim for a size comfortably inside the range, not at the edge. For a U.S. renewal that means well above 54 KB and below 10 MB. For the UK, keep at least 600 × 750 pixels and 50 KB to 10 MB. Do not use a "compress to 20 KB" setting.

Step 5: Check the result at full size

Open the compressed copy and zoom to 100%. The face should be sharp, with no blocky patches around the eyes, hair edges or background. For UK photos, follow the official digital-photo guidance and the checks in your passport application. Automated checks do not guarantee acceptance.

Step 6: Upload, and keep the original

Keep the original file in case you need to start again, because repeated compression degrades a JPEG further.

4. Privacy

A passport photo is identity data. Built-in tools on your computer keep it on your device. If you use an online compressor, read how it handles your file. Avoid chat-app or text-message copies that may have been compressed; transfer the original file instead.

5. Cost and Time

MethodCostTime
Built-in tools (Preview, Photos, Paint)Free1 to 3 minutes
Standard-resolution camera settingFreeUnder a minute
Online compressorOften free, with privacy and quality trade-offs1 to 3 minutes
PhotoOmni passport or visa photoSee current pricingDepends on the photo and review process

6. Common Mistakes

  • Compressing a file that is already within the limit.
  • Going below the minimum. The U.S. minimum is 54 KB and the UK minimum is 50 KB.
  • Compressing by cropping, which the UK says not to do and which can cut off shoulders or hair.
  • Shrinking below 600 × 750 pixels for a UK upload.
  • Compressing repeatedly, re-saving the same JPEG until it looks blocky.
  • Using a screenshot instead of the original file.
  • Sending it through a chat app first, which compresses it automatically.
  • Choosing a "100 KB" or "50 KB" preset that is meant for a different kind of form.
  • Using an online compressor without checking where your photo goes.
  • Converting formats at the same time without checking what the application accepts. See our guide to converting a photo to JPG.

7. PhotoOmni vs Other Ways to Get a Right-Sized File

MethodBest forWatch out for
Built-in toolsReducing size privately and for freeYou check pixel minimums and quality yourself
Online compressorQuick one-off compressionPrivacy and quality vary; presets may not fit passport limits
PhotoOmni, for US passport, UK passport or UK visa photosPreparing a passport or visa photo with an AI check and expert review, sized for the document you chooseIt is not a general image compressor, and no tool can guarantee acceptance

If you only need to make a file smaller, your device's tools are enough. PhotoOmni is for when you also need the right framing, background and size for a specific document. Its UK passport page describes a colour digital file of at least 600 × 750 pixels and between 50 KB and 10 MB for online applications. It describes its service as AI-checked and expert-verified, with a refund guarantee for photo-related rejection, so see the refund policy for terms. For phone shooting, see our Android passport photo guide, home passport photo guide and requirements guide.

8. Checklist Before You Upload

  • I checked the file's size and pixel dimensions first
  • I only compressed because it was over the limit
  • I compressed once, from the original
  • I lowered quality before resizing, and did not crop
  • The file is above the minimum size, such as 54 KB or 50 KB
  • The file is below the maximum, such as 10 MB, the limit shown by my visa application
  • The photo is still at least 600 × 750 px for UK uploads
  • The face is sharp at 100% zoom, with no blocky artifacts
  • I did not use a screenshot or a chat app copy
  • My compressor respected my privacy
  • I kept the original file

9. FAQ

How do I compress a photo? Re-save it at slightly lower quality, resize it, or both, using built-in tools such as Preview on Mac or Photos and Paint on Windows, or a trusted online compressor.

Do I need to compress my passport photo? Usually not. The U.S. online renewal accepts 54 KB to 10 MB, and UK online uploads accept 50 KB to 10 MB. Most phone photos fall inside those ranges.

What is the minimum file size for a passport photo upload? 54 KB for U.S. online renewal and 50 KB for UK online uploads. Over-compressing a photo below that can cause a rejection.

How do I compress a photo to a specific size? Lower the quality in small steps and check the file size each time, or use a tool with a target-size option. Make sure the target sits inside your application's range.

Is it better to resize or compress? Resizing reduces file size more, but changes the pixel dimensions and can drop below the minimum. For passport uploads, change quality first and keep the pixel minimum.

Does compressing a photo lower its quality? Yes, to some degree. JPEG compression is lossy, and repeated re-saving makes it worse.

Can I crop to make the file smaller? For UK uploads, do not crop an own-device photo. For U.S. online renewal, the application lets you reposition or crop inside the tool.

Is it safe to use an online compressor for a passport photo? Check the privacy statement. Some run in your browser and others upload your file. Built-in tools keep it on your device.

Will WhatsApp or text messages compress my photo? They can, depending on how you send the file. Transfer the original file and check its size and dimensions afterwards.


Final Take

Compressing a photo is simple, but for a passport upload the safe move is often to do nothing: check the limits, compress only if the file is over, never go below the minimum, and avoid cropping or shrinking below the pixel minimum. If you would like help with framing, background and size for a specific document, PhotoOmni checks your photo before you submit.

Sources

Related Articles

About the Author

PhotoOmni Editorial Team publishes guides to passport and visa photo requirements, digital image preparation and printing. PhotoOmni also offers paid photo services; this guide is published by PhotoOmni. Always follow the issuing authority’s current instructions.