.XAP

XAP File

Silverlight / Windows Phone Application Package
Ask a question
QUICK ANSWER

A XAP file (pronounced "zap") is an old Microsoft application package for Silverlight web apps or Windows Phone 7/8 apps. You cannot run it today - Silverlight reached end of support on October 12, 2021 and Windows Phone is discontinued. You can still inspect the contents by renaming the file to .zip and opening it with 7-Zip or WinRAR.

Developer: Microsoft Category: Executable Files MIME: application/x-silverlight-app
OPENS ON Windows
Related: .APK · .EXE · .VBS · .JAR

On this page

19k+ extensions indexed
Last reviewed Jul 10, 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 XAP file format?

XAP files store application packages for Microsoft Silverlight - a browser plugin framework - and later for Windows Phone 7/8.0 apps. Silverlight itself reached end of life on October 12, 2021, so XAP is now a legacy format.

Silverlight was capable of running code written in managed .NET languages such as C# and VB.NET (and dynamic languages like IronPython). The framework also offered:

  • a graphics rendering engine,
  • HD H.264 video streaming support (introduced in Silverlight 3.0),
  • MP3 and WMA audio support,
  • support for external devices (mouse and keyboard),
  • DRM features.

Most web browsers offered dedicated plugins for Silverlight, including Google Chrome, Internet Explorer, Firefox, Safari, and SeaMonkey. Modern Chrome and Firefox browsers dropped support years before Silverlight's formal end of life, and Microsoft's own Edge browser never supported it.

XAP files were also used for distributing apps for Windows Phone 7 and 8.0. They store apps compressed into ZIP archives along with AppManifest.xaml or WMAppManifest.xml documents and DLL libraries used by the .NET managed runtime. Because a XAP is a standard ZIP archive, you can inspect its contents by renaming the file to .zip. Windows Phone 8.1 and later moved to the APPX packaging format, and XAP files can no longer be run on any current platform.

Security & safety

RISK: MEDIUM

A XAP is inert on modern systems (no runtime to execute it), so the main risk is simply running unknown legacy code if you somehow revive it. The .dll assemblies inside can contain anything, so only inspect XAPs from sources you trust, and treat sideloaded Windows Phone packages from random sites with caution. Inspecting (rename-to-zip) is safe; executing is what carries risk.

Format details

in a nutshell
FULL NAMESilverlight / Windows Phone Application Packageaka XAP package, Silverlight application package
DEVELOPERMicrosoftsince 2007 (Silverlight 1.1/2); used for Windows Phone 7/8 apps (2010-2014)
MIME TYPEapplication/x-silverlight-app
TYPEZIP-based application package (managed .NET assemblies + manifest)
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
504B0304
ASCII
PK··
A XAP is a ZIP archive, so it starts with the ZIP signature 50 4B 03 04 ("PK"). Identify it as a XAP by the internal AppManifest.xaml (Silverlight) or WMAppManifest.xml (Windows Phone) plus the .NET assembly (.dll) entries - not by the magic bytes, which are generic ZIP.

Programs that open XAP files

Windows4 apps
Visual Studio Freemium Only useful with the original Silverlight/Windows Phone project source; legacy Silverlight tooling is unsupported in current VS versions.
WinRAR Paid Open the .xap as an archive, or rename it to .zip first, then extract the contents.
7-Zip Open-source Right-click the .xap > 7-Zip > Open archive (a XAP is a ZIP) to view the manifest, .dll files, and resources without running anything.
ILSpy Open-source Extract the .dll assemblies from the XAP, then open them in ILSpy to inspect/decompile the .NET code.

Technical details

deep spec
Container formatStandard ZIP archive; magic bytes PK (50 4B 03 04) at offset 0
CompressionDEFLATE per ZIP entry; the outer ZIP archive itself is not additionally compressed
MIME typeapplication/x-silverlight-app
Silverlight manifestAppManifest.xaml inside the archive - declares Silverlight runtime version and the managed entry-point assembly
Windows Phone manifestWMAppManifest.xml inside the archive - declares target OS (7.x or 8.0), app capabilities, and app metadata
Code assembliesOne or more managed .NET assemblies (.dll files) compiled for the Silverlight or Windows Phone runtime CLR
IntegrityZIP per-entry CRC-32; Windows Phone Store packages additionally carried a catalog digital signature
EncodingBinary (ZIP container with DEFLATE-compressed managed code and resource entries)
Typical file size100 KB - 100 MB depending on app assets (UI, images, media, code)
Maximum archive entriesZIP format supports up to 65,535 entries; ZIP64 extension removes this limit
IdentificationNot distinguishable from a plain ZIP by magic bytes alone; identified by the presence of AppManifest.xaml (Silverlight) or WMAppManifest.xml (Windows Phone) inside
Platform supportSilverlight in browsers on Windows and macOS; Windows Phone 7 and 8.0 devices - no current platform can execute XAP files
Superseded byAPPX for Windows Phone 8.1 and the Universal Windows Platform; later MSIX for modern Windows apps
StatusDiscontinued - Silverlight end of life reached; Windows Phone discontinued; no current browser or OS can run XAP packages
Released2007 (Silverlight 1.1/2); used for Windows Phone 7/8 apps (2010-2014)
Latest versionWindows Phone 8.0 XAP; Windows Phone 8.1+ moved app packaging toward APPX
Specificationwww.loc.gov

XAP conversions

Community Q&A

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

Frequently asked questions

What is a .xap file?
A Microsoft Silverlight or Windows Phone 7/8 application package - a ZIP archive holding a manifest, .NET assemblies, and resources. Both technologies are now discontinued.
How do I open a .xap file?
To inspect it, rename it to .zip and open with 7-Zip or WinRAR; you'll see the manifest and .dll files. You generally cannot RUN a XAP today because Silverlight and Windows Phone are dead.
Can I still run a XAP on Windows 10/11?
No supported way. Silverlight reached end of support on October 12, 2021 and no modern browser runs it; Windows Phone is discontinued. The app would need rebuilding for a current platform.
How do I install a XAP on Windows Phone?
Only relevant on legacy Windows Phone 7/8 hardware with developer-unlocked sideloading or the old Application Deployment tool. There is no current device or store for it.
Can I convert a XAP to APK or EXE?
No. A XAP contains .NET assemblies for the dead Silverlight/WP runtime; APK (Android) and EXE (native Windows) are entirely different. The app would have to be rewritten, not converted.
Is it safe to open a .xap?
Inspecting it as a ZIP is safe. The risk is only in executing the code inside; since there's no runtime left, that's largely moot - but still only handle XAPs from trusted sources.

References

1Microsoft Lifecycle - Silverlight end of support (Oct 12, 2021)learn.microsoft.com
2Library of Congress - Silverlight Application Package (XAP)www.loc.gov

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

.APKAndroid Package
.EXEWindows Executable (Portable Executable)
.VBSVBScript file (Visual Basic Script)
.JARJava Archive
.EX4MetaTrader 4 Compiled Program (Expert Advisor / Indicator / Script)
.APPXMicrosoft Windows App Package (AppX)

Free file tools

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

Open the toolbox

Browse file extensions A-Z