Table of Contents
You can save the soundtrack from an iPhone video with a shortcut that receives the video, uses Encode Media with Audio Only enabled, and saves the result through Save File. Build it once, then run it from the video’s Share Sheet. This creates a separate audio file and leaves the source video in place.
Use a video stored in Photos or Files, rather than a link to a streaming page. Shortcuts labels and button positions can vary by iOS version; the screenshots below show an earlier interface.
1. Create and name the shortcut
Open Shortcuts, tap +, and give the new shortcut a recognizable name, such as Extract Audio. Use the name menu or shortcut details to rename it, depending on your version.

You can also choose an icon and color. This is optional and does not affect conversion.

2. Show it in the Share Sheet
Open the shortcut’s Details and enable Show in Share Sheet, then tap Done. This adds an input definition at the start of the shortcut. Apple’s Share Sheet shortcut instructions explain how this lets another app pass content into the workflow.

In the editor, tap the input types in the Receive line. Clear the types you do not need and select Media, which includes video and audio. The wording may say “Any” or list several content types; the number shown is not important.

This input filter helps the shortcut appear when you share suitable media. It does not itself extract the soundtrack.
3. Add Encode Media and enable Audio Only
Search the action list for Encode Media and add it. Its input should be Shortcut Input, the video received from the Share Sheet. If another value is selected, tap the input field and choose that variable.
Expand the action’s options and turn on Audio Only. “Encode Media” is a conversion action, not an encryption tool; “Audio Only” is the setting that removes the video portion from the output.

Choose M4A if shown and suitable for your intended player. The action may offer other audio formats. Selecting M4A does not produce MP3, and renaming the file extension afterward will not convert it to MP3.

4. Save the encoded audio
Add Save File immediately after Encode Media. Check that it saves Encoded Media, rather than the original Shortcut Input. Expand its options and enable Ask Where to Save so you can choose the folder on each run.

The finished sequence should be:
- Receive Media from the Share Sheet.
- Encode Media using Shortcut Input, with Audio Only on.
- Save File using Encoded Media, with Ask Where to Save on.
Save the shortcut with Done.
5. Run it on a video and check the result
- Open a video in Photos, or select a suitable video file in Files.
- Tap Share, scroll through the actions, and select Extract Audio.
- Review any first-run permission prompt needed to access or save the selected file.
- Choose a destination in Files and confirm the save using the button shown.
- Open the saved audio and listen to it before sharing it or removing any source material.


You can organize the action using the guide to customizing the iPhone Share Sheet. If you cannot find the result, check the folder you selected; the iPhone file-location guide explains browsing and searching in Files.
If the shortcut does not work
- It is missing from Share: check Show in Share Sheet and the Media input type. Share an actual video file rather than a web address.
- It saves another video: check Audio Only and confirm that Save File receives Encoded Media.
- The audio is silent: play the source video to confirm it has sound. The shortcut cannot recover audio that was not recorded.
- It fails on a long clip: test a short ordinary video first, check available storage, and make sure cloud-stored media is downloaded.
Reader Comments 0
Sign in with email or Google to join the discussion.