.SWF

SWF File

Small Web Format (Shockwave Flash)
Ask a question
QUICK ANSWER

An SWF file is a compiled Adobe Flash animation, game, or interactive movie (Small Web Format). Adobe Flash Player reached end-of-life on 31 December 2020 and now actively blocks all Flash content, so the old advice of enabling Flash in your browser no longer works. In 2026 the way to open an SWF is Ruffle (ruffle.rs), a free open-source Flash emulator available as a desktop app or browser extension.

Developer: Adobe Systems (originally FutureWave / Macromedia) Category: Video Files Open standard MIME: application/x-shockwave-flash
OPENS ON Windows macOS Linux Web
Related: .DAV · .MKV · .MP4 · .H264

On this page

19k+ extensions indexed
Last reviewed Jun 20, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the SWF file format?

Files with the .swf extension contain animations - which can be interactive - stored in a binary multimedia format originally created by FutureWave Software in 1996. The name stands for Small Web Format, reflecting its original goal of delivering compact, bandwidth-friendly animation over the internet.

The format was acquired by Macromedia and later by Adobe, and is used to create and store:

  • multimedia content including audio and video,
  • vector graphics and bitmaps,
  • ActionScript bytecode and interactive applets.

Applications historically used to create .swf files include Adobe Flash and Adobe Animate, which succeeded it; open-source tools such as SWFTools were also available. In 2008, Adobe partially opened the format specification, allowing search engines such as Google and Yahoo to index content inside animations. The format developed over many years: early versions enabled animating only vector graphics, and later releases extended its possibilities to streaming audio and video and basic 3D animation.

Adobe Flash Player - the browser plugin required to play .swf files - reached end of life on December 31, 2020. Files can still be played outside a browser using the standalone Ruffle emulator or via the Internet Archive's Flash preservation player. Source projects were typically saved as .FLA files and compiled to .swf for distribution; related formats include .FLV for Flash video streams and .SWC for reusable Flash component libraries.

Security & safety

RISK: MEDIUM

SWF was a notorious malware vector - Flash Player had a long history of critical remote-code-execution CVEs, which is a major reason it was killed. The legacy plug-in is gone, so drive-by SWF exploits in browsers are no longer a live threat. Residual risks: (1) an SWF contains ActionScript that can make network calls or open URLs, so only run untrusted files in the sandboxed Ruffle (preferred) rather than the offline debug projector; (2) malicious .exe 'projector' files pretending to be a harmless animation; (3) never reinstall the discontinued Flash Player from third-party 'codec' sites - those installers are themselves a common malware lure.

Format details

in a nutshell
FULL NAMESmall Web Format (Shockwave Flash)
DEVELOPERAdobe Systems (originally FutureWave / Macromedia)since 1996 (FutureSplash Animator); Adobe published the SWF File Format Specification, now withdrawn after Flash EOL
CATEGORYVideo Files
MIME TYPEapplication/x-shockwave-flash
TYPEBinary multimedia format - timeline of vector graphics, bitmaps, audio and ActionScript bytecode (not really 'video')
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102
HEX
465753
ASCII
FWS
Byte 3 is the SWF version number; bytes 4-7 are the uint32 file length. CWS (SWF 6+) and ZWS (SWF 13+) compress everything after the 8-byte header.

Programs that open SWF files

Windows3 apps
SWFTools Open-source Command-line toolkit: 'swfrender file.swf out.png' renders frames; mainly for inspection/conversion, not interactive playback.
Ruffle (standalone desktop) Open-source Download the desktop build, then drag the .swf onto the Ruffle window (or run 'ruffle file.swf'). The current way to play Flash in 2026.
Adobe Flash Player Projector (debug/standalone) Free The offline standalone projector (flashplayer_sa.exe) still runs SWFs locally because it has no kill-switch - grab it from the Internet Archive; use only for trusted files.
macOS1 app
Ruffle (standalone desktop) Open-source Download the macOS build and open the .swf with it; the actively maintained Flash replacement.
Linux1 app
Ruffle (standalone desktop) Open-source Install the Linux build (AppImage / package) and run 'ruffle file.swf'.
Web2 apps
Ruffle (browser extension) Open-source Install the Ruffle extension for Chrome/Firefox/Edge; it emulates Flash so embedded SWFs on pages play again.
Internet Archive Flash player Free The Archive runs Ruffle in-browser; upload or browse archived SWFs and they play without any local install.

Technical details

