.WSP

WSP File

SharePoint Solution Package
Ask a question
QUICK ANSWER

A WSP file is a SharePoint Solution Package - a CAB-format archive containing compiled .NET assemblies, XML feature definitions, and ASPX templates for deploying custom functionality to a SharePoint farm. Deploy it with PowerShell (Add-SPSolution / Install-SPSolution) or SharePoint Central Administration. To inspect the contents without deploying, rename it to .cab and open with 7-Zip. WSP works only on on-premises SharePoint; SharePoint Online uses .sppkg instead.

Developer: Microsoft Category: Developer Files MIME: application/octet-stream
OPENS ON Windows
Related: .DO · .MD · .HEX · .XSD

On this page

19k+ extensions indexed
Last reviewed Aug 28, 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 WSP file format?

.wsp is a SharePoint Solution Package - a deployment file used to install custom features, assemblies, and templates into Microsoft SharePoint on-premises environments. Despite the .wsp extension, the file is a standard Microsoft Cabinet (.cab) archive, identifiable by the MSCF magic bytes (4D 53 43 46) at offset 0. Renaming a .wsp to .cab allows it to be inspected in Windows Explorer or with 7-Zip.

Inside the archive, a manifest.xml file acts as the root descriptor, declaring the solution identity, features, .NET assemblies (DLLs), ASPX/ASCX page templates, JavaScript, CSS, and image resources. Deployment is performed via PowerShell (Add-SPSolution then Install-SPSolution) or SharePoint Central Administration - not by opening the file directly.

Two solution types exist: farm solutions run with full trust and have unrestricted server access; sandbox solutions operated in a restricted process and are deprecated since SharePoint 2013 and unsupported in SharePoint Online. For SharePoint Online and Microsoft 365, the modern successor is the .sppkg SharePoint Framework package format.

Visual Studio generates .wsp files automatically when building SharePoint projects. The solution schema version declared in manifest.xml targets SharePoint 2007 through SharePoint Subscription Edition. .NET assemblies within the package carry Strong Name signatures for integrity verification.

Security & safety

RISK: MEDIUM

A WSP (farm solution) is a full-trust package that deploys compiled .NET assemblies to a SharePoint server. A malicious .wsp could contain code that runs as the application pool identity (often a domain service account). Never deploy a WSP from an untrusted source without reviewing the manifest.xml and DLL contents (use 7-Zip to inspect first, then check assemblies with a decompiler like ILSpy). Sandbox solutions are lower risk due to the sandboxed process, but are deprecated. SharePoint Online does not accept WSP files - only vetted .sppkg via the app catalog.

Format details

in a nutshell
FULL NAMESharePoint Solution Packageaka WSP solution, SharePoint WSP package
DEVELOPERMicrosoftsince Windows SharePoint Services 3.0 / SharePoint 2007
MIME TYPEapplication/octet-stream
TYPECAB-compressed deployment package for Microsoft SharePoint
This extension is also used by…
  • Microsoft Visual C++ Workspace Info File - Very old Visual C++ versions (pre-2000s) used .wsp for workspace state files; effectively obsolete and rarely encountered.
  • WordPerfect Macro/Workspace file - Older WordPerfect versions used .wsp for workspace or macro storage; legacy only.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4D534346
ASCII
MSCF
A .wsp file is a CAB archive; it starts with the 4-byte CAB signature "MSCF" (0x4D 0x53 0x43 0x46). This is identical to any Windows .cab file - the .wsp extension is the SharePoint-specific naming convention. Open as .cab with 7-Zip or Windows Explorer to inspect contents.

Programs that open WSP files

