Shortcut to extract all individual images from multi-image HEIC files on iOS and macOS

A shortcut for iOS and macOS that can for example be used to extract all the individual images from Apple's multi-image wallpaper files. Can also be used to batch convert both single-image and multi-image HEIC files to JPEG.

There doesn't seem to be any app on the App Store that's able to extract more than the first image from multi-image HEIC files. Same situation with the Convert Image action in Shortcuts app.

There's also a Get Frames from Image action, but that's only for animated GIF and photo burst files, according to the description. It actually accepts HEIC files as well, but unfortunately only the main image get's extracted with this one too.

Turns out, though, that you can trick it to extract the others too, by just changing the image's file extension to gif (and luckily, the extracted images aren't reduced to GIF level quality, despite the troubling extension name).

Download shortcut (last updated 2025-07-24 05:37 UTC)