Guide · HEIC

Convert an iPhone HEIC to JPG for email and forms

Windows mail, older portals, and many school or visa forms still reject HEIC. Decode the still in your browser, check orientation and quality, then attach the JPG.

iPhone camera photos default to HEIC (HEIF). That file is smaller on the phone and awkward everywhere else: Outlook, a university portal, or a PDF form that says “JPG only.” LocalPix HEIC to JPG decodes the still with libheif-js WASM (LGPL-3.0), loaded when you press Convert to JPG, then encodes JPEG on a canvas. Nothing is posted to a LocalPix upload API.

What to convert — and what to skip

Steps

  1. On the iPhone, share or AirDrop the photo as the original HEIC (not “Most Compatible” if you already have a JPEG you are happy with). Copy it to the computer you will submit from.
  2. Open HEIC to JPG. Convert to JPG stays disabled until a file is chosen. libheif does not download when the page opens or when you pick the file. Optional proof: Verify local.
  3. Drop the HEIC and press Convert to JPG. The decoder is libheif-js 1.23.5, 1,463,506 bytes, from /assets/libheif/. It is cached after the first convert. The HEIC is not inside that download.
  4. The JPEG quality slider runs from 40 to 98 and starts at 92. Leave it at 92 unless the form is already near a size cap. The preview is the file you will send. A sideways preview needs a local rotate before you attach it.
  5. Download the JPG. The name is the original file with .jpg on the end, from a local blob: URL. Attach that file, not the HEIC. A named KB cap is a second step on Compress to KB.

Pitfalls

How it works

On the iPhone, Settings, Camera, Formats chooses what a new shot will be. High Efficiency stores a HEIF still. Most Compatible stores a JPEG. HEIC to JPG is for a file that is already HEIC. If Photos can hand you a JPEG you are happy with, you do not need this page. iCloud’s “Most Compatible” download is Apple’s convert. This one runs in the browser you are submitting from, after the file is already on that machine.

The page reads the ISO-BMFF brand before decode. Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. Anything else stops on the page. The file is not sent away to be identified. On Convert, libheif-js 1.23.5 loads from /assets/libheif/. The WASM is 1,463,506 bytes, LGPL-3.0. It is cached after the first run. The HEIC is not inside it. The first image becomes RGBA on a canvas, then a JPEG. Further images in the same container are dropped. A Live Photo’s paired movie is dropped. The slider runs from 40 to 98 and starts at 92. The download is a blob: URL named from the original file, with .jpg on the end.

Rotation is the failure people email. Some HEIC files keep the orientation beside the pixels. Trust the preview. If it is sideways, rotate in a local editor and export JPEG again. A form will not fix that for you. Quality 92 is a sharp still and a large file. A portal that says 200 KB will reject it. Prefer one pass through Compress to KB over several blind trips down the slider. Compress does not decode HEIC, so the order is fixed. Screenshots on iOS are usually PNG, not HEIC. They skip this tool. A 10-bit or unusual still that libheif cannot decode errors on the page. The bytes have not been uploaded. iCloud already having a copy, if you use iCloud Photos, is a separate fact. This convert does not add a second upload.

Limits

FAQ

Does my HEIC leave the device?

No. Decoding runs in the browser after you press Convert to JPG. Choosing the file does not upload it and does not start libheif. Watch Network: libheif under /assets/libheif/ may load on that press; your photo should not POST to the LocalPix origin. Steps: Verify local.

Why is the JPG sideways?

Rotation is sometimes stored beside the pixels. Trust the preview, not the filename. Fix orientation locally before you attach it to email or a form.

What quality should I pick?

Start at 92. Drop it only when the recipient named a KB cap, and prefer one pass through Compress to KB over several blind re-exports.

I already set the iPhone to Most Compatible. Do I still convert?

Only if the file you are holding is still HEIC. Most Compatible makes new shots JPEG. Older shots in the camera roll can remain HEIC.

The page names a brand and stops.

Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. The file stays on disk. Export a JPEG from Photos, or try another copy of the still.

Will this also shrink the photo under 200 KB?

Not on this page. Quality 92 keeps the pixel size. Run the JPG through Compress to KB and type 200 if that is the cap. One compress pass is enough.

Sources

Related

HEIC to JPG · Compress to KB · Email attachment caps · ID photo background · Verify local

Related guides