What is the SWC file format?
An .swc file is a compiled ActionScript component library used by the Adobe Flash and Flex development ecosystems. The name stands for ShockWave Component. At build time, the Flex SDK compilers mxmlc (application compiler) and compc (component compiler) link .swc libraries into the final SWF application, embedding the precompiled bytecode and assets they contain.
Structurally, an .swc is a standard ZIP archive containing at minimum two entries: catalog.xml, which lists the ActionScript classes, their dependencies, and modification timestamps, and library.swf, a precompiled SWF carrying exported symbols, bytecode, and embedded assets. Renaming .swc to .zip and extracting it reveals these contents directly.
The format originated with Macromedia Flash MX in 2002 and became the standard distribution unit for reusable ActionScript 3 libraries and UI components under Adobe Flex (Flash Builder) and Apache Flex.
The entire SWC ecosystem is now obsolete:
- Adobe Flash Player reached end-of-life on 31 December 2020; Adobe blocked the runtime from 12 January 2021
- Adobe Flash Builder is discontinued
- Adobe Animate (Flash's successor) targets HTML5 Canvas, not SWF
- Apache Flex SDK is in maintenance mode only (last release 4.16.1, 2017)
- The Ruffle emulator (
ruffle.rs) plays some legacy SWFs but has ActionScript 3 coverage gaps
Modern JavaScript/TypeScript npm packages serve the role that .swc libraries once filled.
Security & safety
RISK: LOWAn SWC is a developer library consumed at compile time, not at runtime by end users. It cannot be run standalone and contains no self-executing code outside the Flash/Flex toolchain. However, the library.swf inside could theoretically contain malicious ActionScript if the SWC came from an untrusted source. In practice, SWC files from unknown sources pose minimal risk because the Flash plugin that would execute them is gone; only developers building Flash/AIR apps still link SWCs.
Format details
in a nutshell- Spine 2D animation runtime library - Spine (Esoteric Software) uses .swc for its runtime library distributed to Flash/Flex developers; same ZIP container, different contents.
Programs that open SWC files
Technical details
deep spec| Container format | ZIP archive (PKZIP); magic bytes 50 4B 03 04 at offset 0 |
| Required contents | catalog.xml (class manifest) and library.swf (precompiled SWF with bytecode and assets) |
| Compiler tools | compc (component compiler) and mxmlc (application compiler) from Flex/Apache Flex SDK |
| ActionScript VM | AVM1 (ActionScript 2) or AVM2 (ActionScript 3) bytecode inside library.swf |
| Compression | DEFLATE per ZIP entry; no package-level compression |
| Typical file size | 20 KB - 5 MB (small utility library to large component library) |
| Checksum | ZIP CRC-32 per entry; no package-level signature |
| Optional contents | META-INF/ metadata folder, default.css stylesheet, additional asset folders |
| Catalog metadata | Flex SDK version and class modification dates embedded in catalog.xml |
| Operating system | Windows, macOS, Linux (Apache Flex/AIR SDK cross-platform) |
| Inspection method | Rename .swc to .zip and extract with any ZIP tool to view catalog.xml and library.swf |
| Obsolescence | Flash Player end-of-life 31 Dec 2020; Flash Builder discontinued; Apache Flex in maintenance only |
| Released | 2002 (Macromedia Flash MX; SWC concept expanded in Flash 8 / Flex SDK 1.0 ~2004-2005) |
| Latest version | Flash/Flex SDK era ended; Apache Flex SDK 4.16.1 (2017) is the last meaningful release |
| Specification | help.adobe.com |
SWC conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about SWC files.