HEIC to JPG (local)
Apple HEIC/HEIF to JPEG, entirely in your browser. libheif-js (LGPL-3.0) loads when you press Convert to JPG. See Licenses.
Guide: iPhone HEIC to JPG for email and forms (orientation and quality). Windows cannot open the file: HEIC on Windows. Unlimited, no account — convert is not part of the background-removal limit.
Related tools: Compress to KB · Remove EXIF · Remove background · Remove watermark.
or click to choose · stays on this device
Decoder: libheif + libde265 via libheif-js 1.23.5 (LGPL-3.0). You may replace the shipped WASM; rebuild notes and written source offer: /licenses/libheif-wasm-source/.
Steps
- Drop a
.heicor.heiffile, or click the zone and choose one. Convert to JPG stays disabled until a file is chosen. Choosing a file only reads it into this tab. - Leave JPEG quality at 92 unless you already plan a second pass for size. The slider runs from 40 to 98. This page does not aim at a KB cap.
- Press Convert to JPG. The first run downloads libheif-js 1.23.5 (1,463,506 bytes) from
/assets/libheif/. You can cancel during that download. The photo is not in the request. Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. - Read the preview and the status line. The status prints the JPEG size in KB and the quality you used. Only the first image is encoded. If the still is sideways, rotate it in another local editor. This page does not promise to bake every rotation tag into the pixels.
- Download the JPG. The name is the original file name with
.jpg. If a form then names a kilobyte cap, open Compress to KB and type that number. Order notes: HEIC, then cutout, then JPG.
How it works
Choosing a file only reads it into the tab. Decode starts when you press Convert, which loads libheif-js 1.23.5 from /assets/libheif/ (1,463,506 bytes, about 1.4 MB). It is not fetched on first paint. libheif and libde265 are LGPL-3.0. Notice and source offer: Licenses.
Before decode, the page reads the ISO-BMFF brand. Accepted brands are heic, heix, hevc, hevx, mif1, and msf1. The first image becomes RGBA on a canvas, then a JPEG. The slider runs from 40 to 98 and starts at 92. The download is a blob: URL. The photo is not posted. The request you may see is the decoder. Cancel during that fetch stops it.
A concrete pass: an iPhone still named IMG_1234.HEIC will not open in an older Windows Explorer or in a portal that only lists JPG. Drop it here, leave quality at 92 unless you have a reason to move it, press Convert, and download the JPG. Check the preview for sideways rotation before you attach it. If the form then says “under 200 KB”, open Compress to KB and type 200 — this convert page does not search a size target.
Remove background and Compress cannot read HEIC. Convert here first. The order is HEIC, then cutout, then JPG. Windows that will not open the original is HEIC on Windows. Orientation and quality notes for mail and forms are in iPhone HEIC to JPG. AVIF saved from a browser is a different decoder path: AVIF to JPG.
Skip this page when the still is already JPG/PNG the portal accepts, or when you only need a smaller JPG you already have — that is Compress to KB. If you need a transparent subject after convert, the order is convert here, then Remove background, as in HEIC, then cutout, then JPG. Painting a date stamp after convert is Remove a mark.
What the status line says
The line under the buttons is the result. These are the sentences the page writes. The kilobyte figure is blob.size / 1024, one decimal place. None of these lines means the HEIC was posted.
- Before a file. “Waiting for a file. The ~1.4 MB libheif WASM loads on demand when you press Convert to JPG.” Convert to JPG stays disabled.
- After you choose a file. “Ready: ” plus the file name. The button enables. The decoder is still not requested.
- While the first run fetches the decoder. The overlay can read “Preparing…”, then “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 WASM, and {got} climbs as those bytes arrive. A cached decoder skips the download line. Cancel during that fetch sets the status to “Cancelled. The photo was not uploaded.”
- After a successful convert. “Converted: {n} KB JPEG (quality {q}). Decoder: libheif-js (LGPL) — see /licenses/.” {n} is the JPEG size. {q} is the slider, from 40 to 98, starting at 92. The download name is the original name with
.jpg. - The decoder file did not arrive. 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”. That URL is the decoder, not the photo. Retry where
/assets/libheif/can load. - The tab ran out of memory. “Not enough memory to decode this HEIC. Try a smaller image or close other tabs.” A 48 MP still is the usual case. Convert it on a desktop.
- The brand, the codec, or the size was refused. “This file does not look like a supported HEIC/HEIF still, or decoding failed. Try another export from your camera/Photos.” That is also the line for a side of 0 or a side over 16384 px: the page rewrites the dimension error into this sentence. Accepted brands stay heic, heix, hevc, hevx, mif1, and msf1. A libheif codec miss can instead read “HEIC decode failed inside libheif. The file may use an unsupported codec variant.” The bytes stay on disk.
- The browser could not read or paint. “Could not read the file into memory.” or “Canvas 2D unavailable in this browser.” or “JPEG encode failed”. There is still no upload.
Limits
- One still. A Live Photo’s motion is a separate movie. This page converts the HEIC or HEIF frame, not the paired video.
- First image only. A burst or a multi-image HEIC does not become a folder of JPGs. Image number one is the one that is encoded.
- 16384 px on a side. Wider or taller frames are rejected before encode.
- Some HEIC files fail locally. 10-bit stills and other brands stop inside libheif with an on-page error. Export a JPEG from Photos, or try another still.
- Rotation can live beside the pixels. If the preview is sideways, fix that locally before you attach the file.
- Memory. A 48 MP still can exhaust a phone tab. Convert on a desktop if it does.
- JPEG only. There is no PNG or WebP encoder on this page.
- Size after convert is a second tool. Quality 92 can still miss a tight KB cap. Use Compress to KB when the form named a number.
- No account and no cutout quota. HEIC to JPG does not spend the background-removal allowance and does not require Pro.
FAQ
Does my HEIC leave the device?
No. libheif-js loads when you press Convert to JPG, and decode stays in the tab. Choosing the file does not upload it and does not start the decoder. Your photo is not posted to LocalPix. Verify local · 0-byte upload proof.
Why might the JPG look sideways?
Some HEIC files store rotation separately. Check the preview before you attach it. Notes: iPhone HEIC to JPG.
The JPG is still too big for a form.
Quality defaults to 92. For a named cap, run the JPG through Compress to KB. 100 / 200 / 500 KB.
Can I convert a Live Photo?
This page converts the still HEIC or HEIF frame. It does not export the Live Photo motion clip or the paired video. If the camera saved a still HEIC, that still converts. A video attachment needs a video tool, not this page.
Do I need Pro for HEIC?
No. HEIC to JPG does not use the background-removal quota and does not require Pro. Conversion stays unlimited.
Which HEIC brands does this page accept?
heic, heix, hevc, hevx, mif1, and msf1. Anything else stops with an on-page error. The file is not sent off to be identified.
What is the file that downloads when I press Convert?
libheif-js 1.23.5, 1,463,506 bytes, from /assets/libheif/. It is the decoder, cached in the browser after the first successful load. It is not a copy of your photo.
Does choosing a file download the decoder?
No. Choosing a file only reads it into the tab. libheif-js downloads when you press Convert to JPG, and only if this browser has not already cached it. Cancel during that fetch stops it. The photo is not in the request.
Sources
- strukturag/libheif — the HEIF decoder this WASM build wraps. LGPL-3.0.
- catdad-experiments/libheif-js — the 1.23.5 browser build LocalPix hosts under
/assets/libheif/. - Nokia HEIF technical notes — how a HEIF still is boxed, which is the family iPhone HEIC uses.
- Apple: HEIF and HEVC media — why an iPhone camera roll is often HEIC.
- HTMLCanvasElement.toBlob() on MDN — the canvas encode that writes the JPEG after libheif paints the bitmap.