Encode audio recording as text

Gets a folder of audio files, lets you choose one, and encodes the result to base64 (to be placed into another shortcut and decoded to play the sound).

Actions Used

shortcuts-action-icon-save-file.webp
Save File
Save files to iCloud Drive. Turn off “Ask Where to Save” in order to specify a destination path in the Shortcuts folder.
action-icon-base64-encode.webp
Base64 Encode
Encodes or decodes text or files using Base64 encoding.
shortcuts-action-icon-choose-from-list.webp
Choose from List
Presents a menu of the items passed as input to the action and outputs the user’s selection. Prompt The instruction provided when the list is presented. Select Multiple When enabled, multiple items may be chosen from the list.
shortcuts-action-icon-get-contents-of-folder.webp
Get Contents of Folder
This action gets the files inside of the specified folder. Recursive If this option is enabled, this action will get all the files inside of a folder, including its subfolders.

Extra Details

Run Shortcut deep link
shortcuts://run-shortcut?name=Encode%20audio%20recording%20as%20text
Open Shortcut deep link
shortcuts://open-shortcut?name=Encode%20audio%20recording%20as%20text
AppleScript code
tell application “Shortcuts Events” run shortcut “Encode audio recording as text” end tell

More From This Folder

Encode audio

Records audio until you tap it to stop, then encodes it into a text-based format, then copies it to your clipboard (to be decoded and played back later).

Get Shortcut »

Record as AIFF

Records normal quality audio, starting or stopping with your tap, then encoding the recorded audio to AIFF before saving to to a folder of your choice.

Get Shortcut »

More From The Library


Get way deeper into Shortcuts – become a member.