Fairsize

PNG renamed to JPG: why the portal still says no.

Updated 5 November 2026. Every number links to its official source below.

The short answer

A file's type is set by what is inside it, not by its name. Renaming photo.png to photo.jpg leaves a PNG with a .jpg name, and a portal that checks the contents can refuse it. Save or export the photo as a real JPEG instead. Some forms accept PNG, so check your form's file type first.

What is inside a file

Every image file starts with a few fixed bytes that name its type. A PNG starts with 89 50 4E 47, which spells PNG. A JPEG starts with FF D8 FF. The name after the dot is only a label.

A portal that reads those first bytes sees a PNG whatever the name says. The file checker here does the same, so it tells you the real type.

Which forms want a real JPEG

FormFile type the official page names
US visa (DS-160) and DV lotteryJPEG
India e-Visa photoJPEG
OCI photo and signatureJPEG or JPG
Canada passport online renewal.jpeg or .jpg
NZeTA photoJPG or JPEG
Korea K-ETAJPG
Vietnam e-visaJPG or JPEG
China visa onlineJPEG

The US online passport renewal accepts JPG, PNG, HEIC or HEIF. Japan eVISA accepts JPG, PNG, GIF, BMP or HEIC for the photo. ACT accepts JPG, JPEG, PNG or BMP. The UK page does not name a file type for digital photos.

How a PNG gets a .jpg name

  • A screenshot or a design app saves as PNG, and the name is changed by hand.
  • A website offers a download named .jpg but serves another format.
  • A phone photo is HEIC and the name is changed. That is a different format again.

How to fix it

  1. Run the file through the checker for your form. It shows the real type, not the name.
  2. If the type is wrong, add the photo to the tool for your form, or to the resize to KB tool. They save a new JPEG from the picture, so the contents match the name.
  3. Check the size and shape again. A new JPEG can come out bigger or smaller than the PNG.

Official sources

Rules change. If the official page differs from this summary, follow the official page, and tell us so we can fix it. Every check is listed in the rules log.

Questions

Can I just rename the file?

No. Renaming changes the label only. The bytes inside are still a PNG, and a portal that reads them will see that.

Does the US online passport renewal accept PNG?

Yes. The page lists JPG, PNG, HEIC or HEIF files between 54 KB and 10 MB.

Will converting to JPEG hurt the photo?

JPEG is lossy, so a very small file loses detail. Keep the quality as high as the size limit allows. The tools pick the best quality inside your range.