Skip to main content
Files

Convert HEIC photos to JPG on Mac, a whole folder at once

A DockRun workflow that makes a JPG copy of every HEIC photo in a folder with the converter built into macOS. Originals are kept.

The button needs DockRun 0.1.19 or later. On an older version, download the file, then use Settings > Restore or Import… in DockRun.

Runs in DockRun Free, which holds 2 workflows.

What it does

  • Converts every .heic photo in the folder to a JPG next to it, using the image tool that ships with macOS.
  • Keeps the HEIC originals.
  • Skips photos that already have a JPG, so running it twice is safe.

What you can change

  • folder - The folder with your HEIC photos. Starts as: ~/Downloads

The steps

Read the script below before you add it. It is everything this workflow runs.

  1. 1. Convert the photos
    Runs this zsh script · Arguments: {{var.folder}} · Time limit: 300 seconds
    # Makes a JPG copy of every HEIC photo in a folder (default ~/Downloads). The HEIC originals are kept,
    # and a photo that already has a JPG next to it is skipped.
    folder="${*:-~/Downloads}"; folder="${folder/#\~/$HOME}"
    [ -d "$folder" ] || { echo "No such folder: $folder" >&2; exit 1 }
    made=0; skipped=0
    for photo in "$folder"/*.(heic|HEIC)(N); do
      jpg="${photo:r}.jpg"
      if [ -e "$jpg" ]; then skipped=$((skipped + 1)); continue; fi
      if sips -s format jpeg -s formatOptions 90 "$photo" --out "$jpg" >/dev/null 2>&1; then made=$((made + 1))
      else echo "Could not convert ${photo:t}" >&2; fi
    done
    echo "Made $made JPG files in $folder ($skipped already had one)"
    

After you add it

  1. DockRun shows what is in the file and asks before adding it. The workflow arrives turned off.
  2. Open it, read the steps, then turn on the On switch.
  3. Press Run. DockRun asks before a script runs; tick "Don't ask again for this exact step" once you trust it.

Good to know

Nothing is uploaded: the conversion happens on your Mac.

Last tested: 2026-11-12 · All workflows →

Curious if DockRun is right for you?

Let ChatGPT, Claude, or Perplexity look into it - click below and see what AI actually thinks about DockRun.

Convert HEIC photos to JPG on Mac, a whole folder at once | DockRun