HEIC to JPG
How to convert HEIC to JPG
- Add your photos: drag HEIC or HEIF files onto the box above or click to browse. Up to 50 at a time.
- Leave Quality at 90 or move the slider. Leave the background colour white unless you want another colour behind transparent areas.
- Click Convert to JPG. The first photo takes a little longer because the decoder loads once.
- Download each file, or click Download all as ZIP when you converted several. Names stay the same, so IMG_0001.heic gives IMG_0001.jpg.
What this HEIC to JPG tool does
You add HEIC or HEIF photos, pick a quality, and get one JPG per photo. A decoder called libheif, compiled to WebAssembly, reads the HEIC file in your browser tab. The tool turns the picture upright, flattens it onto a background colour (white unless you change it) and saves it as a JPG at the quality you chose. Your photos are read from disk and handed back as downloads, and nothing in between goes to a server.
We tested that claim. We loaded the page, added the sample photo and logged every request. The page made 25 requests, none with a body, and the outside hosts were the two Google ad and analytics hosts that every GramFile page calls, and jsDelivr (the codecs). The decoder files are requested only after you add a photo: none before, one request for the WebAssembly file after. Only Chromium was tested, so Firefox, Safari and phone browsers are unconfirmed.
The decoder is about 1.5 MB (91,255 bytes of script and 1,463,506 bytes of WebAssembly). That is why the first conversion on a fresh page takes a moment longer than the next ones.
What a HEIC file is and why it will not open
HEIC is a photo file that stores the picture with the same compression family used for H.265 video. Apple introduced it with iOS 11 and macOS High Sierra, and iPhones and iPads save photos in it by default. The goal is a smaller file at similar quality.
The trouble starts outside Apple's devices. Many upload forms, older programs and some email tools only accept JPG. Windows often needs add-ons from the Microsoft Store before Photos will open HEIC: the HEIF Image Extensions and, in some cases, the HEVC Video Extensions. Guides disagree on whether the second one is free or costs about a dollar, and newer builds of Windows 11 may already include support, so check the Store listing on your own PC. Converting to JPG skips all of that.
What came out of our test photo
Our test file is 520,206 bytes. It is stored sideways at 960 by 1280 pixels and carries two rotation instructions, one inside the HEIC container and one in its EXIF data. A careless converter applies both and ends up upside down. This tool read the file once and produced a 1280 by 960 landscape JPG of 171,537 bytes, 33 percent of the original. The run took 1.4 seconds including the decoder download.
To check the orientation we compared the output with a JPG of the same scene that we already had, upright. The average difference was 1.5 on a scale of 255. The same output turned 180 degrees would differ by 86.6, and mirrored by 17.5, so the photo came out the right way round.
One caution. This is a synthetic sample made with libheif, not a real iPhone photo. It has no Apple metadata, no Display P3 colour profile and no Live Photo data. Expect a real photo to behave differently on size: HEIC compresses well, so a JPG made from a real photo is often larger than the HEIC, while ours came out smaller.
The result box shows 508 kB before and 168 kB after for this photo. It counts in units of 1,024 bytes, which is why those figures look slightly lower than the byte counts above.
The quality setting and file size
The Quality slider runs from 10 to 100 in steps of 5 and starts at 90. The table on this page lists what each setting did to the same sample. Going from 75 to 90 multiplies the size by six (27,410 to 171,537 bytes), and 100 is bigger again. Our sample has fine noise that JPG spends many bytes on at high quality, so real photos will scale differently.
We measured sizes only. We did not judge how the pictures look at each setting, so open one converted photo at 100 percent zoom and decide for yourself. For email and web forms, 90 is a sensible start. If a portal has a size limit, convert first, then shrink the result with the image compressor or aim for a number with compress image to size.
What is kept and what is dropped
The JPG contains the picture and a basic file header, nothing else. We read the output back: it has no EXIF segment and no colour profile. Our sample's HEIC held a camera make and a date taken, and neither appears anywhere in the JPG. A file with no EXIF segment cannot hold GPS coordinates either, so location data is gone, and the page says so after each conversion.
That suits sharing, because a photo you post does not carry your home address. It does not suit archiving. Programs that sort by date taken will fall back to the file date. Keep the originals if the dates matter.
The missing colour profile deserves a test of your own. Many iPhone photos use the wider Display P3 range, and our sample did not, so we could not check what happens to those colours. Convert one photo and compare it with the original on screen before you do a whole folder.
Limits, errors and what we have not tested
You can add up to 50 files at once, each up to 100 MB. A 51st file is refused when you add it with the message "Only 50 files at a time." Fifty copies of the sample (26 MB) finished in 23.6 seconds, about half a second per photo on our test machine. Your computer will differ.
Only HEIC and HEIF files are accepted. A JPG added to this page is refused with "this file type is not supported here." A file that is named .heic but is not one, such as a renamed PNG, is accepted and then fails with a message that it is not an image this tool can read. In a batch, one bad file does not stop the rest: with two good photos and one fake, we got two JPGs and one error line.
A HEIC can hold several pictures, for example a burst or a Live Photo. The tool converts the main photo only and tells you so. We have not tested a real Live Photo, a burst or a portrait-mode photo with depth data. Pictures above 100 megapixels are refused by the decoder, and we did not test one near that limit. With several files, Download all as ZIP gives gramfile-tools.zip with each JPG named after its photo, so IMG_0001.heic becomes IMG_0001.jpg.
Stopping HEIC at the source
If you rarely need HEIC, change the iPhone. Open Settings, tap Camera, tap Formats and choose Most Compatible. New photos are then saved as JPG. Photos you already took stay HEIC. A second setting, Settings, Photos, Transfer to Mac or PC, set to Automatic, lets the phone convert files when you copy them to a computer. Keep Originals leaves them as HEIC. Apple documents both settings, and says High Efficiency is the recommended choice for storage.
Common jobs
Upload to a form or job portal. Convert at 90, check the size limit, shrink if needed. Send a few photos by email. Convert, then use the ZIP button. Make a PDF. Convert first, because the image to PDF tool does not take HEIC. Keep a lossless copy or transparency. Use HEIC to PNG. The file is much bigger, and we have not tested a HEIC that contains transparency. On this page, any transparent area becomes the background colour you set, white by default. More tools are on the image tools page.
Quality setting and file size
| Quality | JPG bytes | Share of the HEIC size | Time |
|---|---|---|---|
| 100 | 1,024,129 | 197 percent | 2.4 s |
| 90 | 171,537 | 33 percent | 1.4 s |
| 75 | 27,410 | 5.3 percent | 0.9 s |
| 50 | 15,100 | 2.9 percent | 0.9 s |
| 10 | 6,240 | 1.2 percent | 0.9 s |
Prefer desktop software?
Use a desktop image program when you need to keep camera and date data, apply a colour profile, rename a whole folder or convert thousands of photos. Whether a viewer opens HEIC depends on its version and on the Windows add-ons, so test one file before you plan a workflow around it.
Frequently asked questions
Are my photos uploaded?
No. Your browser decodes them and builds the JPG on your computer. In our test the page made 25 requests, none with a body, and the outside hosts were Google ad and analytics hosts and jsDelivr (the codecs). Decoder files now load from jsDelivr.
Will the JPG be the right way up?
On our sample, yes. The file carried two rotation instructions and the result was a single correct turn, 1280 by 960. We have not tried every phone model.
Does it keep the date, camera and location?
No. The output has no EXIF segment, so camera details, date taken and GPS are gone. Keep the originals if you need them.
What quality should I choose?
Start at 90. On our sample that gave 171,537 bytes, against 27,410 at 75 and 1,024,129 at 100. Sizes on your photos will differ, so try one first.
How many photos can I convert at once?
Up to 50 files of 100 MB each. Fifty copies of our sample took 23.6 seconds in the test.
Why did my file fail?
Most often it is not a real HEIC, for example a renamed picture, or it is damaged. The tool lists the failed file and still converts the others.
Does it convert Live Photos and bursts?
Only the main photo of the file is converted, and the page tells you so. We have not tested a real Live Photo or burst.
Why is my JPG bigger than the HEIC?
HEIC compresses better than JPG, so a JPG of the same picture is often larger. Lower the quality or use the image compressor. Our synthetic sample came out smaller, so do not expect the same ratio.
Can my iPhone save JPG instead?
Yes. Go to Settings, Camera, Formats and choose Most Compatible. Only new photos change.