How to convert HEIC to JPEG offline
Convert a HEIC photo to JPEG on your device using ImageMagick. Check the output format and dimensions before sharing.
Run these commands in a terminal on your own device using an ImageMagick build with HEIC read support. This page provides the instructions and FileTypeKit can inspect the result locally.
Check support and convert
- Run the first command and find HEIC with an r in its mode. For WebP output, check that WEBP has a w.
- Put a copy of your photo in the working folder. Change the filenames to match your input and a new output. [0] selects one image from the HEIC container.
- Compare the reported dimensions and open the output to check orientation and color.
magick identify -list format
magick "photo.heic[0]" -auto-orient -background white -alpha remove -alpha off -quality 90 "photo.jpg"
magick identify "photo.heic" "photo.jpg"Tested with ImageMagick 7.1.2-36 on Windows. An 80 × 64 HEIC produced an 80 × 64 JPEG.
What to verify in JPEG
Use JPEG for broad compatibility. The example flattens transparent areas onto white. Inspect fine detail because JPEG re-encodes the image with lossy compression.
Keep the HEIC original for auxiliary images, HDR and metadata. Check what survives in the exported copy if these matter to your workflow.
On a Mac, you can also open the HEIC in Preview and use File → Export to save a JPEG copy. Apple Preview guide
ImageMagick format and delegate reference · Identify the output file · HEIC format reference
Isolated local workspace · No uploads, tracking, or advertisements on this service.