How to compress a photo for a passport or visa application

These applications specify exact pixel dimensions and an exact file-size range. Meeting the dimensions first is what makes the size limit easy.

The method

Step order
Crop to the required ratio, resize to the required pixels, then compress to the KB limit.
Why that order
Compressing first wastes quality that resizing would have saved anyway.
Target
Aim a few per cent under the stated maximum.
Minimum sizes
Many applications set a floor as well as a ceiling. Do not overshoot downward.
Format
JPEG, almost always. Check whether PNG is accepted before using it.
Authoritative source
Your own application form. Requirements differ by country and change.

Getting it right

  1. Step 1: Read the actual requirements first

    Find the exact pixel dimensions, the file-size range and the accepted formats on the form you are filling in. They differ by country, by visa type and over time — a number from a forum post is not a substitute for the page you are uploading to.

  2. Step 2: Crop to the required proportions

    Most applications specify a square or a particular ratio, plus rules about head position and margins. Get the composition right before anything else, because cropping afterwards changes the pixel dimensions again.

  3. Step 3: Resize to the exact pixel dimensions

    If the form asks for 600 × 600, produce exactly 600 × 600. This is the step that makes the file-size limit achievable — a correctly sized photo usually lands inside the range with quality to spare.

  4. Step 4: Compress to just under the limit

    Use a target-size mode and set it a few per cent below the stated maximum. If there is a minimum too, check the result clears it — some portals reject a file for being too small as readily as too large.

Details worth knowing

Why the order matters so much

People usually try to compress the full-resolution photograph down to 100 KB and are disappointed by the result. That is the wrong operation.

At 4000 × 3000 pixels, a 100 KB budget gives the encoder roughly one byte for every 120 pixels, and the result is a blocky mess. At 600 × 600 — which is what the form actually wants — the same 100 KB is enormously generous, and the photograph looks clean.

Resize first. The size limit stops being a fight almost immediately.

Aim under the limit, not at it

There are two definitions of a kilobyte in circulation — 1000 bytes and 1024 — and a file that measures 99 KB by one reading measures 101 KB by the other. Portals do not tell you which they use.

Targeting a few per cent under the maximum removes the ambiguity. If a form says 100 KB, aim for 95.

Where a range is specified, such as 20–50 KB, aim for the upper-middle rather than the very top. Some systems also enforce a minimum, on the reasonable basis that an unreadably small photograph is not usable as identification.

Things that get applications rejected

  • Wrong dimensions. The most common cause, and usually checked automatically before anything else.
  • Wrong format. Many portals accept JPEG only. A PNG renamed to .jpg will be rejected — the file's contents are what is inspected, not its name.
  • Over-compressed. Push far enough and the face loses definition; some systems run automated quality checks.
  • Wrong background or head position. Not a compression problem, but the most common reason a technically valid file is refused.
  • A photo of a printed photo. Frequently detected and rejected.

Why not to upload an identity document to a random website

A passport photograph is identity data. Uploading it to a compression service means a copy exists on infrastructure you cannot inspect, governed by a retention policy you are taking on trust.

Every tool on this site processes files in your browser. The photograph is read from your device into the memory of the tab, resized and re-encoded there, and written back — no upload endpoint is involved at any point. You can verify it by loading the page, disconnecting from the network, and compressing the photo anyway.

Whatever tool you use, that is the property worth checking before you hand over a document photograph.

Do it here instead

These run in your browser on any device, so nothing is uploaded and there is nothing to install.

  • Resize image

    By pixels or percentage, aspect ratio locked, across a whole batch.

    Open the tool
  • Remove EXIF data

    Strip GPS coordinates, camera model and timestamps before you publish.

    Open the tool

Questions

Frequently asked questions

Every answer below is present in the page source, expanded, so it can be read without opening anything.

What size should a passport photo be?

It depends entirely on the authority — requirements differ by country, by document type and over time. Read the specification on the form you are actually submitting rather than trusting a general figure. The method on this page works whatever the numbers turn out to be.

Why does my photo look terrible after compressing it?

You almost certainly compressed before resizing. Squeezing a full-resolution photograph into 100 KB gives the encoder nothing to work with. Crop and resize to the required pixel dimensions first, and the same limit becomes generous.

The form wants between 20KB and 50KB. How do I land in range?

Set your target to around 45 KB. Target-size mode finds the highest quality that fits under your number, so the result sits just below it — comfortably inside the window without brushing either edge.

Can I rename a PNG to .jpg?

No. Upload systems inspect the file's contents, not its extension, and a renamed file is rejected — sometimes with a misleading error. Convert it properly to JPEG instead.

Is it safe to compress a passport photo online?

Only if the tool does not upload it. Most online compressors send your file to a server, which means a copy of your identity photograph exists somewhere you cannot audit. The tools here run entirely in your browser — nothing is transmitted, which you can confirm by disconnecting from the network after the page loads.

Should I remove the metadata?

It does no harm and saves a few kilobytes, which can help at very tight limits. It also removes the GPS coordinates of wherever the photograph was taken, which is generally worth doing before uploading anything to a third party.

From the blog

Related reading

More background from the blog.

  • Practical Guides

    How to Strip EXIF Data From Photos, and What Breaks When You Do

    A photograph from a phone can carry the coordinates of the place it was taken, the camera serial number and the exact timestamp. Removing that data is straightforward. Removing it carelessly rotates your photos sideways.

    9 min read

  • Image Compression

    JPEG Quality Settings Explained: What the Number Actually Means

    Quality 80 is not 80% of anything. It is an index into a quantisation table. Measured on one photograph: dropping from 100 to 90 removes 77% of the file and 4.2 dB of fidelity; dropping from 40 to 30 removes 17% and costs almost as much.

    8 min read

  • Practical Guides

    How to Compress Images for a Website Without Wrecking Them

    Resize before you compress. Measured on one photograph: half the width at quality 80 produced a 16.4 KB file, while full width at quality 40 produced 20.6 KB and looked far worse. The order of operations matters more than the settings.

    8 min read