Windows4 apps
7-Zip Open-source Right-click the .wsp > Open archive (or rename to .cab first). Inspect the manifest.xml, DLLs and feature files without deploying.
Microsoft Visual Studio Paid Open or create a SharePoint Solution project; the Package Designer shows the WSP contents and allows modifications before re-packaging.
SharePoint (PowerShell) Built-in Add-SPSolution -LiteralPath solution.wsp; Install-SPSolution -Identity solution.wsp -WebApplication http://sitename. Run in SharePoint Management Shell on the server.
SharePoint Central Administration Built-in System Settings > Farm Solutions > Upload Solution - deploy the .wsp via the web UI (no PowerShell required).

Technical details

deep spec
Container formatMicrosoft Cabinet (CAB) - magic bytes 4D 53 43 46 (MSCF) at offset 0
Byte orderLittle-endian (CAB format standard)
CompressionMS-ZIP (DEFLATE-based) or LZX per-file entry within the CAB
Root descriptormanifest.xml - XML file declaring solution ID, features, .NET assembly paths, and file mappings
Assembly integrity.NET DLLs carry Strong Name signing (public key token) for integrity verification
Solution typesFarm solution (full trust, full server access) vs. sandbox solution (restricted process, deprecated in SharePoint 2019 and unsupported in SharePoint Online)
Deployment commandsAdd-SPSolution (registers to farm) then Install-SPSolution (activates deployment), via SharePoint Management Shell
Solution schema versionDeclared in manifest.xml; targets SharePoint 2007, 2010, 2013, 2016, 2019, or Subscription Edition
Typical contentsmanifest.xml, .NET DLLs, Feature XML definition files, ASPX/ASCX templates, JS/CSS/image resources
Typical file size10 KB - 500 MB (small feature to large enterprise farm solution)
Development toolMicrosoft Visual Studio SharePoint project type generates .wsp files via its Package system
Modern successor.sppkg (SharePoint Framework package) for SharePoint Online and Microsoft 365
MIME typeapplication/octet-stream (no registered MIME type; CAB content sometimes identified as application/x-cab)
ReleasedWindows SharePoint Services 3.0 / SharePoint 2007
Latest versionSharePoint Server Subscription Edition (2024) / SharePoint Online
Specificationlearn.microsoft.com

WSP conversions

Community Q&A

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

Frequently asked questions

How do I deploy a WSP file to SharePoint?
Run Add-SPSolution -LiteralPath solution.wsp in SharePoint Management Shell to add it to the farm, then Install-SPSolution -Identity solution.wsp -WebApplication http://yoursite to activate. Alternatively, use SharePoint Central Administration > System Settings > Farm Solutions.
How do I open a WSP file to see its contents?
Rename it to .cab and open with 7-Zip (or Windows Explorer). You'll see manifest.xml, any DLL assemblies, and feature/template files inside.
What's the difference between WSP and SPPKG?
WSP is the deployment format for on-premises SharePoint Server farm/sandbox solutions (2007-Subscription Edition). SPPKG is the SharePoint Framework package for SharePoint Online and modern on-premises. They are not compatible - WSP cannot be deployed to SharePoint Online.
How do I retract/remove a WSP from SharePoint?
Run Uninstall-SPSolution -Identity solution.wsp -WebApplication http://yoursite, then Remove-SPSolution -Identity solution.wsp. Or use Central Administration > Farm Solutions > select the solution > Retract.
Can I open a WSP file without a SharePoint server?
Yes for inspection only - rename to .cab and use 7-Zip to extract the contents. You cannot deploy or test it without a SharePoint server environment.
Is the WSP format still used?
Yes for on-premises SharePoint Server (2013/2016/2019/Subscription Edition). For SharePoint Online / Microsoft 365, the modern pattern is SPFx + .sppkg. New development should target SPFx when cloud is the target.

References

1Microsoft Learn - Packaging and Deploying SharePoint Solutions (Visual Studio)learn.microsoft.com
2Microsoft Learn - Creating SharePoint Solution Packageslearn.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.RPMSGRestricted Permission Message
7.BINCD/DVD Disc Image (BIN/CUE)
8.DBSQLite Database File
9.PARTPartial Download File
10.JSONJavaScript Object Notation file

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