DEV Community

zjch022
zjch022

Posted on

Convert iPhone HEIC Photos to JPG Before Uploading to a Government Portal

Government portals are the least forgiving upload forms you will ever meet. A tax filing, a permit application, a benefits claim: the form lists accepted formats — usually JPG or PDF — and if your file is not on the list, the upload simply fails. There is no helpful error message, no automatic conversion, and often no second chance before a deadline.

That is exactly where iPhone photos cause trouble. Since iOS 11, iPhones save photos as HEIC by default. HEIC files are smaller and look great on the phone, but most government portals were built before HEIC existed and never added support for it. You tap "upload," pick a photo, and nothing happens — or you get a flat "unsupported file type" rejection.

Check what the portal actually accepts

Before you convert anything, read the upload instructions on the portal page itself. Look for three things:

  1. The accepted formats (JPG is almost always listed; HEIC almost never is).
  2. The maximum file size per document.
  3. Whether the portal wants a photo, a scan, or both.

If the portal accepts JPG and your photo is HEIC, conversion is the whole fix. Do not rename the file from .heic to .jpg — that only changes the label, not the file inside, and the portal will still reject it.

Convert first, then upload

The safest way is to convert the photo in your browser before you touch the portal form. A browser-local converter processes the file on your own device: nothing is uploaded to a server, which matters when the photo is an ID document, a property photo, or anything else you would not want sitting on a stranger's server.

To convert HEIC to JPG for government portals, open the converter, pick your HEIC photos, and download the JPG versions. Then check two things before uploading: the downloaded file ends in .jpg, and it opens normally in your photo viewer. That thirty-second check saves you from discovering a bad file after you have already filled in a long form.

Why local conversion fits this scenario

Government uploads are often sensitive by nature. A tool that uploads your photo to a server to convert it adds a copy of your document in a place you cannot control. A browser-local tool never sends the file anywhere, needs no account, and leaves no copy behind. For a one-off portal upload, that is the right trade-off: you get a standard JPG, and your document never leaves your device.

A short checklist before you submit

  • Confirm the portal accepts JPG.
  • Convert each HEIC photo to JPG and verify the download opens.
  • Keep the original HEIC files untouched, in case you need them later.
  • Upload the JPG versions, and confirm the portal shows a preview or a success message for each file.

Portal deadlines are stressful enough without a file-format rejection at the last step. Converting HEIC to JPG first turns a confusing failure into a routine upload.

Disclosure: I'm the developer of FileOnTap.

Top comments (0)