Convert SWF to AIFF — Free Online Tool
Extract and convert the audio track from a SWF Flash file into a high-quality, uncompressed AIFF file using the PCM signed 16-bit big-endian codec. This is ideal for recovering audio from legacy Flash animations or interactive content into a lossless format suitable for professional audio workflows on macOS.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your SWF file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
SWF files typically carry audio encoded as MP3 (via libmp3lame) or AAC, wrapped inside the Flash container alongside vector graphics and interactive ActionScript content. During this conversion, FFmpeg demuxes the SWF container to extract the audio stream, then decodes the compressed MP3 or AAC audio fully into raw PCM samples. Those samples are then re-encoded as PCM signed 16-bit big-endian (pcm_s16be) and written into an AIFF container. Because AIFF is uncompressed, the output will be significantly larger than the SWF source, but there is no further lossy compression step — the quality ceiling is determined by the original compressed audio in the SWF. The video, vector graphics, and interactive elements in the SWF are discarded entirely, as AIFF is an audio-only format.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg tool, which handles all demuxing, decoding, and encoding entirely within your browser via WebAssembly — no data leaves your device. |
-i input.swf
|
Specifies the input SWF file. FFmpeg's SWF demuxer reads this Flash container and identifies the available audio stream (typically MP3 or AAC) along with any video or interactive data, which will be ignored for this audio-only output. |
-c:a pcm_s16be
|
Sets the audio codec to PCM signed 16-bit big-endian, the standard uncompressed audio encoding for AIFF files. This fully decodes the lossy MP3 or AAC audio from the SWF into raw PCM samples stored at CD quality depth, without applying any additional compression. |
output.aiff
|
Defines the output filename and tells FFmpeg to write an AIFF container. The .aiff extension triggers FFmpeg's AIFF muxer, which wraps the pcm_s16be audio stream in Apple's Audio Interchange File Format, the standard lossless audio container for macOS and professional audio applications. |
Common Use Cases
- Recovering background music or voiceover audio from legacy Flash-based e-learning modules that are no longer playable in modern browsers, for use in updated course materials.
- Extracting the audio from an archived SWF animation to import into a professional DAW like Logic Pro or Pro Tools on macOS, where AIFF is a native and preferred format.
- Pulling sound effects or jingles out of old Flash advertisements or interactive banners to reuse those assets in modern web or video projects.
- Archiving audio content from SWF games or interactive presentations before the files become completely inaccessible, preserving them in a stable, uncompressed format for long-term storage.
- Converting Flash-based podcast or radio player audio (stored as SWF) into AIFF for editing, trimming, or mastering in audio production software.
- Providing a clean, uncompressed AIFF source file to a sound designer who needs to analyze or restore audio originally embedded in a Flash file.
Frequently Asked Questions
No — the output quality is bounded by the source. SWF files store audio in a lossy format, typically MP3 at 128k or AAC. FFmpeg fully decodes that compressed audio and writes it as uncompressed PCM into the AIFF file, which means no additional quality is lost in the conversion step, but the original lossy compression artifacts from the SWF are already baked in. The AIFF is a lossless container of a lossy source, so it will be larger but not higher fidelity than the original.
SWF embeds audio in compressed formats like MP3 or AAC, which can achieve compression ratios of 10:1 or more. AIFF with PCM audio is completely uncompressed — every sample is stored as raw binary data. A 3-minute MP3 audio track inside a SWF might be around 3MB, while the same audio as 16-bit 44.1kHz AIFF will be roughly 30MB. This size increase is expected and normal for any conversion to an uncompressed format.
They are discarded entirely. AIFF is a pure audio format with no support for video, vector graphics, or interactive data. FFmpeg extracts only the audio stream from the SWF and ignores all other content. If you need to preserve the visual content, you would need a separate SWF-to-video conversion rather than this audio-only extraction.
The default command uses pcm_s16be, which is 16-bit signed big-endian PCM — the standard for CD-quality audio in AIFF files. AIFF also supports higher bit depths: you can substitute -c:a pcm_s24be for 24-bit or -c:a pcm_s32be for 32-bit output. However, since the source audio in a SWF is almost always 16-bit or lower, choosing a higher bit depth will simply pad the existing samples with zeros and will not recover detail that was not in the original file.
On macOS or Linux, you can use a shell loop: for f in *.swf; do ffmpeg -i "$f" -c:a pcm_s16be "${f%.swf}.aiff"; done. On Windows Command Prompt, use: for %f in (*.swf) do ffmpeg -i "%f" -c:a pcm_s16be "%~nf.aiff". Each SWF file in the directory will be processed in sequence, producing a matching AIFF file for each one.
SWF files do not carry standard audio metadata tags in the way that MP3 or MP4 containers do, so there is typically no title, artist, or album information to transfer. FFmpeg will pass through any metadata it can read from the SWF demuxer, but in practice the output AIFF will usually have no embedded metadata. You can add metadata manually using FFmpeg flags like -metadata title="Song Name" inserted before the output filename in the command.
Technical Notes
SWF's internal audio is demuxed by FFmpeg's libavformat SWF demuxer, which handles both the legacy FLV1/Sorenson video codec and the MP3 or AAC audio streams commonly found inside Flash files. Because SWF was designed as a delivery container rather than an archival one, audio is often stored at relatively low bitrates (64k–128k MP3). The pcm_s16be codec used in the output is big-endian, which is historically native to AIFF (an Apple/Motorola format) and differs from the little-endian PCM used in WAV files. If you plan to use the AIFF in a cross-platform context, be aware that while most modern DAWs handle both endiannesses transparently, some older tools may prefer WAV (pcm_s16le). One known limitation: SWF files that use streaming MP3 audio (as opposed to event sounds) may occasionally have minor timing offsets when demuxed, since Flash's streaming audio was synchronized to the frame timeline rather than stored as a contiguous stream. FFmpeg handles this reasonably well, but very long SWF files with complex audio synchronization may have slight gaps or overlaps at stream boundaries.