How to Convert HEIC to JPG in Bulk Using ImageMagick
One command to convert all your iPhone HEIC photos to universally compatible JPG.
Modern iPhones shoot in HEIC format — smaller files, better quality, but poor compatibility with many apps and platforms. Here's the single command to convert them all to JPG without losing quality.
The HEIC format used by iPhones produces smaller files with better quality than JPG — but many apps, websites, and operating systems still don't support it. The solution is ImageMagick, available on virtually every platform.
The command: mogrify -format jpg *.HEIC

This converts every HEIC file in the current directory to JPG. Run it on a server or powerful machine if you have thousands of photos — Willem used a VPS to take advantage of server-grade CPU power. Don't forget to remove the original HEIC files afterwards.
From Willem's complete guide to managing photos with free software.