This is the “I cannot open the attachment” case, not the “shrink it for a form” case. HEIC to JPG loads libheif-js (LGPL-3.0, 1,463,506 bytes) when you press Convert to JPG, not when you pick the file. Default JPEG quality is 92. Check the preview: some HEIC files store rotation beside the pixels, so a sideways JPG is a metadata issue, not a Windows bug.
You do not need an account. Convert and compress are not part of the background-removal quota. If the recipient then names a size, run the JPG through Compress to KB. Caps of 100, 200, and 500 KB are already covered in attachment caps. A portal that says about 1 MB is a separate target.
Steps
- Save the HEIC from Mail, iCloud, or AirDrop onto the Windows machine. Do not email it to a conversion website, and do not install a codec pack for this path.
- Open HEIC to JPG in Chrome or Edge. Choose the file. Convert to JPG stays disabled until then. libheif downloads when you press Convert, not when the page first loads.
- Check the preview and the status line. Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. Only the first still is encoded. If the preview is sideways, rotate it locally before you send the JPG on.
- Download the JPG. The name follows the original file, with
.jpgon the end. If a later step names a KB cap, open Compress to KB and type that number on this JPG. Compress does not decode HEIC.
How it works
Windows Photos often answers a .HEIC attachment with a request to install HEIF Image Extensions. That is a codec for the Photos app. HEIC to JPG is the other path: leave the file on disk, open this site in Chrome or Edge, and decode it in the tab. You do not install a codec pack, and you do not email the picture to a conversion site.
The page reads the ISO-BMFF brand before it decodes. Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. Anything else stops with an on-page error. The file is not sent off to be identified. On Convert, the page fetches libheif-js 1.23.5 from /assets/libheif/. The WASM is 1,463,506 bytes, LGPL-3.0, and it stays in the browser cache. The HEIC is not inside that request. The first image in the file becomes pixels on a canvas. Later images in a multi-image HEIC are not exported. A Live Photo’s motion clip is not exported. The JPEG slider runs from 40 to 98 and starts at 92. The download name follows the original file name, with .jpg on the end, from a blob: URL.
Some HEIC files store rotation beside the pixels. A sideways preview is that metadata, not a Windows display bug. Rotate locally and export again before you send the JPG on. The converter writes JPEG only. There is no PNG or WebP button, and there is no encoder back to HEIC. If the next step is a named size, run that JPG through Compress to KB. Compress does not decode HEIC itself, which is why the Windows “I cannot open it” step has to finish first. Remove background has the same limit. No account is required for the convert. It does not spend the background-removal allowance.
What the status line says
On Windows the Photos app and this page fail differently. Photos asks for a HEIF extension. HEIC to JPG writes one of these sentences and leaves the file on disk.
- After you choose the attachment. “Ready: ” plus the file name. Convert to JPG was disabled until then. The ~1.4 MB decoder has not been requested yet.
- A cold first press. The overlay can read “Downloading decoder {got} / 1.5 MB…”, then “Preparing the decoder…”, then “Converting HEIC…”. 1.5 MB is the decimal size of the 1,463,506-byte file under
/assets/libheif/, and {got} climbs as it arrives. A cached decoder skips that line. The request is the decoder, not the photo. Cancel sets “Cancelled. The photo was not uploaded.” - Success. “Converted: {n} KB JPEG (quality {q}). Decoder: libheif-js (LGPL) — see /licenses/.” {q} starts at 92. The download name follows the original file, with
.jpgon the end. Attach that JPG. Windows Mail can still refuse the original HEIC. - The WASM did not load. A failed fetch reads “Could not load the HEIC decoder (libheif WASM). Check your network or try again.” A response that is not OK reads “Could not download /assets/libheif/libheif.wasm?v=1.23.5”. A content blocker on
/assets/libheif/causes this. The picture was not uploaded as a workaround. - The phone still is too large for the tab. “Not enough memory to decode this HEIC. Try a smaller image or close other tabs.” Close other Chrome tabs, or export a smaller JPEG from the phone.
- The box is not a still this page accepts. “This file does not look like a supported HEIC/HEIF still, or decoding failed. Try another export from your camera/Photos.” A side over 16384 px is rewritten into that same sentence. A codec libheif refuses can instead read “HEIC decode failed inside libheif. The file may use an unsupported codec variant.” Export a JPEG from Photos. Do not install a codec pack to feed this page.
Limits
- Brands outside heic, heix, hevc, hevx, mif1, and msf1 fail in the tab. The bytes are not uploaded for a second opinion.
- Only the first still is converted. Live Photo motion and extra images in the same container stay behind.
- Quality starts at 92 and the slider stops at 40 and 98. A portal cap is a separate compress step, 10 to 5000 KB, and that step does not resize.
- A sideways preview has to be fixed locally. This page does not promise to bake every rotation tag into the pixels.
- The WASM download is the decoder, once, about 1.4 MB. It is not a copy of the photo.
FAQ
Does the HEIC get uploaded so Windows can read it?
No. libheif runs in the tab. Network may show the WASM under /assets/libheif/. It should not show your photo posted to LocalPix. Verify local.
Can I turn the HEIC into a PNG or WebP here?
No. This converter writes a JPEG. There is no JPG to WebP or AVIF encoder on this site.
The cutout tool will not take the HEIC.
Remove background and Compress do not decode HEIC. Convert to JPG first, then open the JPG. Order of steps.
Do I have to buy the HEIF extension from the Store?
Not for this path. Chrome or Edge plus libheif in the tab writes a JPG. The Photos app may still want the extension if you insist on opening the HEIC there.
The file is HEIC but the page rejects the brand.
Only heic, heix, hevc, hevx, mif1, and msf1 are accepted. The error stays on the page. Export a JPEG from the phone, or try another copy of the still.
Windows Mail still cannot preview the original.
Attach the JPG you downloaded. The HEIC you saved from Mail is unchanged, and it is still a HEIC.
Sources
- Microsoft: Photos can’t view this file type — the HEIF extension prompt this browser path avoids.
- strukturag/libheif — the HEIF decoder. LGPL-3.0.
- libheif-js — the 1.23.5 WASM build loaded from
/assets/libheif/after you press Convert. - Nokia HEIF technical notes — the box structure, and why a brand the page does not list never becomes a JPEG here.
Related
HEIC to JPG · HEIC for email and forms · All guides