Convert HEIC photos to JPG in bulk
Every iPhone photo as a JPG that opens anywhere, with the date taken kept.
A real run on 12 November 2026, on a Linux computer, using Claude Code with Opus, on a Claude plan. The waiting is sped up; it took 1 min 51 s in real time.
The short answer.
HEIC is the iPhone's photo format, and many Windows PCs and apps can't open it. To only view them, install Microsoft's HEIF and HEVC extensions; to share or edit them anywhere, convert to JPG with a batch tool such as XnConvert and keep the metadata. Stella (stella.sh) converts a whole folder on your computer, subfolders included, keeps the date taken and leaves the originals in place.
Stella does this on Windows, Mac and Linux.
What happened.
All 30 HEIC photos converted to full-size JPGs in under two minutes, including four in a subfolder and one with a lowercase extension. Checked afterwards against an answer key: every JPG opens, has the same size and orientation, and keeps the exact date taken (and the camera make and model); the 30 originals, a Live Photo video and two screenshots are byte-for-byte unchanged.
The photos are generated images saved as real iPhone-style HEIC files with dates taken from March to October 2026, made for this run. The 99-second wait is sped up 12×. The computer's name is blurred in the file manager at the end.
How Stella does it.
- Finds every HEIC file in the folder you name, including subfolders and odd extensions like a lowercase
.heic - Checks what the photos hold first: size, rotation, date taken and location, so it knows what has to carry over
- Converts each one to a full-size JPG next to the original with the same name; in the recording it used ImageMagick at quality 92, writing each file under a temporary name first
- Skips any photo that already has a JPG, and leaves videos and screenshots alone
- Checks every new JPG opens and has its date taken, then tells you how many it converted and where they are
The prompt.
Convert all my iPhone HEIC photos to JPG so they open on my Windows PC. They're in Pictures/iPhone Photos.
This is the exact prompt from the recording. If your files are somewhere else, say where.
Do it yourself.
Only need to view them? Add Microsoft's extensions
In the Microsoft Store, install HEIF Image Extensions (free) and HEVC Video Extensions ($0.99). The Photos app and File Explorer thumbnails then show HEIC files. That's enough for viewing on your own PC, but people you send them to still need the same add-ons.
Convert one photo in Photos or Paint
With the extensions installed, open the photo in Photos, choose the three dots, Save as, and pick JPG; or open it in Paint and use Save as, JPEG picture. Fine for a handful, slow for a camera roll.
Convert a whole folder with XnConvert
Install the free XnConvert, drag the folder into the Input tab (tick to include subfolders), set Output format to JPG at quality 90 or higher, and check the option to keep metadata is on (in the Output tab's settings) so the date taken survives. Send the output to a new folder so nothing is overwritten.
Or from the command line
With ImageMagick installed, run
magick mogrify -format jpg -quality 92 *.HEICin the folder. It writes a JPG beside each photo and copies the EXIF data. Run it again in each subfolder, and check that lowercase.heicfiles were caught too.Stop it happening next time
On the iPhone, Settings, Camera, Formats, Most Compatible makes new photos JPG. Or keep HEIC on the phone and set Settings, Apps, Photos, Transfer to Mac or PC to Automatic, which converts to JPG when you copy photos to a computer over a cable.
Where it stops.
- The JPGs take more space: about 38 MB for 30 photos that were 17 MB as HEIC. That's normal for JPG at high quality, and the originals are kept, so the folder roughly triples. Ask Stella to move the HEIC files to the Trash afterwards if you want the space back.
- The new files' “Date modified” is the day the photos were copied to the computer, not the day they were taken. Photos apps and Windows' “Date taken” column read the date inside the photo, which is kept; ask Stella to set the file dates too if you sort by Date modified.
- The recording is on Linux, where the HEIC converter was already installed. On a Windows PC, Stella has to install a converter first, which hasn't been recorded yet.
- Live Photos come as a photo plus a short video. Stella converts the photo and leaves the .MOV alone; the movement part doesn't become a JPG.
Questions.
Does converting HEIC to JPG lose quality?
A little in theory, not visibly at quality 90 or above. In the recording, each JPG measured 46 to 51 dB PSNR against its HEIC, well beyond what eyes can see. The bigger loss is HEIC-only extras like depth data for Portrait mode.
Why won't Windows open my HEIC photos?
Windows needs two add-ons from the Microsoft Store to read them: HEIF Image Extensions and HEVC Video Extensions. Some PCs come with them; many don't, and the HEVC one costs $0.99.
Do online HEIC converters keep the date taken?
Some do and some strip all metadata, and you're uploading your photos to someone else's server. Check one converted file's Properties, Details tab before trusting a whole batch.
Can Stella also sort the photos into folders by date?
Yes, in the same chat: by year and month from the date taken. If the dates themselves are wrong, as they often are after a Google Photos export, see fixing Google Takeout photo dates.
Is Stella free for this?
Yes. Free with the ChatGPT or Claude plan you already have. Sign in with your ChatGPT plan, or use your Claude plan through Claude Code, and this task costs nothing extra. New accounts also get a small free trial of Stella’s own models.
Can I control what Stella changes on my computer?
Yes. Stella works on Windows, Mac and Linux with your own files and shows each step in the chat, so you can watch it and stop it at any point. Tell it what it may not do, as the prompts on these pages do (“don't delete anything without asking”). In the Downloads recording it deleted nothing until it was told to go ahead. It also refuses commands that would wipe a whole disk, your home folder or system folders.
Checked against these sources on 12 November 2026.