← Back to Complete Guide

Batch Convert HEIC to JPG on Windows (No Quality Loss)

An iPhone folder of 500 photos is not a conversion problem — it is four small problems wearing a trench coat: the codec Windows refuses to decode, the orientation flag that decides whether portraits arrive sideways, the metadata you may not want to publish, and the quality setting you have to pick once and keep. This page handles all four, with the exact commands for the routes that actually work on Windows 11.

By Hadi Karaki, maker of Formatif: media processing suiteNovember 27, 20269 min read

The short answer

Install the HEIF and HEVC extensions, then run magick mogrify -format jpg -quality 85 *.heic. If you would rather not touch a terminal, IrfanView's Batch Conversion does the same job for free, and Formatif Pro does it with quality, resize, and metadata controls in one pass.

Watch a HEIC folder convert in one run

A mixed folder of HEIC and WebP images going to JPG and PNG in a single local pass — the same options the workflow below describes, without the command line.

Why won't Windows open my HEIC photos?

HEIC is not a codec — it is a HEIF container holding HEVC-encoded images. Windows ships with neither the container handler nor the HEVC decoder, so Photos shows a blank thumbnail until both extensions are installed from the Microsoft Store.

The two packages do different jobs. The HEIF Image Extension teaches Windows what the container is; the HEVC Video Extension supplies the decoder that turns the encoded image into pixels. Install only the first and the file still will not open — which is why so many people conclude that HEIC is “broken” on their machine.

This matters for conversion too: tools that rely on the Windows Imaging Component (WIC) inherit the same limitation. ImageMagick, FFmpeg, and IrfanView each ship or link their own HEIC decoder, which is why they can convert files that Photos refuses to display.

What actually survives the conversion?

Resolution, EXIF, and GPS survive if the tool copies them; orientation survives only if the tool applies it; HDR gain maps, depth data, and Live Photo motion never do. The JPG is a flatter, simpler file — that is exactly why everything opens it.

PropertySurvives?What it means
ResolutionYesFull pixel dimensions are preserved unless you resize deliberately.
EXIF (camera, lens, date)UsuallyTool-dependent. Some converters strip everything by default.
GPS locationUsuallyWorth removing on anything public — it is a privacy leak, not a feature.
OrientationOnly if appliedHEIC stores rotation as metadata. If the converter ignores it, portraits come out sideways.
HDR gain mapNoiPhone HDR stills carry a gain map; plain JPG has nowhere to put it, so highlights flatten.
Depth map / portrait maskNoThe depth channel is dropped; you can no longer re-blur the background later.
Live Photo motionNoThe moving part is a separate .MOV pair — the still converts, the motion stays behind.

If you want the reasoning behind the format itself — compression efficiency versus compatibility — that is covered in HEIC vs JPG for iPhone photos. This page is the practical half: getting the folder out.

Pick the output profile before you start

Quality 85 at 4:2:0 in a JPG is the safe default for anything that will be viewed on a screen. Move to 95 and 4:4:4 only when the images will be printed or re-edited; drop to 75 when the only destination is a chat window.

TargetQualityChromaSizeWhy
Portfolio / website824:2:0Long edge 2000 pxHalf the bytes of q95 with no visible difference at screen size.
Marketplace listing854:2:0Long edge 2000–3000 pxMarketplaces re-compress anyway; q85 survives one more pass.
Print / archive954:4:4Full resolutionKeep chroma detail for skin tones and gradients; or keep the HEIC master.
Email / chat754:2:0Long edge 1600 pxSmall enough to attach, still sharp on a phone.

The marketplace row is the one worth taking seriously: Etsy, Shopify, and Amazon all re-compress uploads, so an already-sharp q85 file survives their pipeline better than a q95 file that gets torn apart twice. The full listing workflow is in Etsy and Shopify photo prep.

How do you batch convert HEIC to JPG on Windows?

Check that Windows can decode HEIC, inventory the folder, pick one output profile, run the batch, then inspect a portrait, a landscape, and a gradient-heavy shot before deleting anything. The order matters more than the tool.

1. Confirm Windows can decode HEIC at all

Before any batch, open one file in Photos. If it fails, Windows is missing the HEIF image extension and the HEVC decoder — both are separate Microsoft Store packages, and the second one is not always free. Every tool below depends on that decoder or ships its own, so this check decides which route is even available.

ImageMagick — does this build support HEIC?

magick -list format | findstr /i "heic heif"

2. Inventory the folder before converting

Count the files, check the date range, and look for the odd formats mixed in — screenshots are often PNG, edited exports can be JPEG, and a few Live Photo pairs bring a .MOV along. A folder is never only HEIC.

Count HEIC files in the current folder (Command Prompt)

dir /b *.heic | find /c /v ""

3. Pick one output profile and write it down

Quality, chroma subsampling, and the resize target are the three settings that decide whether the batch looks professional or like a phone dump. Use the profile table above; changing quality mid-folder is how you end up with a set that cannot be delivered together.

