Skip to content
universalImage Converter

Blog

HEIC vs JPEG: Which Format to Use, and When

HEIC is the more efficient container for photos; JPEG is the one every program, website and printer already understands. The rules below tell you which to pick for a given destination.

By the Universal Image Converter Team

HEIC and JPEG side by side

The table compares the properties that decide most real-world choices. HEIC here means the photo files an iPhone writes: a still image compressed with HEVC and stored in a HEIF container.

PropertyHEICJPEG
CompressionMore efficient; Apple says HEIF and HEVC offer better compression than JPEG and H.264 at the same visual qualityOlder method, larger files for the same look
Bits per color channelThe format can hold more than 8; what a photo uses depends on the camera8 (256 levels per channel) in ordinary files
TransparencyThe format allows it; camera photos normally have noneNone
Native supportApple devices; elsewhere it depends on installed codecsEssentially everything
Browsers and web formsMostly cannot display or accept itWorks in every browser and almost every upload form

What the size claim means in bytes

You will often read that HEIC files are "half the size" of JPEG. Apple's own documentation says only that HEIF and HEVC give better compression and use less storage at the same visual quality, and it gives no ratio. The real ratio depends on the scene, the encoder and the quality setting, so treat any single figure with suspicion until you have measured your own files.

The arithmetic below shows what a ratio would mean. A 4032 by 3024 photo has 12,192,768 pixels. Stored uncompressed at 8 bits per channel it would take 36,578,304 bytes, about 36.6 MB. Suppose a JPEG of that photo is 3.5 MB (a made-up but plausible number, not a measurement). That is 3,500,000 x 8 / 12,192,768, or roughly 2.3 bits per pixel, a compression factor of about 10 to 1. If a HEIC of the same shot really were 1.75 MB, it would be spending about 1.15 bits per pixel. That kind of saving matters on a phone with a full library and does nothing for a single email attachment.

Remember also that the comparison only holds at matched visual quality. A JPEG saved at a lower quality setting can be smaller than a HEIC saved at a higher one, which is why two files with the same pixel dimensions can differ by a factor of several without either being "better".

Rules for choosing

Where HEIC causes trouble

The failures are almost always about decoding, not quality. A browser that cannot decode HEIC cannot show a preview, cannot resize it in a canvas and cannot upload it to a page script that expects a recognizable image. Desktop programs behave similarly: older editors and some Windows installations simply report an unsupported format.

The same limitation applies to the converter on this site, because it relies on the browser to decode the file; the HEIC to JPG guide explains where that works and what to do where it does not.

Renaming does not help. A file named photo.jpg that still contains HEIC data is a HEIC file with the wrong label, and programs that read the file header will reject it or show an error. Conversion has to rewrite the pixels.

Telling which one you actually have

The icon and the preview do not settle it. Look at the extension: .heic (or .heif) means HEIC, while .jpg and .jpeg mean JPEG. Windows hides extensions by default in some configurations, so you may need to switch on file name extensions in File Explorer's view options. On a Mac, Get Info in Finder shows the kind of file. In the Photos app on an iPhone, the info panel typically shows the file name, and the extension in it gives the answer on versions that display it.

For files that arrive by chat or download, the name can lie. A conversion tool or a messaging app may have changed the label without changing the contents, which is why checking the file header, not the name, is the reliable test. If a file opens fine on your phone but fails everywhere else, a HEIC inside a misleading name is a common explanation.

Edge cases: edits, color and repeated conversion

Converting is a one-way step in quality terms. Going from HEIC to JPEG means the pixels are decoded and then compressed again with a different method. At a high setting the difference is hard to see, but every extra lossy pass removes a little more. Convert once, from the original, at the quality you need. For what each quality level costs, see what is lost and what is not after converting.

Wide-gamut color. Recent iPhones capture photos with a color space wider than the sRGB standard that most screens and websites assume. When a converter hands you an sRGB JPEG, saturated reds and greens may look slightly different from the original on a wide-gamut display. This is a color-management matter rather than a defect in either format, and it is covered in the article on color profiles and sRGB.

Depth data and similar extras. A HEIC file can carry more than one image or auxiliary data in the same container. A JPEG conversion keeps the main picture only, so anything that depends on those extras will not survive the change.

Archiving. If you are choosing a format for a long-term photo archive, pick the one your future tools are most likely to open. JPEG has decades of support behind it; HEIC support is broad on Apple platforms and conditional elsewhere. A mixed approach, HEIC in the camera roll and JPEG exports for sharing, covers both needs.

Have HEIC photos that a site or program will not accept? Convert them to JPG in your browser and check the before and after sizes.

Open the image converter