HEIC to JPG
Published Updated
Convert an iPhone HEIC or HEIF photo to a JPG at the quality you choose, one photo at a time.
Expect a bigger file than the HEIC
iPhones save photos as HEIC because, as Apple's support page explains, HEIF compresses better than JPEG at the same visual quality. Turning one into a JPG trades that efficiency for compatibility, so the file normally grows. The quality slider decides by how much.
The conversion runs with heic2any, an open-source HEIC decoder that works inside the page, plus a correction for full-range files, which that decoder would otherwise stretch. The pixel size stays the same.
One HEIC at three quality settings
A 2000 x 1500 test photo saved as HEIC by macOS (152,016 bytes), converted with this tool in Google Chrome 156:
| JPEG quality | JPG size | Compared with the HEIC |
|---|---|---|
| 90 (default) | 293,519 bytes | 1.9 times larger |
| 75 | 147,576 bytes | about the same |
| 50 | 80,909 bytes | 47% smaller |
Bigger photos take longer: a 12-megapixel test HEIC needed 2.4 to 3.3 seconds to open for the preview and 2.3 to 2.8 seconds to convert in the four browser engines measured below.
JPG size and conversion time in each browser engine
The JPEG itself is written by the browser, so its size depends on the browser as much as on the slider. Two HEICs saved by macOS from generated photo-like pictures were converted with this tool in Chrome 156, Chromium 153 (Playwright build, not Google Chrome), Firefox 155 and Playwright's WebKit build (not the Safari app). Sizes are the ones on the result card.
| Picture and quality | Chrome 156 | Chromium 153 | Firefox 155 | WebKit build |
|---|---|---|---|---|
| 1,600 x 1,200, HEIC 339.3 KB: quality 100 | 1.50 MB | 1.50 MB | 1.60 MB | 1.62 MB |
| Same, quality 90 (default) | 299.5 KB | 299.5 KB | 399.4 KB | 562.7 KB |
| Same, quality 75 | 119.7 KB | 119.7 KB | 138.8 KB | 380.5 KB |
| Same, quality 50 | 52.9 KB | 52.9 KB | 67.1 KB | 130.0 KB |
| Same, quality 10 | 18.4 KB | 18.4 KB | 35.5 KB | 43.0 KB |
| 3,024 x 4,032 (12 MP), HEIC 2.09 MB: quality 90 | 1.62 MB | 1.62 MB | 2.08 MB | 3.24 MB |
| Same, quality 75 | 575.5 KB | 575.5 KB | 729.9 KB | 2.15 MB |
| 12 MP: time to the preview | 2.9 s | 2.4 s | 3.3 s | 2.4 s |
| 12 MP: time to convert at 90 | 2.6 s | 2.4 s | 2.8 s | 2.3 s |
At the default 90 this HEIC became a smaller JPG in Chrome and Chromium and a larger one in Firefox and the WebKit build, so how strongly the HEIC itself was compressed matters as much as the slider. The WebKit build's JPEG encoder keeps much more detail at the same number: its 75 gave a file about three times the size of Chrome's. If the JPG is too big, lower the slider and compare the preview.
Colours, shadows and transparency in the JPG
A test HEIC of six flat patches checks the colours. Red 220,40,40, green 40,160,70, blue 30,60,200 and grey 128 came out within 1 of those values in Chrome 156, Chromium 153, Firefox 155 and the WebKit build, as they do in the macOS decoder.
The two extreme patches did not. A near-black patch at 16 came out as 0, and a near-white patch at 240 came out as 255, in all four engines, while macOS reads 16 and 240. The decoder inside the page, heic2any, reads the file as video range (16 to 235), which stretches the levels; the tool undoes that stretch for files marked full range, but values the decoder already cut at 0 or 255 cannot be brought back. So the darkest shadows and brightest highlights of a photo can come out flatter than in Photos.
JPEG has no transparency. A HEIC with a transparent background came out with black where it was clear (0,0,0 in all four engines), because the tool does not put a background colour behind it.
| What the JPG carries | Chrome 156 and Chromium 153 | Firefox 155 | WebKit build |
|---|---|---|---|
| Colour detail (chroma) at quality 90 | Half resolution (4:2:0) | Full resolution (4:4:4) | Half resolution (4:2:0) |
| Colour detail at quality 100 | Full resolution (4:4:4) | Full resolution (4:4:4) | Full resolution (4:4:4) |
| Colour profile block | Added by the browser | None | None |
| EXIF block | None | None | A small one written by the browser |
Converting HEIC to JPG
Step 1
Add a .heic or .heif photo
A low-quality preview is decoded first, so you can see the file opened correctly.
Step 2
Set JPEG quality
The slider runs from 10 to 100 and starts at 90.
Step 3
Convert and save
The JPG keeps the photo's pixel size and the file name, with .jpg at the end.
What does not come across
- EXIF. Exchangeable image file format: a standard way to record technical details of a photo (camera settings, date and time) inside a JPEG or TIFF file, in extra segments next to the pixel data. Read the guide data: date taken, camera, lens and GPS location.
- Extra images stored in the same HEIC; the JPG holds the first.
- The HEIC compression itself: the JPG is usually larger at the default quality.
For a Lossless. Compression that can be undone exactly: the decoded file has the same pixels or bytes as the original. PNG and the plain 'repack' step of a PDF compressor are lossless, so the saving is limited to what repetition and structure allow. Read the guide copy use HEIC to PNG, which gives a much larger file. For a document, HEIC to PDF takes many photos at once.
HEIC to JPG questions
Why is the JPG bigger than my HEIC?
HEIC needs fewer bytes than JPEG for similar quality, as Apple notes. In a test, a 152 KB HEIC of 2000 x 1500 pixels became a 294 KB JPG at the default quality 90, 148 KB at 75 and 81 KB at 50.
Can I stop my iPhone from taking HEIC photos?
Yes. Apple's support page gives the steps: open Settings, tap Camera, tap Formats, then tap Most Compatible. New photos are then saved as JPEG; photos already taken stay HEIC.
Is the location and camera data kept?
No. The photo is decoded and redrawn before it is saved as JPEG, so EXIF data such as GPS coordinates, the capture date and the camera model are not in the JPG. That is useful before sharing, but keep the original if you need the date.
What if my HEIC holds more than one image?
You get the first picture only. If a HEIC holds several images, for example a burst or bracketed shot, a note under the result says how many there were.
Can I convert many HEIC files at once?
No, this page takes one photo at a time. HEIC to PDF accepts many files and puts each on its own page, if a PDF is what you need.
Why does a HEIC file fail to open here?
The decoding is done by heic2any, an open-source HEIC decoder that runs in the page. A damaged file, or a variant it cannot read, stops at the preview with an error. Exporting the photo from the Photos app as JPEG is the fallback.
Why does the same HEIC give a bigger JPG in one browser than another?
The quality number goes to the browser's own JPEG encoder, and each one treats it differently. At the default 90, a 1,600 x 1,200 test HEIC became 299.5 KB in Chrome 156 and Chromium 153, 399.4 KB in Firefox 155 and 562.7 KB in the WebKit build. Lower the slider if the file is too big; at 75 Chrome gave 119.7 KB.
How long does a 12-megapixel HEIC take?
A few seconds, twice: a 3,024 x 4,032 test HEIC took 2.4 to 3.3 seconds to open for the preview and 2.3 to 2.8 seconds to convert in Chrome 156, Chromium 153, Firefox 155 and the WebKit build. The HEIC is decoded in the page each time, so the Convert step repeats the work.
Why do very dark or very bright areas look flatter than in Photos?
The decoder in the page reads the file as video range and cuts the darkest and brightest values before the tool can correct the levels. A near-black patch at 16 came out as 0 and a near-white patch at 240 as 255 in all four engines tested, while macOS reads 16 and 240. Mid-tones and colours came out within 1 of the macOS values.
What happens to a HEIC with a transparent background?
The clear areas turn black in the JPG (0,0,0 in all four engines tested), because JPEG has no transparency and the tool puts no background colour behind the picture.
Related guides
JPG, PNG, WebP, HEIC and SVG: which image format to use. The guide explains what HEIC is, how iPhones choose it, and what a JPG copy costs in bytes at three quality settings.
How to open and convert HEIC photos. The guide shows JPG sizes at quality 90, 75 and 50 and why converting once at the final quality beat converting at 90 and compressing after.