deep spec
Magic bytesFWS (46 57 53) = uncompressed; CWS (43 57 53) = zlib-compressed; ZWS (5A 57 53) = LZMA-compressed - all at byte offset 0
Version & length fieldsByte 3 encodes the SWF version number (1-46); bytes 4-7 store the full uncompressed file length as a little-endian uint32
MIME typeapplication/x-shockwave-flash
CompressionNone (SWF 1-5); zlib applied after the 8-byte header (SWF 6+, CWS signature); LZMA applied after the 8-byte header (SWF 13+, ZWS signature) - the first 8 bytes are never compressed
Coordinate unitTwip (1/20 of a pixel); all spatial values are stored as twip integers using variable-length SWF bit fields
Tag-based structureContent encoded as tagged records: 2-byte short header (10-bit record type + 6-bit length) or 6-byte long header for payloads ≥ 63 bytes
Vector graphicsShapes defined via SHAPE records with quadratic Bézier curve edges; fill types include solid color, linear/radial gradient, and bitmap
Scripting engineActionScript 1 & 2 run on AVM1 (stack-based interpreted VM); ActionScript 3 (SWF 9+) runs on AVM2 (register-based, with JIT in some runtimes)
Video codecsSorenson Spark (SWF 6+), Screen Video (SWF 7+), On2 VP6 and VP6 with alpha channel (SWF 8+)
Audio codecsUncompressed PCM, ADPCM, MP3, Nellymoser (SWF 6+), Speex (SWF 10+)
Font embeddingTrueType outlines converted to SWF shape records; DefineFont2 and DefineFont3 tags include full Unicode character tables
3D transformsPlaceObject3 tag (SWF 11+) adds a 4×4 perspective matrix enabling 3D rotation and projection of display-list objects
Binary data embeddingDefineBinaryData tag (SWF 9+) allows arbitrary raw binary payloads to be stored inside the .swf container
Timeline modelFrame-based display list; each frame is a diff of PlaceObject and RemoveObject tags applied to the scene graph - not a full keyframe snapshot
Released1996 (FutureSplash Animator); Adobe published the SWF File Format Specification, now withdrawn after Flash EOL
Open standardYes · royalty-free
Specificationweb.archive.org

SWF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SWF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about SWF files.

Frequently asked questions

How do I open an SWF file now that Flash is dead?
Use Ruffle (ruffle.rs), a free open-source Flash emulator. Install the desktop app and drag the .swf onto it, or add the browser extension to play SWFs embedded in pages. Adobe Flash Player no longer works.
Why won't my SWF play in the browser anymore?
Adobe Flash Player reached end-of-life on 31 December 2020 and has been blocking all Flash content since 12 January 2021; every browser removed the plug-in. Install the Ruffle extension to bring SWF playback back.
How can I convert an SWF to MP4?
Because SWF is interactive, the reliable way is to play it in Ruffle and screen-record with OBS Studio, then save as MP4. Frame-by-frame renderers (SWFTools) work only for simple, non-interactive animations.
Can I get the original FLA back from an SWF?
No. SWF is the compiled output; the editable FLA source can't be reconstructed. A decompiler like JPEXS can extract images, sounds and approximate ActionScript, but not the original project.
Is it safe to run old SWF files?
Run them in Ruffle, which is sandboxed and doesn't have Flash's exploit history. Avoid reinstalling Adobe Flash Player (discontinued, and fake 'Flash' installers are malware) and be cautious with SWF-to-EXE 'projector' files from unknown sources.
What's the difference between SWF and FLV?
SWF is the interactive Flash application/animation (vectors, code, assets); FLV is Flash Video - a plain video stream that old Flash players displayed. They are different formats; media players that 'played Flash' usually meant FLV.

References

1Adobe - Flash Player end of life general informationwww.adobe.com
2Ruffle - Flash Player emulator (official site)ruffle.rs

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BCBitComet Incomplete Download File
3.CRDOWNLOADChrome Partial Download File
4.MDMarkdown Document
5.PARTPartial Download File
6.BINCD/DVD Disc Image (BIN/CUE)
7.EXEWindows Executable (Portable Executable)
8.RPMSGRestricted Permission Message
9.AVIFAV1 Image File Format (AVIF)
10.NOMEDIAAndroid No-Media Marker File

Related extensions

.DAVDVR365 / Dahua DVR Video File (DHAV stream)
.MKVMatroska Video
.MP4MPEG-4 Part 14 Video File
.H264Raw H.264 / AVC Video Elementary Stream
.VOBDVD Video Object File
.264Raw H.264 / AVC Video Elementary Stream (DVR/CCTV export)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z