How to Create a Mac Quick Action to Convert HEIC to JPG

Here’s a quick guide to creating an Automator service (quick action) so that you can convert HEIC image files to JPG with a right click.

Automatic HEIC To JPG
Text & Photos By David Coleman
Last Revised & Updated:
Topics: HEIC, JPG

I MAY get commissions for purchases made through links in this post.

Quick Summary

  • HEIC is a newer format used by mobile devices, offering quality with smaller sizes.
  • HEIC isn’t as universally compatible as JPG.
  • Automator allows a one-click conversion through a Quick Action setup.
  • The method doesn’t provide control over image compression or editing.

Newer mobile devices have started using an image file format known as HEIC, or high-efficiency image codec, for photos on iPhones and iPads.

It’s conceptually similar to JPGs in that it’s an image format that’s geared toward sharing images, and it uses lossy compression. It maintains good quality while keeping the file size small. And it’s not ideally suited to editing images or storing them in a master archive.

The reason we’re seeing more of it is that it uses a newer, more efficient algorithm to encode the data than JPG. That means small files while maintaining similar or better image quality. And smaller files are especially important for sharing images on the web or transferring from mobile devices.

The catch with HEIC is that it’s not universally compatible in the way that JPGs are. If you try sending a HEIC file to someone else, there’s still a reasonable chance they won’t be able to open it. [1]

Converting the HEIC file to JPG will make it much more compatible. There are multiple ways to do it, and I cover several of them elsewhere on this site. The method I’m focusing on here not only converts the file, but it also sets up a very convenient little workflow hack that’s very handy to have whether you’re converting one file or batches of multiple HEIC files.

Using macOS Automator to Convert HEIC to JPG

If you’re using a Mac–at least, any Mac in the past few generations–you don’t need any fancy software–it’s a function baked directly into macOS and accessible to Automator.

To save yourself some time the next time you have to do it, you can quickly set it up as a Quick Action (or what used to be called context menu services) so that you can right-click on the file and convert it to JPG with a single click.

Open the Automator App

You can find it under `/Applications/Automator.app’.

Set Type of Action

When it asks you for the type of document, choose Quick Action. (In older versions of Mac OSX, it was called Service.) Then hit the Choose button.

How To Convert HEIC To JPG With XnConvert

Set Workflow Options

It will have added an initial section to the workflow area at the right. For the top option next to “Workflow receives current”, select the “image files” option. Leave the rest at their defaults (you can customize the image and color fields if you like, but there’s no need to).

Automatic HEIC To JPG Screenshot

Set Processing Type

From the Library in the left column, click on Photos to narrow the available actions. In the list of actions (second from left), scroll down and choose “Change Type of Images.” Click and then drag to the right-hand workflow panel.

Automatic HEIC To JPG Screenshot
Automatic HEIC To JPG Screenshot

Set Output Image Type

The action will be added, with the default “To Type” set to TIFF. Use the drop-down to change it to JPEG.

Automatic HEIC To JPG

Export Automator Action

That’s all you need to do with the workflow section. Now you just have to export it as an action.

In Automator’s main menu, go to File > Export.

Automatic HEIC To JPG

In the Export As section, name it to whatever you like. Something like HEIC to JPG seems logical. Then choose where you want to save it. This is only a temporary spot for it, so it makes sense to put it somewhere you’ll find it quickly, like the Desktop. Then click the Save button.

Automatic HEIC To JPG with macOS Automator Screenshot

Install Automator Quick Action

Next, find the file you just saved using Finder or, if you put it on the Desktop, just go to the Desktop. Double-click on the file.

You’ll get a popup asking if you want to install it as a quick action (or service). Click on the Install button. The .workflow version will then be automatically moved, and you can now use right-click in Finder to convert the file using the quick action.

Things Worth Knowing

Automator is baked into macOS, so there’s no need to install anything and buy anything.

The app you’ve just created is available immediately. There’s no need to restart the computer or Finder.

When changing the format from HEIC to JPG, you don’t get any control with this method on the level of compression or any other editing controls. To get control over the compression options, you’d need to use either different software or combine this simple action with other actions that can handle those kinds of image transformations and editing. I’ve put together a separate guide to converting HEIC to JPG using XnConvert.

  1. You can turn off HEIC and just use JPGs by going to Settings > Camera > Formats > Most Compatible. This has the effect of also switching any videos you record with the phone’s camera to encode with the widely compatible H.264 codec rather than the newer, less-compatible H.265 HEVC codec.[]
Profile photo of David Coleman | Have Camera Will Travel | Washington DC-based Professional Photographer

David Coleman

I'm a professional photographer based in Washington, DC. Seven continents, up mountains, underwater, and many places in between. I've been shooting for 30+ years, and my photos and time-lapse videos have appeared in a bunch of different publications, from major newspapers to magazines and books, billboards, TV shows, professional sports stadiums, museums, and even massive architectural scrims covering world-famous buildings while they're being renovated. You can see some of my travel photography here and here.

Discussion

  1. I didn’t need to use automator to add this. It is right there in my Quick Actions service menu already. The problem is…. the resultant jpg file is often nowhere to be found. Where does it write this new file? (and what compression settings does it use??)

    Reply
    • Interesting. It might be something that’s being added automatically in more recent versions of macOS. I would have expected it to save to the Desktop by default, but are you able to open the Quick Action in Automator to see what settings it has? There’s a few different places that the actions might be, but the most likely for a built-in action is /System/Library/Automator. A search for .action files should also reveal them.

      Reply
      • Well, I have to fess up. I had a look in automator. And there was my entry. Probably created from your instructions a while back. And then I forgot. And I had it set to dump the created file into a certain location because back then I was doing a bunch and it made sense to put them in their own folder. Now I’ve reset it to the desktop and it works just as expected! So thanks much.

        Reply
  2. Thanks so much for this! I never used Automator, but heard about it for years. This really does come in handy, and I’m appreciative for this.

    Reply
    • You’re welcome! Glad it’s useful. Yes, Automator really is a great tool, but you don’t seem to hear as much about it anymore. But it can do some really useful things, especially with converting and working with images. I’ve been meaning to add some more image-related ones and hope to get to it sometime soon.

      Reply

Leave a Comment