Convert HEIC into JPG on macOS

81 Likes Comment
Convert HEIC to JPG

HEIC stands for High-Efficiency Image Container, is the default format on new photos on iOS 11 or later.

And there’s a little issue for you when you need to create some designs on windows, or the application requires JPG/JPEG format.

Here we will have a solution to convert HEIC file format into JPG on Mac.

1.Install Homebrew

/bin/bash -c "$(curl -fsSL"

2.Install imagemagick

brew install imagemagick

3.Create a bash shell ( save as: , chmod +x )


# 1
set -eu -o pipefail

# 2
count=$(find . -depth 1 -name "*.HEIC" | wc -l | sed 's/[[:space:]]*//')
echo "converting $count files .HEIC files to .jpg"

# 3
magick mogrify -monitor -format jpg *.HEIC

# 4
echo "Remove .HEIC files? [y/n]"
read remove

# 5
if [[ "$remove" == "y" ]]; then
  find . -depth 1 -name "*.HEIC" -delete

4.Copy into /usr/local/bin/ folder then you could run it from anywhere in your mac

sudo cp /usr/local/bin/xheic

5.Now you got all jpeg image files to continue your creative designs.

You might like

About the Author: Toc Xoan

This guy likes taking photos, hunting cheap tours, exploring the unique culture of every cities of Vietnam. Contact: [email protected]. I've created a dogecoin wallet to receive blog funding: DE6F5FisSCy7yz5rpHY1ChMSGYnDMpFZ1Q

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.