SWF to AVI Converter

Extract the media inside a Flash SWF and re-encode it as an AVI, with no Flash runtime.

or drop files here

SW

SWF Format

Shockwave Flash

A file format for Adobe Flash animations, games and interactive content, originally from Macromedia. Flash Player reached end of life on 31 December 2020.

  • vector animation
  • ActionScript interactivity
  • can embed video and audio
  • legacy format
AV

AVI Format

Audio Video Interleave

A container format introduced by Microsoft in 1992 based on RIFF. It interleaves video and audio data and can hold many different codecs.

  • RIFF-based container
  • many codecs
  • limited support for modern features
  • legacy format

How to convert SWF to AVI

Follow these steps to convert SWF to AVI online.

    1

    Choose your SWF file, or several at once.

    2

    Wait while the converter turns each file into AVI.

    3

    Download each new AVI file. Your original file isn't changed.

What to know before converting SWF to AVI

  • Only the sound and video stored in the SWF are converted. Vector drawings and ActionScript are not played.
  • Buttons and menus do not survive, because an AVI has no controls.
  • Media the SWF loads from other files is not included.
  • The AVI holds MPEG-4 video and MP3 sound.

About SWF files

What is an SWF file?

Flash animations, games and interactive pages were delivered as SWF files, a format that began at Macromedia. Adobe acquired Macromedia in 2005. The Library of Congress also records the expansion Small Web Format. A file can combine vector graphics, animation and bitmap video. Interactive content uses ActionScript alongside a timeline.

An SWF may refer to external media instead of holding every resource. Flash Player was discontinued by Adobe on 31 December 2020, which leaves SWF mostly as a format for old archived web content.

Programs that open SWF files

Windows, macOS and Linux

  • Ruffle: emulates Flash, and how well a file plays depends on the ActionScript features it uses.

Windows and Linux

  • Lightspark: a Flash implementation that is only partial.

Mac

  • Adobe Audition: imports SWF to extract audio from a video file if DLMS support is enabled; it does not run interactive Flash.

Web

  • Ruffle's web player: runs Flash in a browser through WebAssembly, and some APIs are still missing.

SWF and AVI compared

  • Purpose: an SWF is a Flash container for vector animation, ActionScript and embedded media. An AVI holds interleaved video and audio.
  • Interaction: an SWF can respond to clicks through ActionScript. An AVI plays from start to finish.
  • Container: an AVI is RIFF-based and can hold many codecs. Microsoft introduced it in 1992.
  • Players: AVI plays in QuickTime Player, in Windows Media Player and in VLC.

Here FFmpeg takes the media streams out of the SWF, encodes the video as MPEG-4 and the sound as MP3, and wraps them in an AVI.

Other ways to convert SWF to AVI

  • FFmpeg: run ffmpeg -i clip.swf -c:v mpeg4 -c:a libmp3lame decoded.avi. FFmpeg's SWF reader decodes audio and video tags and skips the rest, so ActionScript does not run.
  • JPEXS Free Flash Decompiler with FFmpeg: on Linux, run ffdec -export movie extracted presentation.swf. The movie export defaults to FLV without sound. Then run ffmpeg -i extracted-movie.flv -c:v mpeg4 extracted-movie.avi, using the file name the export wrote.
  • Ruffle with OBS Studio and FFmpeg: play the SWF in Ruffle, then in OBS add a Window Capture or Display Capture source, review the audio settings and begin recording. Then run ffmpeg on the recording file, for example ffmpeg -i your-recording -c:v mpeg4 -c:a libmp3lame performance.avi. This captures a game as it plays.

Problems with SWF files

  • Nothing runs: Adobe Flash Player no longer runs Flash content after its end-of-life block. Open the file in Ruffle.
  • A game acts differently: some Flash APIs are missing from Ruffle, so visuals or behavior can change.
  • Parts are missing: an SWF that refers to external media may not behave as intended when those files are absent.

Frequently Asked Questions

Everything you need to know about our converter

Does this page play my Flash animation and record it?

Why doesn't my SWF game come out as a video?

What is inside the AVI?

Does the picture size change?

Will buttons and menus work in the AVI?

What if the SWF loads other files?

Can I convert several SWF files at once?

Is my file sent anywhere?