How-to
How to Compress a Passport Photo and Signature for an Online Form
Fix photo and signature upload errors for job, exam and admission forms. Check the size range, JPG format and pixels, then compress each file in your browser.
Getting a “file size too large” error while applying for a job, exam or university place? Make two separate files: a passport-style photo for the photo field and a cropped image of your handwritten signature for the signature field, if the form asks for one. Each field may have a different size, format and pixel rule. You can compress both images in your browser, one at a time, after copying those rules from the application.
Check the upload rules before choosing a kB target
Do not assume every FPSC, PPSC, NTS or university form uses a 50 kB photo and a 20 kB signature. Published instructions differ:
| Example source | What its photo instructions say | What to do |
|---|---|---|
| FPSC general recruitment guide, September 2025 | Recent passport-size JPG/JPEG, less than 30 kB | Choose a target below 30 kB; a 50 kB result would be too large. |
| NTS candidate portal manual | Passport-size profile photo, blue or white background; images up to 5 MB | Check the live portal and the specific project instructions before shrinking it unnecessarily. |
| University of the Punjab admission manual | Latest photograph, 200 kB maximum in the illustrated admission flow | Verify the limit on the current admissions form, because this manual shows an earlier flow. |
Those examples are photo rules. They do not establish a signature limit for the same portals. If your application has a signature field, read its own instructions. A field might state a maximum only, or a range such as 10–20 kB. The lower bound matters: a 7 kB file would fail a 10–20 kB range.
Write down the accepted format, minimum and maximum size, pixel dimensions, and any background or crop rule for each field. “350 × 350 pixels” is a dimension, not a file size. A picture can meet the kB cap and still have the wrong dimensions.
Prepare the photo and signature
For the photo, start with a recent, sharp original and follow the form’s instructions for face position and background. Crop away excess surroundings, keeping the required head and shoulders in view. Do not stretch the face to reach a pixel size. If the form asks for exact pixels, crop to roughly the right shape before resizing. Our passport photo pixel guide explains the difference between print size and upload dimensions.
For the signature, sign on plain paper using the ink specified by your form. Photograph or scan it straight on, then crop away most of the blank page while leaving a small margin around every stroke. A whole sheet makes a tiny signature harder to read after compression. Keep the original of each image so you can make a fresh export if another application has different rules.
Compress each image to its own limit
- Open the Mb2KbSizer image compressor. Set Target file size to a value inside the field’s allowed range, with some room below its maximum. For a maximum-only 50 kB photo field, 48 kB is a reasonable starting point; for a 10–20 kB signature range, try 16–18 kB and verify that the download stays above 10 kB. These are examples, not portal rules.
- Open Format & dimensions. Set Output format to JPG / JPEG if the field requires it. Select Exact width × height (crops edges) only when the form specifies exact pixels, then enter those pixels. A centred exact crop can cut off part of a face or signature, so inspect the result. Otherwise leave Keep original dimensions selected.
- Drop or choose the photo. Compression starts when the file is selected. If you change a setting afterwards, click Compress again with these settings. Use the comparison slider to check the eyes, hairline and edges; then download the result.
- Select Compress another image, enter the signature’s own target and dimensions, and repeat. Check that every thin stroke is present and readable before downloading. Give the two files distinct names, such as
photo.jpgandsignature.jpg.
Choose JPG explicitly for a JPG-only portal. The tool’s Auto setting can retain WebP when the original is WebP, and a portal may reject that format. Also, if a JPG already fits the target and needs no resize, the tool may return the original unchanged. Confirm the downloaded file’s actual format, dimensions and size rather than assuming an export changed them.
Mb2KbSizer processes images on your device, inside your browser. Your photo and signature are not sent to Mb2KbSizer’s server for compression. They are sent to the application service when you upload them to its form.
If the upload still says “invalid file”
- Too large: Check the downloaded file, not the camera original. If the portal says less than 30 kB, use a target comfortably below 30 kB rather than aiming at the boundary.
- Too small: If the form has a minimum, return to the sharp original and try a larger target within the range. The compressor does not add bytes simply to hit a minimum.
- Wrong format: Selecting JPG makes a real JPG export when the image is re-encoded. Renaming a
.pngor.webpfile to.jpgdoes not convert it. - Wrong pixels or crop: Compare the downloaded width and height with the form. Exact resize crops edges to fit the ratio; recrop the original if it clipped the face or signature.
- Wrong field or file: Check that you selected the new download for the correct applicant and upload slot. Some portals give the same generic error for several failed checks.
The signature guide covers narrow size ranges in more detail, and the upload rejection checklist helps when a file appears to satisfy the kB limit but the form still refuses it.
- #passport photo
- #signature image
- #online form
- #FPSC
- #NTS
- #JPG
- #image compression
Naveed
I build and test the compressor on this site and write practical guides around the file-size problems it solves. Portal limits are checked against official notifications and dated when I review them. About us
Good to know
Frequently Asked Questions
What size should my passport photo and signature be for an online form?
There is no shared limit. For example, FPSC's September 2025 general recruitment guide asks for a passport-size JPG/JPEG photo below 30 kB, while the NTS candidate manual allows images up to 5 MB. Read the current instructions for each field before choosing a target.
Can I use 50 kB for a photo and 20 kB for a signature?
Only if your form accepts those sizes. A 50 kB photo would exceed the limit in the FPSC example, and a form with a minimum size may reject an over-compressed signature. Treat 50 and 20 kB as example targets, not universal rules.
Why does the form reject an image that is under its size limit?
Check the file's format, minimum size, pixel dimensions, background, and the upload field you selected. A PNG can fail a JPG-only field, and a file below a stated minimum can fail despite being under the maximum.
Are my photo and signature uploaded to Mb2KbSizer?
No. The image compressor processes the files in your browser on your device. The application portal receives your finished files only when you upload them there.
How do I compress an image using Mb2KbSizer?
Three steps, usually under a minute.
- Add your photo. Drag it onto the upload box, tap browse to pick it from your gallery, or paste it from the clipboard with Ctrl/Cmd + V.
- Set the target. Type a number and choose kB or MB, or tap a quick chip from 20 to 350 kB. On a preset page the field is already filled in. If a form demands exact pixel dimensions, set them in the resize option.
- Press Compress, then Download. You get a before/after slider, the output dimensions, the quality used and the exact byte count, so you know it will pass before you submit it.
Is it safe to upload my images to Mb2KbSizer?
Strictly speaking, you never upload anything. When you choose a file, the browser reads it from your device and does the resizing and re-encoding in a background worker on that same device. No copy travels to our server or to anyone else's; the only thing our server sends you is the page. A useful side effect is that the browser rebuilds the image from its pixels alone, so EXIF data such as the camera model, the date taken and the GPS location is dropped from the output. That makes the compressed photo safer to share than the original you started with.
What is Mb2KbSizer and what does it do?
Mb2KbSizer is a free image and PDF compressor that runs inside your web browser. You pick a file, type the size you need, such as 100 kB, and it shrinks the file to land at or just under that number. Most people use it for upload forms that reject big files: exam registrations, passport and visa applications, job portals, bank KYC and college admissions. It is just as handy for lightening photos before you email them or put them on a website. There is a [single-image tool](/), a bulk compressor for up to 200 photos at once, and a PDF compressor, all built on the same no-upload principle.
Ready to Compress Your Images?
Enter the limit from your form and choose JPG when the form requires it.