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
- Camera stills named
.HEICor.HEIF— this tool. - Screenshots — iOS screenshots are usually PNG, not HEIC. Use Compress to KB or the PNG email guide instead.
- Live Photos — the still is the HEIC; the motion is a separate movie. Convert the still only.
- Already a JPEG — do not run it through HEIC decode. If it is only too large, go to attachment KB caps.
Steps
- 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.
- 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.
- 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. - 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.
- Download the JPG. The name is the original file with
.jpgon the end, from a localblob:URL. Attach that file, not the HEIC. A named KB cap is a second step on Compress to KB.
Pitfalls
- Orientation. Some HEIC files keep rotation in metadata rather than in the pixel buffer. If the preview is sideways or upside down, do not submit it. Rotate in any local editor and export JPEG again. A form that auto-rejects “wrong aspect” will not fix this for you.
- Quality vs size. 92 is sharp enough for most ID-style stills and too big for a 200 KB portal. Lower the slider only a little, or pass the JPG through Compress to KB and read the size the tool reports. Re-encoding twice softens text and hair.
- Rare HEIC variants can fail to decode (10-bit, unusual brands, or a file that is not a still). You get an on-page error — the bytes still have not been uploaded. Try another export from Photos, or a JPEG the phone already saved.
- Privacy of the phone backup is separate. iCloud already has the photo if you use iCloud Photos. LocalPix does not add a second upload. See Licenses for the libheif notice.
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
- Brands outside the six listed above fail locally. There is no server identify step.
- The first still only. Live Photo motion and extra frames in the container are not in the JPG.
- The slider is 40 to 98, default 92. It does not target a kilobyte cap. Compress to KB does, from 10 to 5000, without changing pixel size.
- Orientation metadata can leave a sideways preview. Fix that before you attach the file.
- Output is JPEG only. No PNG, no WebP, no account, and no use of the background-removal quota.
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
- Apple: Using HEIF or HEVC media — High Efficiency versus Most Compatible, and why an iPhone still is often HEIC.
- strukturag/libheif — the decoder. LGPL-3.0. The notice is on the licenses page.
- libheif-js — the 1.23.5 WASM build, 1,463,506 bytes, loaded after you press Convert.
- Nokia HEIF technical notes — brands and the still image inside the box. The motion half of a Live Photo is not this file.
- JPEG on jpeg.org — the file the form actually receives.
Related
HEIC to JPG · Compress to KB · Email attachment caps · ID photo background · Verify local