Compress image to under 2MB

Not more than 2 MB for each image. If the quality would become too low, the dimensions are reduced in proportion. Supporting document copies for online HKSAR passport applications (such as a birth certificate or a parent's identity document): JPEG, GIF or TIF, 2 MB or below for each file. Up to 50 images can be processed at once.

Choose a requirement (completed)

Up to 2 MBNot more than 2 MB

Please choose the requirement of the website where you will upload the file. If it is not listed, choose “Custom” and enter the size in step 3.

File size

Name

Photographs for exam forms and identity documents must be cropped to size with the correct background. Please use the passport size photo maker.

Upload images (current step)

You can also drag images here.

You can choose up to 50 images at a time. Supported formats: JPG, PNG, WebP, HEIC, GIF, BMP, AVIF.

Set file size and dimensions

File size

The maximum is 2 MB. Leave a box blank for no limit.

Format
Dimensions

The original width and height are kept.

Check and download

After you upload images, check each requirement here and download.

Official requirements

The tool above has been set to these requirements.

What to upload
Supporting document copies
File size
Not more than 2 MB
Dimensions
Not specified
Format
JPEG, GIF or TIF
Other rules
  • Supporting document copies for online HKSAR passport applications (such as a birth certificate or a parent's identity document): JPEG, GIF or TIF, 2 MB or below for each file.
  • PDF and PNG files are not accepted for supporting documents, so export JPEG.
Source
Last checked: October 2026

2 MB and pixel dimensions

For the same file size, the more pixels an image has, the less data each pixel gets and the lower the quality. The table below counts 1 KB as 1000 bytes. For the two ways of counting KB, please see the explanation by National Institute of Standards and Technology (NIST).

DimensionsPixelsData per pixel
640×4803,07,20052.08 bits
1280×96012,28,80013.02 bits
2048×153631,45,7285.09 bits
4000×30001,20,00,0001.33 bits

How to use

  1. The tool above has selected “Up to 2 MB” in step 1 and filled in the file size, format and dimensions in step 3.
  2. Upload your images in step 2. You can choose several at once, or drag them into the upload box.
  3. In step 4, check the result for file size, dimensions and format. If an item is invalid, change the settings in step 3 as explained below the image.
  4. Download the image. Several images are downloaded together as one ZIP file. Then upload the file to the website.

Common reasons for upload failure

  • File larger than 2 MB: some websites count 1 KB as 1000 bytes and others as 1024 bytes. This tool uses the stricter 1000 bytes, so the file is within the limit either way. If an image with many pixels is still too large at 50% quality, this tool reduces its dimensions in proportion. If you have unticked “Reduce dimensions if the file is too large”, please tick it again.
  • Wrong format: this website accepts only JPEG, GIF or TIF. Please choose that format in step 3. HEIC photographs from an iPhone are converted to the chosen format.