HEIC to JPG Converter

Drop one or more .heic or .heif files on the left. HEIC is usually a HEIF container of HEVC stills; JPEG is a different lossy compression. The right side re-encodes them at the chosen quality. If one container holds several images, each is listed on its own.

HEIC is a HEIF container, and JPEG is a different compression

A .heic file is usually a HEIF container whose stills are coded with HEVC. JPEG stores the same scene as 8×8 DCT blocks and quantization tables. Turning one into the other decodes the HEVC picture and encodes a new JPEG. It does not rename the extension. Shrink that JPEG further in the image compressor, or turn the bytes into text with image to Base64.

The number on the quality control scales those quantization tables. A higher number keeps more fine detail and usually makes a larger file. It does not select a lossless JPEG.

What the two formats actually store

Why a HEIC file is a container and not a JPEG with a new name

  1. HEIF is the container, ISO/IEC 23008-12. HEIC is the usual name when the pictures inside are HEVC.
  2. The file is an ISO BMFF box structure. An ftyp box carries a brand such as heic, heix, or mif1.
  3. JPEG starts with the bytes FF D8. A HEIC file does not.
  4. Changing .heic to .jpg leaves the ftyp box in place, so a JPEG reader still rejects it.

How the quality number changes the JPEG, not the original HEVC

  1. HEVC and JPEG do not share a bitstream. The still has to be decoded, then encoded again.
  2. The quality value scales JPEG quantization. Coarser steps drop more high-frequency detail.
  3. 100 on this scale is still a lossy JPEG. The common quality control does not select JPEG lossless.
  4. The original HEVC data is not stored inside the new file, so a later decode cannot rebuild it.

Why one HEIF file can hold more than one picture

  1. The container can store a primary item, a grid, a burst, or an image sequence.
  2. Each coded image is its own picture once it is decoded.
  3. An Apple Live Photo is often a HEIC still plus a separate movie, not a second JPEG inside the same file.
  4. Baseline JPEG has no alpha channel. An auxiliary alpha image in the HEIF does not survive as transparency.

Why the JPEG and the HEIC are rarely the same size

  1. HEVC stills often use fewer bytes than JPEG for a similar picture. The ratio is not fixed.
  2. The new file’s size follows the quality setting and the picture, not the HEIC size.
  3. A quality near 90 aims at a visually close JPEG. It does not copy the HEVC byte count.
  4. iOS 11 made HEIF the camera default so a roll of photos would take less space than JPEG.

Where a JPEG reader meets a HEIF file

A program that only recognizes the JPEG start marker

It looks for FF D8. An ftyp brand of heic never matches, even when the scene is the same photograph. The program needs a newly encoded JPEG, not a renamed container.

A form whose accept list is JPEG and not HEIF

The form is checking the container and the media type. A HEIC brand fails that check. A JPEG produced from the decoded still passes it. Further shrinking belongs in the image compressor.

Frequently asked questions

What is the difference between HEIC and JPG?
HEIC is usually a HEIF container whose stills are HEVC (H.265 intra). The file is a sequence of boxes, and the ftyp brand is often heic. JPG is JPEG: the picture is split into 8×8 blocks, transformed with a DCT, then quantized, and the file starts with FF D8. The same photograph can sit in either file, but the bitstreams are not interchangeable. A JPEG reader does not understand ftyp, and a HEIF reader does not treat FF D8 as a container. HEVC stills can also be 10-bit. Baseline JPEG is 8 bits per channel, so a re-encode into baseline JPEG cannot keep the extra precision.
Are HEIC and HEIF the same thing?
HEIF is the container, ISO/IEC 23008-12. It describes how images, sequences, and auxiliary items sit in boxes. HEIC is the usual name when those images are HEVC, the extension is usually .heic, and the ftyp brand is heic or heix. The brand mif1 only says “this is a HEIF image”; it does not promise HEVC. A parser trusts the brand in the box, not the letters in the filename. AVIF uses a similar box structure, but its brand is avif and the codec is AV1, so it is not a HEIC.
Why does renaming .heic to .jpg fail to open?
The extension only hints which program to try. It does not rewrite the bytes. After the rename, the file still starts with a length and an ftyp box, often still brand heic. A JPEG reader checks that the first two bytes are FF D8 and then walks APPn segments; if that marker is missing, it stops. It never goes looking for ftyp. Some HEIF files also carry a small JPEG thumbnail, and a file manager may paint its icon from that thumbnail, which makes the rename look successful. The thumbnail is not the full picture, and a strict JPEG decode still rejects the file.
Is JPEG quality 100 lossless?
No. The number only selects the finest quantization step the encoder offers. Rounding after the DCT is still there, and the control does not switch the file over to HEVC coding units. Many encoders keep chroma subsampling, often 4:2:0, even at the top of the scale, so color resolution stays below luma. Baseline JPEG is also still 8 bits per channel. The original HEVC coefficients, prediction, and residual are not written into the new file. A later encode stacks another loss on top; it does not return to the picture from before this one.
How many JPGs does a Live Photo become?
A Live Photo is usually a pair: one HEIC still, plus a separate movie of about a second or two, tied together by the same content identifier. The still becomes one JPEG. The movie has a timeline and JPEG does not, so the movie does not become a run of JPEG frames. A different case sits in the same container: one HEIF can hold a primary image, a burst, a grid, or an image sequence. Each coded image decodes to its own picture, so one file can yield several JPEGs. A portrait HEIC may also carry an auxiliary item such as depth or a gain map. An extra image is not always a second view of the scene.
Why is a HEIC usually smaller than a JPG?
HEVC intra uses larger coding trees, intra prediction, and a tighter residual coder. JPEG is a fixed 8×8 DCT plus Huffman coding. For the same scene a HEVC still often uses fewer bytes; the figure quoted with iOS 11 was about half of JPEG, but night shots, foliage, and noisy frames close that gap, and there is no fixed ratio. The new JPEG’s size follows the quality and the picture, not the HEIC’s size. At a high quality the JPEG can be larger than the HEIC. At a low quality it is smaller and softer.
Why do iPhone photos default to HEIC?
Starting with iOS 11, the camera stores stills as HEIF and video as HEVC so a similar-looking result takes less space than JPEG. Under Camera → Formats, High Efficiency is that default. Most Compatible records JPEG instead. If a transfer is set to convert automatically, the computer may receive a JPEG while the copy on the phone is still HEIC. Newer systems can read HEIF. Software that only accepts FF D8 still needs a newly encoded JPEG.
Can the original HEIC be recovered from the JPG?
No. JPEG quantization discards DCT coefficients, and the HEVC coding units, prediction, and residual are not in the new file. Decoding the JPEG produces pixels that already include that rounding. Encoding those pixels as a fresh HEIC creates a third bitstream. It will not match the original boxes, brand, thumbnail, or auxiliary images. Text such as EXIF can sometimes be copied across. The container structure cannot. What remains is an approximation limited by the JPEG quality and by 8-bit baseline JPEG.