Example profile: marketplace delivery

JPG · q85 · 4:2:0 · long edge 2400 px

4. Run the batch

IrfanView is the no-terminal route: Batch Conversion/Rename, add the folder, set output format to JPG and open Options to choose quality and whether to keep EXIF. ImageMagick is the scriptable route below — it writes the JPGs next to the originals and never touches the source files.

ImageMagick — whole folder to JPG at quality 85

magick mogrify -format jpg -quality 85 -sampling-factor 4:2:0 *.heic

5. Spot-check before you delete anything

Open one portrait, one landscape, and one shot with a gradient sky. Portrait tells you whether orientation survived; the sky tells you whether banding appeared at your quality setting. Only then archive or delete the HEIC originals.

FFmpeg — single-file control check (needs a libheif-enabled build)

ffmpeg -i sample.heic -q:v 2 sample.jpg

Which method should you actually use?

Photos is fine for one image and useless for five hundred. IrfanView is the best free GUI for a folder; ImageMagick is the best scripted option; FFmpeg is only worth it if it is already in your workflow. A desktop converter wins when you need quality, resize, and metadata controls in the same pass.

MethodBatchCLIMetadataCost
Windows PhotosNoNoMostly keptFree
IrfanView + pluginsYesNoKeptFree
ImageMagick (magick mogrify)YesYesKept, strippableFree
FFmpegWith a loopYesKeptFree
Formatif ProYesNoKept, strippable$8.95 once

Moving the folder onto the PC is the other half of the job — the no-iTunes route is in iPhone to Windows without iTunes, and the general-purpose batch converter is batch image conversion for every format pair.

One pass, one profile

500 photos, one setting, no upload

Formatif Pro converts a whole folder with the quality, chroma, resize, and metadata rules you set once. It runs on your machine, writes beside the originals, and never asks for an account.

  • HEIC, WebP, AVIF, PNG, TIFF, RAW → JPG
  • Quality and resize in the same pass
  • Strip EXIF/GPS before publishing
  • 63 offline tools, one-time license

Formatif Pro is $8.95 once.

The no-terminal route

Batch conversion with the parameters exposed

Formatif Pro is the desktop equivalent of the ImageMagick line above, with the settings visible instead of memorised: pick the folder, set JPG quality and the resize target, decide whether EXIF and GPS come along, and run it. Everything happens locally — no upload, no account, no per-image credit — for $8.95 once.

  • Batch HEIC → JPG, PNG, or WebP
  • Quality, chroma, and resize controls
  • EXIF/GPS stripping option
  • Originals never modified

Keep reading

Frequently asked questions

Why won't Windows 11 open my HEIC photos?

HEIC is a HEIF container holding HEVC-encoded images, and Windows ships without an HEVC decoder. Installing the HEIF Image Extension and the HEVC Video Extension from the Microsoft Store is what lets Photos open the files; without them even the thumbnail fails.

Does converting HEIC to JPG lose quality?

Yes, by one generation — JPG is lossy, so the first conversion loses a little detail. At quality 85 or above the loss is not visible at normal viewing sizes. Converting the same photo repeatedly is what compounds it; convert once from the original HEIC and keep that master.

Can I batch convert HEIC to JPG for free on Windows?

Yes. IrfanView with its plugins, ImageMagick, and an FFmpeg build with libheif all handle whole folders at no cost. The trade-off is setup effort: each needs a codec or plugin installed, and the command-line routes need a little care with quoting and paths.

Why do some converted photos come out sideways?

HEIC stores rotation in EXIF rather than rotating the pixels. A converter that copies the metadata without applying the rotation produces a JPG that displays sideways. Either use a tool that bakes the orientation in, or run an auto-orient pass after conversion.

Does the JPG keep the HDR look of the iPhone photo?

Usually not. iPhone HDR stills carry a gain map that an SDR JPG cannot hold, so highlights and shadows compress when you convert. If HDR matters for that shot, keep the HEIC and use it on devices that support it.

Are my location and camera details preserved?

It depends on the tool. Most converters copy EXIF, including GPS coordinates, by default — which is fine for an archive and a privacy problem for anything you publish. Check the strip-metadata option before a public batch.

Does Formatif Pro convert HEIC to JPG in batch?

Yes. Image conversion is one of the 63 offline tools: point it at a folder, set JPG quality and resize, and it writes the converted files beside the originals. It runs locally with no upload and the license is $8.95 once.

One folder. One setting. Nothing uploaded.

Formatif Pro is $8.95 once — 63 offline tools covering conversion, compression, resize, and batch prep. Formatif AI ($12.95) adds the local neural models; both together are $16.95.

HK

Written by

Hadi KarakiLinkedIn

Founder of Formatif, a local-first offline media processing suite for Windows and Linux. Hadi writes about video, image, and audio formats, compression, and privacy-first desktop workflows.