.SWC

SWC File

Adobe Flash SWC Component Library
Ask a question
QUICK ANSWER

An SWC file is a precompiled ActionScript/Flex component library for Adobe Flash, packaged as a ZIP archive containing compiled code and a class manifest. It is a developer build tool, not a runnable application - you never open it by double-clicking. To inspect its contents, rename the file from .swc to .zip and open it with any archive manager. Adobe Flash reached end-of-life on 31 December 2020, so SWC files are now legacy artifacts used only in niche Apache Flex or Adobe AIR projects.

Developer: Adobe Systems (originated with Macromedia) Category: Developer Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Jun 23, 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 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: LOW

An 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
FULL NAMEAdobe Flash SWC Component Libraryaka ShockWave Component, SWC library
DEVELOPERAdobe Systems (originated with Macromedia)since 2002 (Macromedia Flash MX; SWC concept expanded in Flash 8 / Flex SDK 1.0 ~2004-2005)
MIME TYPEapplication/octet-stream
TYPEZIP-based compiled ActionScript library (binary)
This extension is also used by…
  • Spine 2D animation runtime library - Spine (Esoteric Software) uses .swc for its runtime library distributed to Flash/Flex developers; same ZIP container, different contents.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
An SWC is a ZIP archive; its magic bytes are identical to any ZIP. Distinguish by contents: must contain catalog.xml and library.swf at minimum.

Programs that open SWC files

Windows4 apps
7-Zip Open-source Right-click the .swc > Open archive - inspect catalog.xml and library.swf inside. Rename .swc to .zip first if 7-Zip doesn't associate the extension.
Apache Flex SDK (COMPC/MXMLC compilers) Open-source Add to -library-path when compiling a Flex/AS3 project from the command line. The SDK is in maintenance mode but functional.
Adobe Flash Builder 4.7 Paid Project > Properties > Build Path > Library Path - add the .swc. Flash Builder is discontinued and no longer sold.
IntelliJ IDEA (with Flex plugin) Freemium Add the .swc to the project SDK/library configuration in Flex module settings. IDEA's Flex support is now bundled in the Ultimate edition only.
macOS2 apps
Apache Flex SDK (COMPC/MXMLC) Open-source Add to -library-path in your compile script. Works on macOS the same as Windows.
7-Zip / Archive Utility Open-source Rename .swc to .zip and open with Archive Utility or 7-Zip for macOS to inspect contents.
Linux1 app
Apache Flex SDK (COMPC/MXMLC) Open-source Same compile-time usage as Windows/macOS - add to -library-path.

Technical details

deep spec
Container formatZIP archive (PKZIP); magic bytes 50 4B 03 04 at offset 0
Required contentscatalog.xml (class manifest) and library.swf (precompiled SWF with bytecode and assets)
Compiler toolscompc (component compiler) and mxmlc (application compiler) from Flex/Apache Flex SDK
ActionScript VMAVM1 (ActionScript 2) or AVM2 (ActionScript 3) bytecode inside library.swf
CompressionDEFLATE per ZIP entry; no package-level compression
Typical file size20 KB - 5 MB (small utility library to large component library)
ChecksumZIP CRC-32 per entry; no package-level signature
Optional contentsMETA-INF/ metadata folder, default.css stylesheet, additional asset folders
Catalog metadataFlex SDK version and class modification dates embedded in catalog.xml
Operating systemWindows, macOS, Linux (Apache Flex/AIR SDK cross-platform)
Inspection methodRename .swc to .zip and extract with any ZIP tool to view catalog.xml and library.swf
ObsolescenceFlash Player end-of-life 31 Dec 2020; Flash Builder discontinued; Apache Flex in maintenance only
Released2002 (Macromedia Flash MX; SWC concept expanded in Flash 8 / Flex SDK 1.0 ~2004-2005)
Latest versionFlash/Flex SDK era ended; Apache Flex SDK 4.16.1 (2017) is the last meaningful release
Specificationhelp.adobe.com

SWC conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with SWC 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 SWC files.

Frequently asked questions

What is an SWC file and how is it different from an SWF?
An SWC is a precompiled ActionScript/Flex library (a ZIP containing catalog.xml + library.swf) used at build time by the Flash/Flex compiler. An SWF is the final compiled output that Flash Player (or Ruffle) actually runs. You never run an SWC directly.
Can I open or run an SWC file?
Not as an application. To inspect its contents, rename it to .zip and open with any archive manager - you'll see catalog.xml and library.swf inside. To use it in a project, add it to your Flex/AS3 compiler's library path.
Are SWC files still used in 2026?
Only in very niche scenarios: legacy Apache Flex / Adobe AIR applications. The broader Flash ecosystem ended with Flash Player's EOL in December 2020. Modern web development uses JavaScript/TypeScript, not ActionScript.
How do I see what's inside an SWC file?
Rename the .swc to .zip (or use 7-Zip with 'Open archive'), then browse the ZIP. catalog.xml lists the classes; library.swf is the compiled bytecode (viewable with JPEXS Free Flash Decompiler).
What replaced SWC component libraries?
In the web world, npm packages and ES modules replaced the concept. If migrating a Flex app to React/Angular, its SWC component dependencies need to be rebuilt as JavaScript equivalents - there is no automatic converter.

References

1Adobe Flash Platform - Component architecture (SWC definition)help.adobe.com
2Wikipedia - Adobe SWC fileen.wikipedia.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.PARTPartial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.DOStata Do-File
.MDMarkdown Document
.HEXIntel HEX File
.XSDXML Schema Definition
.MAPSource Map (JavaScript / CSS)
.CONFIGConfiguration File

Free file tools

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

Open the toolbox

Browse file extensions A-Z