HEIC vs JPEG vs PNG — Which Format Should You Use?
You take a photo on your iPhone and it saves as HEIC. You try to email it and the recipient cannot open it. You save it as JPEG and suddenly the file is twice as large. You screenshot your desktop and it saves as PNG at 8MB. Three formats, three different trade-offs, and no clear answer until you know what you are actually using the image for.
The quick answer
Use HEIC for storing photos on Apple devices. Use JPEG for sharing photos anywhere. Use PNG for screenshots, logos, and anything with text or transparency. That covers 90% of situations. The remaining 10% is where it gets interesting.
HEIC: the efficient one
HEIC uses the HEVC (H.265) video codec to compress still images. This is the same technology that streams 4K video on Netflix, adapted for photos. The result is files that are 40-50% smaller than JPEG at the same visual quality.
Apple made HEIC the default iPhone format in 2017 for a practical reason: people take a lot of photos, and storage space costs money. A 12MP photo that would be 4MB as JPEG is about 2MB as HEIC, with no visible quality difference. Over thousands of photos, that adds up to gigabytes of saved space.
HEIC also supports features that JPEG cannot: 10-bit colour depth (smoother gradients), transparency, image sequences (Live Photos), and depth maps. It is technically a superior container format.
The catch is compatibility. HEIC works natively on Apple devices and macOS. Windows requires an extension from the Microsoft Store. Android added partial support in version 10, but it varies by manufacturer. Most web browsers except Safari cannot display HEIC. Most social media platforms, email clients, and web forms do not accept HEIC uploads. So while HEIC is great for storage, you will need to convert for almost any sharing scenario.
JPEG: the universal one
JPEG has been the default image format since 1992. Every device, application, browser, printer, and operating system ever made can open a JPEG. This universal compatibility is its single greatest advantage, and it is a massive one.
JPEG compression works by discarding visual information that human eyes are less sensitive to — subtle colour variations and high-frequency detail. At quality 80-85, most people cannot distinguish a JPEG from the uncompressed original. Below quality 60, compression artifacts become visible as blurring and colour banding, especially around sharp edges.
The format has real limitations. It does not support transparency — everything gets a solid background. It only supports 8-bit colour (16.7 million colours), which is fine for most photos but can show banding in smooth gradients. And every time you re-save a JPEG, it loses a tiny bit more quality (generation loss). Edit and save the same JPEG ten times and you will notice the degradation.
Despite these limitations, JPEG remains the right choice whenever you need maximum compatibility. Sending photos by email, uploading to social media, printing at a photo lab, inserting into a Word document — JPEG works everywhere without friction.
PNG: the precise one
PNG was created in 1996 as a patent-free replacement for GIF. Its defining feature is lossless compression — every pixel is preserved exactly as captured. No quality loss, no artifacts, no generation degradation. What you save is exactly what you get back.
This makes PNG the correct choice for screenshots, diagrams, logos, icons, UI mockups, and any image with text. JPEG compression creates fuzzy artifacts around sharp text edges that make screenshots look unprofessional. PNG preserves every pixel of that text crisply.
PNG also supports transparency (alpha channel), which JPEG does not. If you need a logo on a transparent background, a UI element that overlays other content, or any image where parts should be see-through, PNG is your format.
The trade-off is file size. PNG files are significantly larger than JPEG for photographs. A 12MP photo might be 4MB as JPEG but 15MB as PNG. This is because lossless compression cannot discard information like lossy compression does — it can only reorganise the data more efficiently. For photos, the visual difference between a high-quality JPEG and PNG is invisible to most people, so the 3-4x file size increase is not worth it.
Side-by-side comparison
| Feature | HEIC | JPEG | PNG |
|---|---|---|---|
| Compression | Lossy (best) | Lossy | Lossless |
| File size (photo) | Smallest | Small | Large |
| Transparency | Yes | No | Yes |
| Colour depth | 10-bit | 8-bit | 8 or 16-bit |
| Browser support | Safari only | All | All |
| Best for | iPhone storage | Sharing photos | Screenshots & graphics |
| Quality loss on re-save | Yes | Yes | No |
When to convert between formats
HEIC to JPEG: Whenever you need to share an iPhone photo with anyone outside the Apple ecosystem. Email attachments, social media uploads, web forms, printing services — convert to JPEG first.
PNG to JPEG: When sharing screenshots or graphics where file size matters more than pixel-perfect accuracy. A 5MB PNG screenshot becomes a 500KB JPEG that looks nearly identical in email or Slack.
JPEG to PNG: Rarely needed. The main reason would be if you need to add transparency to a photo, or if you are going to make multiple edits and want to avoid JPEG generation loss during the editing process.
Any format to AVIF or WebP: When you are optimising images for a website. Both formats produce smaller files than JPEG with better quality. AVIF is the most efficient but slightly newer; WebP has broader historical support. Use the HTML picture element to serve modern formats with JPEG fallback.
The practical recommendation
Leave your iPhone on HEIC for daily photos — the storage savings are real and you can always convert later. When you need to share, convert to JPEG. When you take a screenshot or create a graphic with text, use PNG. When you are building a website, use AVIF or WebP with JPEG fallback.
The format that works best is the one that matches what you are doing with the image right now. There is no single "best" format — there is only the right format for the job.
Frequently asked questions
More from the blog
Compress, convert, and resize images in your browser. Nothing gets uploaded.
Open MiniPx →